/* Unlimit Group — site styles (extends tokens.css)
   Cinematic dark default with leaf accents. */

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: var(--fs-16);
  line-height: var(--lh-normal);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }

/* ---------- Cinematic dark default ---------- */
:root {
  --bg: var(--ug-black);
  --bg-elevated: #14181a;
  --bg-muted: #1a1f1d;
  --fg: #f3f5f3;
  --fg-muted: #a6afaa;
  --fg-subtle: #6f7873;
  --border: #232927;
  --border-strong: #2e3633;
  --accent: var(--ug-leaf-500);
  --brand: var(--ug-leaf-500);
}
[data-theme="light"] {
  --bg: var(--ug-paper);
  --bg-elevated: var(--ug-white);
  --bg-muted: var(--ug-ink-50);
  --fg: var(--ug-charcoal);
  --fg-muted: var(--ug-ink-600);
  --fg-subtle: var(--ug-ink-500);
  --border: var(--ug-ink-200);
  --border-strong: var(--ug-ink-300);
}

.wrap { max-width: 1320px; margin: 0 auto; padding: 0 32px; }
.wide { max-width: 1520px; margin: 0 auto; padding: 0 32px; }

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 500; letter-spacing: var(--tracking-tight); margin: 0; }
h1 { font-size: clamp(44px, 5.4vw, 84px); line-height: 1.0; letter-spacing: -0.025em; }
h2 { font-size: clamp(32px, 3.4vw, 52px); line-height: 1.06; }
h3 { font-size: clamp(22px, 1.6vw, 28px); line-height: 1.15; }
p { margin: 0; }
.eyebrow {
  font-family: var(--font-body); font-size: 11px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--fg-muted);
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--ug-leaf); box-shadow: 0 0 12px var(--ug-leaf-400); }
.lede { font-size: clamp(17px, 1.2vw, 19px); line-height: 1.55; color: var(--fg-muted); max-width: 640px; }
.serial { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-subtle); }
.leaf { color: var(--ug-leaf-400); font-style: normal; }

/* ---------- Utility / Nav ---------- */
.utility {
  background: rgba(0,0,0,0.45);
  border-bottom: 1px solid var(--border);
  font-size: 12px;
  color: var(--fg-muted);
  position: relative; z-index: 20;
}
[data-theme="light"] .utility { background: var(--ug-charcoal); color: rgba(255,255,255,0.8); border-bottom: none; }
.utility .wide { display: flex; align-items: center; gap: 18px; height: 38px; }
.utility a:hover { color: var(--ug-leaf-300); }
.utility .spacer { flex: 1; }
.utility .pipe { opacity: 0.4; }
.utility .lang { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.05em; }
.utility .lang button { background: none; border: none; color: inherit; font: inherit; padding: 4px 6px; opacity: 0.55; transition: opacity 120ms; }
.utility .lang button.active { opacity: 1; color: var(--ug-leaf-300); }
.utility .ticker { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.06em; }
.utility .ticker .sym { color: #fff; font-weight: 600; }
.utility .ticker .px { color: var(--ug-leaf-300); }
.utility .ticker .delta-pos { color: var(--ug-leaf-400); }
.utility .ticker .delta-neg { color: #d97a72; }

.nav {
  position: sticky; top: 0; z-index: 30;
  background: color-mix(in oklab, var(--bg) 78%, transparent);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav .wide { display: flex; align-items: center; gap: 28px; height: 76px; }
.nav .logo { display: inline-flex; align-items: center; }
.nav .logo img { height: 30px; }
.nav .links { display: flex; align-items: center; gap: 28px; margin-left: 12px; }
.nav .links a { font-size: 14px; color: var(--fg); padding: 8px 0; position: relative; opacity: 0.85; }
.nav .links a:hover { opacity: 1; color: var(--ug-leaf-300); }
.nav .links a.active { opacity: 1; }
.nav .links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -26px;
  height: 2px; background: var(--ug-leaf);
  box-shadow: 0 0 12px var(--ug-leaf-400);
}
.nav .right { margin-left: auto; display: flex; gap: 12px; align-items: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-weight: 600; font-size: 14px;
  padding: 13px 22px; border-radius: 999px;
  border: 1px solid transparent;
  transition: all 160ms var(--ease-out);
  line-height: 1; white-space: nowrap;
}
.btn-primary { background: var(--ug-leaf); color: var(--ug-forest-950); border-color: var(--ug-leaf); }
.btn-primary:hover { background: #fff; color: var(--ug-forest-950); border-color: #fff; box-shadow: 0 0 28px rgba(130,182,50,0.35); }
.btn-ghost { background: transparent; color: var(--fg); border-color: var(--border-strong); }
.btn-ghost:hover { background: rgba(255,255,255,0.04); border-color: var(--ug-leaf-400); color: #fff; }
[data-theme="light"] .btn-ghost { color: var(--fg); border-color: var(--border-strong); }
[data-theme="light"] .btn-ghost:hover { background: var(--ug-ink-50); color: var(--ug-forest); }
.btn-link { background: none; border: none; padding: 0; color: var(--fg); font-weight: 600; font-size: 14px; display: inline-flex; align-items: center; gap: 8px; }
.btn-link:hover { color: var(--ug-leaf-400); }
.btn .arrow { width: 14px; height: 14px; }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 120px 0 80px;
  overflow: hidden;
  background: var(--bg);
}
.hero h1 { max-width: min(720px, 54vw); }
@media (max-width: 1480px) { .hero h1 { max-width: 100%; } }
.hero .grid-bg {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(60% 50% at 75% 30%, rgba(130,182,50,0.10), transparent 70%),
    radial-gradient(80% 60% at 10% 80%, rgba(37,82,52,0.18), transparent 60%),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(255,255,255,0.025) 80px 81px),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,0.025) 80px 81px);
  pointer-events: none;
}
.hero .scan {
  position: absolute; left: 0; right: 0; top: 0; bottom: 0;
  pointer-events: none; overflow: hidden;
}
.hero .scan::before {
  content: ""; position: absolute; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--ug-leaf-400), transparent);
  box-shadow: 0 0 24px var(--ug-leaf-400);
  animation: scanline 9s linear infinite;
}
@keyframes scanline {
  0% { top: 0; opacity: 0; }
  8% { opacity: 0.6; }
  92% { opacity: 0.6; }
  100% { top: 100%; opacity: 0; }
}
.hero-inner { position: relative; z-index: 2; }
.hero-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 56px;
}
.hero-top .meta { display: flex; gap: 28px; align-items: center; flex-wrap: wrap; }
/* Keep the headline inside the column that doesn't collide with the .plate
 * image on the right. The earlier rule above sets max-width: min(720px, 54vw);
 * we keep it tight here too (was 1100px, which caused "Unmanned solutions." in
 * EN to bleed over the plate at 1480-1700px viewports). */
.hero h1 { color: #fff; max-width: min(720px, 54vw); }
.hero h1 .ghost { color: rgba(255,255,255,0.22); }
.hero .lede { font-size: clamp(18px, 1.4vw, 22px); color: rgba(255,255,255,0.78); max-width: 680px; margin: 36px 0 44px; }
[data-theme="light"] .hero h1 { color: var(--ug-charcoal); }
[data-theme="light"] .hero h1 .ghost { color: var(--ug-ink-300); }
[data-theme="light"] .hero .lede { color: var(--fg-muted); }
.hero .actions { display: flex; gap: 12px; align-items: center; }
.hero .stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 72px;
  border-top: 1px solid var(--border);
  max-width: min(720px, 54vw);
}
@media (max-width: 1480px) { .hero .stats { max-width: 100%; } }
.hero .stats .item {
  padding: 28px 28px 4px 0;
  border-right: 1px solid var(--border);
}
.hero .stats .item:last-child { border-right: none; }
.hero .stats .v {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(36px, 3.4vw, 52px); letter-spacing: -0.02em; color: #fff;
  line-height: 1;
}
[data-theme="light"] .hero .stats .v { color: var(--ug-charcoal); }
.hero .stats .l { margin-top: 14px; font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.hero .stats .item .leaf-bar { width: 28px; height: 2px; background: var(--ug-leaf); margin-top: 18px; }

/* Cinematic visual: "unmanned store" plate */
.hero .plate {
  position: absolute;
  right: 32px; top: 50%; transform: translateY(-50%);
  width: 38%; max-width: 560px;
  aspect-ratio: 4/5;
  border-radius: 28px;
  overflow: hidden;
  background: linear-gradient(165deg, #1a201d 0%, #0c0f0d 100%);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 60px 120px -30px rgba(0,0,0,0.6), inset 0 0 0 1px rgba(255,255,255,0.04);
}
.hero .plate img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.85;
  filter: grayscale(0.1) contrast(1.05) brightness(0.9);
}
.hero .plate .hud { position: absolute; inset: 0; pointer-events: none; }
.hero .plate .hud .corner {
  position: absolute; width: 28px; height: 28px;
  border: 1.5px solid var(--ug-leaf-400);
}
.hero .plate .hud .c-tl { top: 24px; left: 24px; border-right: none; border-bottom: none; }
.hero .plate .hud .c-tr { top: 24px; right: 24px; border-left: none; border-bottom: none; }
.hero .plate .hud .c-bl { bottom: 24px; left: 24px; border-right: none; border-top: none; }
.hero .plate .hud .c-br { bottom: 24px; right: 24px; border-left: none; border-top: none; }
.hero .plate .hud .reticule {
  position: absolute; top: 38%; left: 32%;
  width: 80px; height: 80px;
  border: 1.5px solid var(--ug-leaf-400);
  border-radius: 50%;
  box-shadow: 0 0 0 6px rgba(130,182,50,0.1), 0 0 24px rgba(130,182,50,0.5);
  animation: pulse 2.2s var(--ease-out) infinite;
}
.hero .plate .hud .reticule::before, .hero .plate .hud .reticule::after {
  content: ""; position: absolute; background: var(--ug-leaf-400);
}
.hero .plate .hud .reticule::before { left: 50%; top: -10px; bottom: -10px; width: 1px; transform: translateX(-50%); }
.hero .plate .hud .reticule::after { top: 50%; left: -10px; right: -10px; height: 1px; transform: translateY(-50%); }
.hero .plate .hud .label {
  position: absolute; top: 38%; left: calc(32% + 100px);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ug-leaf-300);
  white-space: nowrap;
}
.hero .plate .hud .label .v { color: #fff; }
.hero .plate .telemetry {
  position: absolute; left: 24px; bottom: 24px; right: 24px;
  display: flex; gap: 18px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
}
.hero .plate .telemetry .k { color: var(--ug-leaf-400); }
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 6px rgba(130,182,50,0.08), 0 0 24px rgba(130,182,50,0.5); }
  50% { box-shadow: 0 0 0 12px rgba(130,182,50,0.18), 0 0 36px rgba(130,182,50,0.7); }
}

/* Hide plate at intermediate widths where it would collide with headline */
@media (max-width: 1480px) { .hero .plate { display: none; } }

/* ---------- Marquee strip ---------- */
.marquee {
  border-block: 1px solid var(--border);
  padding: 24px 0;
  overflow: hidden;
  background: var(--bg);
}
.marquee .track {
  display: flex; gap: 64px; align-items: center;
  animation: marquee 40s linear infinite;
  width: max-content;
}
.marquee .track span {
  font-family: var(--font-display); font-size: 22px; font-weight: 500;
  color: var(--fg-muted); letter-spacing: -0.01em;
  display: inline-flex; align-items: center; gap: 64px;
}
.marquee .track span::after { content: "·"; color: var(--ug-leaf-400); font-size: 28px; }
@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Sections ---------- */
.section { padding: 120px 0; position: relative; }
.section.compact { padding: 100px 0; }
.section .head { margin-bottom: 64px; max-width: 980px; }
.section .head .eyebrow { margin-bottom: 24px; }
.section .head h2 { margin-bottom: 20px; text-wrap: balance; }

/* ---------- Technology / Ecosystem ---------- */
.tech { position: relative; overflow: hidden; }
.tech .grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(130,182,50,0.08), transparent 70%),
    radial-gradient(60% 50% at 10% 90%, rgba(37,82,52,0.18), transparent 65%);
}
.tech .wrap { position: relative; z-index: 1; }
.tech .head { max-width: 920px; margin-bottom: 56px; }
.tech .ecosystem {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 56px;
  align-items: center;
}
.tech .diagram-wrap {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 24px;
  background:
    radial-gradient(70% 60% at 50% 50%, rgba(130,182,50,0.05), transparent 70%),
    var(--bg-elevated);
  padding: 32px;
  overflow: hidden;
}
.tech .diagram-wrap::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, transparent 0 32px, rgba(255,255,255,0.022) 32px 33px),
    repeating-linear-gradient(90deg, transparent 0 32px, rgba(255,255,255,0.022) 32px 33px);
  pointer-events: none;
}
.tech .diagram-wrap svg.eco { display: block; width: 100%; height: auto; position: relative; z-index: 1; }
.tech .diagram-wrap .meta {
  position: relative; z-index: 2;
  margin-top: 18px;
  display: flex; gap: 18px; flex-wrap: wrap;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted);
}
.tech .diagram-wrap .meta .k { color: var(--ug-leaf-400); }

.tech .ecosystem .copy h2 { margin-bottom: 22px; max-width: 540px; }
.tech .ecosystem .copy .lede { margin-bottom: 36px; }
.tech .pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0;
  border-top: 1px solid var(--border);
}
.tech .pillar {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex; gap: 14px; align-items: start;
}
.tech .pillar:nth-child(odd) { padding-right: 24px; border-right: 1px solid var(--border); }
.tech .pillar:nth-child(even) { padding-left: 24px; }
.tech .pillar .ico {
  flex-shrink: 0; width: 32px; height: 32px;
  border-radius: 8px;
  background: color-mix(in oklab, var(--ug-leaf) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--ug-leaf) 30%, transparent);
  color: var(--ug-leaf-400);
  display: inline-flex; align-items: center; justify-content: center;
}
.tech .pillar .ico svg { width: 16px; height: 16px; }
.tech .pillar .t { font-size: 14px; font-weight: 600; color: var(--fg); }
.tech .pillar .s { font-size: 12px; color: var(--fg-muted); line-height: 1.5; margin-top: 4px; }
.tech .built {
  margin-top: 32px;
  display: inline-flex; align-items: center; gap: 14px;
  padding: 14px 20px;
  border-radius: 999px;
  background: var(--ug-forest);
  color: #fff;
  font-size: 13px;
}
.tech .built .leaf-dot { width: 8px; height: 8px; border-radius: 999px; background: var(--ug-leaf-400); box-shadow: 0 0 12px var(--ug-leaf-400); }
.tech .built strong { font-family: var(--font-display); font-weight: 500; font-size: 16px; letter-spacing: -0.01em; }

/* SVG diagram pieces */
.eco-core-bg { fill: url(#coreGrad); stroke: rgba(156,199,82,0.4); stroke-width: 1; }
.eco-core-halo { fill: none; stroke: rgba(156,199,82,0.15); stroke-width: 1; }
.eco-core-halo.r2 { stroke: rgba(156,199,82,0.08); }
.eco-link { stroke: rgba(156,199,82,0.45); stroke-width: 1.2; fill: none; stroke-dasharray: 4 6; }
.eco-node { fill: rgba(20,24,26,0.92); stroke: var(--border-strong); stroke-width: 1; }
[data-theme="light"] .eco-node { fill: var(--bg-elevated); }
.eco-node-icon-bg { fill: rgba(130,182,50,0.18); stroke: rgba(130,182,50,0.4); stroke-width: 1; }
.eco-node-icon { fill: none; stroke: var(--ug-leaf-400); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.eco-node-label { fill: var(--fg); font-family: var(--font-body); font-size: 14px; font-weight: 500; }
.eco-core-mark { fill: var(--ug-leaf-300); font-family: var(--font-mono); font-size: 9px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; }
.eco-core-name { fill: #fff; font-family: var(--font-display); font-size: 30px; font-weight: 600; letter-spacing: -0.5px; }
.eco-core-sub { fill: rgba(255,255,255,0.55); font-family: var(--font-body); font-size: 11px; letter-spacing: 0.5px; font-style: italic; }

@media (max-width: 1100px) {
  .tech .ecosystem { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .tech .pillars { grid-template-columns: 1fr; }
  .tech .pillar:nth-child(odd) { padding-right: 0; border-right: none; }
  .tech .pillar:nth-child(even) { padding-left: 0; }
}

/* ---------- Showcase (horizontal scroll) ---------- */
.showcase { padding: 140px 0 100px; overflow: hidden; }
.showcase .head { padding: 0 32px; max-width: 1520px; margin: 0 auto 48px; display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.showcase .head-left { max-width: 720px; }
.showcase .head .eyebrow { margin-bottom: 24px; }
.showcase .scroller-wrap { position: relative; }
.showcase .scroller {
  display: grid; grid-auto-flow: column;
  grid-auto-columns: 560px;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 0 calc((100vw - 1520px) / 2 + 32px) 24px;
  scrollbar-width: none;
}
@media (max-width: 1584px) { .showcase .scroller { padding-left: 32px; padding-right: 32px; } }
.showcase .scroller::-webkit-scrollbar { display: none; }
.case {
  scroll-snap-align: start;
  position: relative;
  height: 680px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  isolation: isolate;
}
.case .photo {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  filter: brightness(0.78) saturate(1.05);
  transition: transform 600ms var(--ease-out);
}
.case:hover .photo { transform: scale(1.04); }
.case .scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.92) 100%);
}
.case .top {
  position: absolute; top: 24px; left: 24px; right: 24px;
  display: flex; justify-content: space-between; align-items: center;
  color: rgba(255,255,255,0.85);
}
.case .top .tag {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  padding: 6px 10px; border-radius: 999px;
  background: rgba(0,0,0,0.45); backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
}
.case .top .idx { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; color: rgba(255,255,255,0.6); }
.case .body {
  position: absolute; left: 28px; right: 28px; bottom: 28px;
  color: #fff;
}
.case .body .eb {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ug-leaf-300); margin-bottom: 14px;
}
.case .body h3 { font-size: 36px; line-height: 1.02; color: #fff; margin-bottom: 12px; max-width: 460px; }
.case .body p { color: rgba(255,255,255,0.78); font-size: 15px; line-height: 1.5; max-width: 440px; }
.case .body .kpis {
  /* Equal-width 3-column grid so the KPIs span the full width of the card
     below the description, with crisp vertical dividers between cells —
     reads as an editorial stats block rather than a left-aligned list. */
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  margin-top: 28px;
  padding-top: 22px;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.case .body .kpis > div {
  text-align: center;
  padding: 0 12px;
  border-left: 1px solid rgba(255,255,255,0.12);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.case .body .kpis > div:first-child {
  border-left: none;
  padding-left: 0;
  align-items: flex-start;
  text-align: left;
}
.case .body .kpis > div:last-child {
  padding-right: 0;
  align-items: flex-end;
  text-align: right;
}
.case .body .kpis .v {
  font-family: var(--font-display); font-size: 28px; color: #fff;
  font-weight: 500; letter-spacing: -0.015em; line-height: 1;
}
.case .body .kpis .l {
  font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255,255,255,0.6); margin-top: 8px;
  white-space: nowrap;
}

.showcase .controls { display: flex; gap: 8px; align-items: center; }
.showcase .ctrl-btn {
  width: 48px; height: 48px;
  border-radius: 999px; border: 1px solid var(--border-strong);
  background: transparent; color: var(--fg);
  display: inline-flex; align-items: center; justify-content: center;
  transition: all 160ms var(--ease-out);
}
.showcase .ctrl-btn:hover { border-color: var(--ug-leaf-400); color: var(--ug-leaf-300); }
.showcase .ctrl-btn svg { width: 18px; height: 18px; }
.showcase .progress { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; color: var(--fg-muted); margin-right: 12px; }

/* ---------- Offering (toggle) ---------- */
.offering { background: var(--bg-muted); }
[data-theme="light"] .offering { background: var(--ug-paper); }
.offering .toggle {
  display: inline-flex;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 5px;
  margin-bottom: 56px;
}
.offering .toggle button {
  background: none; border: none; color: var(--fg-muted);
  padding: 12px 24px; border-radius: 999px;
  font: inherit; font-weight: 600; font-size: 14px;
  transition: all 160ms var(--ease-out);
  display: inline-flex; align-items: center; gap: 10px;
}
.offering .toggle button.active {
  background: var(--ug-forest);
  color: #fff;
}
.offering .toggle button.active .dot { background: var(--ug-leaf-400); }
.offering .toggle .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--fg-subtle); }

.offering .grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  align-items: start;
}
.offering .pitch h2 { margin-bottom: 24px; }
.offering .pitch .lede { margin-bottom: 32px; }
.offering .pitch .bullets { list-style: none; padding: 0; margin: 0 0 36px; display: flex; flex-direction: column; gap: 16px; }
.offering .pitch .bullets li {
  display: flex; gap: 16px; align-items: start;
  padding-bottom: 16px; border-bottom: 1px solid var(--border);
}
.offering .pitch .bullets li:last-child { border-bottom: none; }
.offering .pitch .bullets .ico {
  flex-shrink: 0; width: 36px; height: 36px;
  border-radius: 10px;
  background: color-mix(in oklab, var(--ug-leaf) 16%, transparent);
  border: 1px solid color-mix(in oklab, var(--ug-leaf) 32%, transparent);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ug-leaf-400);
}
.offering .pitch .bullets .ico svg { width: 18px; height: 18px; }
.offering .pitch .bullets .text strong { display: block; color: var(--fg); margin-bottom: 4px; }
.offering .pitch .bullets .text span { font-size: 14px; color: var(--fg-muted); line-height: 1.55; }

.offering .visual {
  position: sticky; top: 100px;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: var(--bg-elevated);
  aspect-ratio: 4/5;
  display: flex; flex-direction: column;
}
.offering .visual .photo {
  flex: 1; position: relative; overflow: hidden;
}
.offering .visual .photo img { width: 100%; height: 100%; object-fit: cover; }
.offering .visual .meta {
  padding: 22px 24px;
  border-top: 1px solid var(--border);
  display: flex; gap: 18px; flex-wrap: wrap;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.1em;
  color: var(--fg-muted);
}
.offering .visual .meta .k { color: var(--ug-leaf-400); }
.offering .visual .meta span { display: inline-flex; gap: 6px; }

/* ---------- Contact ---------- */
.contact { position: relative; overflow: hidden; }
.contact .grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 80px; align-items: start; }
.contact h2 { font-size: clamp(48px, 5vw, 80px); line-height: 0.98; }
.contact .form {
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 36px;
  display: flex; flex-direction: column; gap: 18px;
}
.contact .form label { display: flex; flex-direction: column; gap: 8px; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.contact .form input, .contact .form select, .contact .form textarea {
  font: inherit; font-size: 15px; color: var(--fg);
  background: transparent;
  border: none; border-bottom: 1px solid var(--border-strong);
  padding: 10px 0;
  outline: none;
  transition: border-color 160ms var(--ease-out);
}
.contact .form select, .contact .form select option {
  color: var(--fg);
  background: var(--bg-elevated);
}
.contact .form select option { background: var(--bg-elevated); color: var(--fg); }
.contact .form input:focus, .contact .form select:focus, .contact .form textarea:focus { border-color: var(--ug-leaf-400); }
.contact .form textarea { resize: vertical; min-height: 90px; }
.contact .form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact .form .submit { margin-top: 12px; align-self: start; }
.contact .info { display: flex; flex-direction: column; gap: 28px; margin-top: 36px; }
.contact .info .row { display: flex; gap: 14px; align-items: start; }
.contact .info .ico {
  width: 36px; height: 36px; border-radius: 10px;
  border: 1px solid var(--border-strong);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ug-leaf-400);
}
.contact .info .ico svg { width: 16px; height: 16px; }
.contact .info .k { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.contact .info .v { font-size: 16px; color: var(--fg); margin-top: 4px; font-family: var(--font-mono); letter-spacing: -0.01em; }
.contact .admin-link {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 28px;
  font-family: var(--font-mono); font-size: 11px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-subtle); text-decoration: none;
  padding: 8px 12px; border-radius: 999px;
  border: 1px solid var(--border);
  transition: all 160ms var(--ease-out);
  align-self: flex-start;
}
.contact .admin-link:hover { color: var(--ug-leaf-300); border-color: var(--ug-leaf-400); }
.form-toast {
  display: flex; gap: 10px; align-items: flex-start;
  padding: 12px 14px; border-radius: 10px;
  font-size: 13px; line-height: 1.5;
  margin-top: 4px;
}
.form-toast.ok {
  background: color-mix(in oklab, var(--ug-leaf) 14%, transparent);
  border: 1px solid color-mix(in oklab, var(--ug-leaf) 36%, transparent);
  color: var(--ug-leaf-200, #cfe6a0);
}
.form-toast.info {
  background: rgba(82,138,200,0.12);
  border: 1px solid rgba(82,138,200,0.32);
  color: #b8d4ed;
}
.form-toast svg { flex-shrink: 0; margin-top: 2px; }
.contact .form button.submit[disabled] { opacity: 0.6; cursor: progress; }

/* ---------- Footer ---------- */
.footer { background: var(--ug-black); color: rgba(255,255,255,0.7); padding: 72px 0 28px; border-top: 1px solid var(--border); }
[data-theme="light"] .footer { background: var(--ug-charcoal); }
.footer .cols { display: grid; grid-template-columns: 1.5fr repeat(4, 1fr); gap: 40px; }
.footer .brand img { height: 30px; margin-bottom: 18px; }
.footer .brand p { color: rgba(255,255,255,0.55); max-width: 280px; }
.footer h4 { font-family: var(--font-body); font-size: 11px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.45); margin-bottom: 14px; }
.footer a { display: block; padding: 4px 0; font-size: 14px; color: rgba(255,255,255,0.75); }
.footer a:hover { color: var(--ug-leaf-300); }
.footer .legal {
  margin-top: 56px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px;
  color: rgba(255,255,255,0.45);
  font-size: 12px;
  font-family: var(--font-mono);
}
.footer .legal .right { display: flex; gap: 18px; }

/* ---------- Investor Relations ---------- */
.ir-hero {
  padding: 88px 0 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative; overflow: hidden;
}
.ir-hero .grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(50% 40% at 80% 30%, rgba(130,182,50,0.07), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 80px, rgba(255,255,255,0.02) 80px 81px),
    repeating-linear-gradient(90deg, transparent 0 80px, rgba(255,255,255,0.02) 80px 81px);
}
.ir-hero .wide { position: relative; z-index: 1; }
.ir-hero .row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: end; }
.ir-hero h1 {
  font-size: clamp(40px, 3.6vw, 56px);
  color: var(--fg);
  margin-bottom: 22px;
  line-height: 1.02;
  letter-spacing: -0.025em;
}
.ir-hero h1 br { /* explicit line break — keep it visible regardless of viewport */ }
.ir-hero .lede { color: var(--fg-muted); }

/* Share price card */
.ticker-card {
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 22px 24px 18px;
  background: var(--bg-elevated);
  position: relative;
  overflow: hidden;
}
.ticker-card .badge-placeholder {
  display: inline-flex; align-self: flex-start;
  font-family: var(--font-mono); font-size: 9px;
  letter-spacing: 0.16em; color: var(--ug-leaf-500);
  background: color-mix(in oklab, var(--ug-leaf) 12%, transparent);
  border: 1px dashed color-mix(in oklab, var(--ug-leaf) 38%, transparent);
  padding: 4px 8px; border-radius: 4px;
  margin-bottom: 12px;
}
.ticker-card .head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.ticker-card .sym { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.14em; color: var(--fg-muted); }
.ticker-card .px-row { display: flex; align-items: baseline; gap: 14px; }
.ticker-card .px { font-family: var(--font-display); font-size: 48px; font-weight: 500; color: var(--fg); letter-spacing: -0.02em; line-height: 1; }
.ticker-card .delta { font-family: var(--font-mono); font-size: 14px; color: var(--ug-leaf-400); }
.ticker-card .delta-neg { color: #d97a72; }
.ticker-card .chart { margin-top: 22px; height: 72px; }
.ticker-card .meta-row { margin-top: 18px; display: flex; gap: 28px; flex-wrap: wrap; }
.ticker-card .meta-row .k { font-size: 10px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--fg-muted); }
.ticker-card .meta-row .v { font-family: var(--font-mono); font-size: 13px; color: var(--fg); margin-top: 4px; }

/* IR section tabs */
.ir-tabs {
  position: sticky; top: 76px; z-index: 25;
  background: color-mix(in oklab, var(--bg) 85%, transparent);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.ir-tabs .wide { display: flex; gap: 4px; padding: 0 32px; overflow-x: auto; scrollbar-width: none; }
.ir-tabs .wide::-webkit-scrollbar { display: none; }
.ir-tabs a {
  font-size: 13px; font-weight: 500;
  padding: 18px 18px;
  color: var(--fg-muted);
  position: relative;
  white-space: nowrap;
  transition: color 160ms var(--ease-out);
}
.ir-tabs a:hover { color: var(--fg); }
.ir-tabs a.active { color: var(--fg); }
.ir-tabs a.active::after {
  content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px;
  height: 2px; background: var(--ug-leaf);
}

/* Tradingview widget container */
.tv-widget {
  width: 100%;
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 16px;
  min-height: 360px;
  position: relative;
}
.tv-widget .tv-header {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.tv-widget .tv-header .live { color: var(--ug-leaf-400); display: inline-flex; align-items: center; gap: 6px; }
.tv-widget .tv-header .live .pulse { width: 6px; height: 6px; border-radius: 999px; background: var(--ug-leaf-400); box-shadow: 0 0 10px var(--ug-leaf-400); animation: pulse2 1.4s var(--ease-out) infinite; }
.tv-widget .tv-frame { width: 100%; height: 320px; border-radius: 12px; overflow: hidden; background: var(--bg-muted); }
.tv-widget .tv-footer { margin-top: 12px; font-size: 11px; color: var(--fg-subtle); display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.tv-widget .tv-footer a { color: var(--ug-leaf-400); }

/* News feed */
.news .head { display: flex; justify-content: space-between; align-items: end; gap: 32px; flex-wrap: wrap; margin-bottom: 48px; }
.news .filters { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.news .filter {
  font: inherit; font-size: 12px; font-weight: 500;
  padding: 8px 14px; border-radius: 999px;
  border: 1px solid var(--border-strong); background: transparent; color: var(--fg-muted);
  transition: all 160ms var(--ease-out);
}
.news .filter:hover { color: var(--fg); border-color: var(--fg-muted); }
.news .filter.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }
.news .live-pill {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--ug-leaf-300);
  padding: 6px 12px; border-radius: 999px;
  background: color-mix(in oklab, var(--ug-leaf) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--ug-leaf) 30%, transparent);
}
.news .live-pill .pulse {
  width: 6px; height: 6px; border-radius: 999px; background: var(--ug-leaf-400);
  box-shadow: 0 0 10px var(--ug-leaf-400);
  animation: pulse2 1.4s var(--ease-out) infinite;
}
@keyframes pulse2 {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.7); }
}
.news .list { display: flex; flex-direction: column; }
.news .item {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
  transition: padding 160ms var(--ease-out), background 160ms var(--ease-out);
  cursor: pointer;
}
.news .item .content { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.news .item .meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.news .item:hover { padding-left: 16px; padding-right: 16px; background: var(--bg-elevated); }
.news .item .date { font-family: var(--font-mono); font-size: 12px; color: var(--fg-muted); letter-spacing: 0.04em; }
.news .item .cat {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--ug-leaf-300);
  padding: 4px 8px; border-radius: 4px;
  background: color-mix(in oklab, var(--ug-leaf) 12%, transparent);
  border: 1px solid color-mix(in oklab, var(--ug-leaf) 28%, transparent);
  justify-self: start;
  white-space: nowrap;
}
.news .item .cat-financial { color: #82b9d6; background: rgba(29,111,184,0.12); border-color: rgba(29,111,184,0.32); }
.news .item .cat-insider { color: #d6b482; background: rgba(201,138,28,0.12); border-color: rgba(201,138,28,0.32); }
.news .item .title { font-size: 17px; color: var(--fg); font-weight: 500; line-height: 1.35; }
.news .item .arrow-cell { color: var(--fg-subtle); }
.news .item:hover .arrow-cell { color: var(--ug-leaf-400); transform: translateX(4px); }
.news .item .arrow-cell svg { width: 18px; height: 18px; transition: transform 160ms; }

/* Skeleton state while initial page is loading from GlobeNewswire */
.news .item.skeleton { cursor: default; pointer-events: none; }
.news .item.skeleton:hover { padding-left: 0; padding-right: 0; background: transparent; }
.news .item.skeleton .sk-bar {
  display: inline-block; height: 12px; border-radius: 4px;
  background: linear-gradient(90deg,
    color-mix(in oklab, var(--fg) 6%, transparent),
    color-mix(in oklab, var(--fg) 12%, transparent),
    color-mix(in oklab, var(--fg) 6%, transparent));
  background-size: 300% 100%;
  animation: sk-shimmer 1.4s linear infinite;
}
@keyframes sk-shimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }

/* Inline pulse dot used in "Loading more…" footer */
.news .pulse-mono {
  display: inline-block; width: 6px; height: 6px; border-radius: 999px;
  background: var(--ug-leaf-400); margin-right: 8px; vertical-align: middle;
  animation: pulse-dot 1.2s var(--ease-out) infinite;
}
@keyframes pulse-dot { 0%, 100% { opacity: 1; } 50% { opacity: 0.35; } }
.news .empty {
  padding: 48px;
  text-align: center;
  color: var(--fg-muted);
  border: 1px dashed var(--border-strong);
  border-radius: 16px;
}
.news .api-note {
  margin-top: 32px;
  padding: 16px 20px;
  border-radius: 12px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  font-size: 13px;
  color: var(--fg-muted);
  display: flex; gap: 12px; align-items: center;
}
.news .api-note code {
  font-family: var(--font-mono); font-size: 12px;
  color: var(--ug-leaf-300);
  background: var(--bg-muted);
  padding: 2px 6px; border-radius: 4px;
}

/* Leadership / Board */
.people .group-label { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); margin-bottom: 28px; padding-bottom: 16px; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }
.people .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-bottom: 80px; }
.people .grid.board { grid-template-columns: repeat(3, 1fr); }
/* Two-up centered variant — used for the management team (CEO + CFO). Cards
   are sized to match the board grid's individual card width so management +
   board read as a single visual rhythm: two centered cards on top, three
   below, with no awkward empty cell. */
.people .grid.duo {
  grid-template-columns: repeat(2, minmax(0, 400px));
  justify-content: center;
  gap: 28px;
}
.person {
  display: flex; flex-direction: column; gap: 0;
  height: 100%;
}
.person .avatar {
  width: 100%; aspect-ratio: 4/5;
  border-radius: 14px;
  background: var(--bg-elevated);
  background-size: cover; background-position: center top;
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  /* Editorial monochrome — keeps all five portraits (mix of colour and B&W
     originals) reading as a single visual family. Restored to colour on hover. */
  filter: grayscale(0.95) contrast(1.05) brightness(0.96);
  transition: filter 240ms var(--ease-out);
}
.person:hover .avatar { filter: grayscale(0) contrast(1.04) brightness(1); }
.person .avatar img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center 20%;
  display: block;
}
.person .avatar::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(0,0,0,0.55) 100%);
}
.person .placeholder-mono {
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-size: 64px; color: var(--fg-subtle);
  font-weight: 500;
}
.person .name { font-family: var(--font-display); font-size: 20px; font-weight: 500; color: var(--fg); margin-top: 18px; letter-spacing: -0.01em; }
.person .role { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.person .bio { font-size: 13px; color: var(--fg-muted); margin-top: 12px; line-height: 1.55; }
.person .regs {
  /* Push to bottom — so the regulatory block aligns across cards even when
     bios above are different lengths. */
  margin: 16px 0 0;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  display: flex; flex-direction: column; gap: 8px;
}
.person .regs > div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px; align-items: baseline;
}
.person .regs dt {
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-subtle);
  font-family: var(--font-body);
  font-weight: 500;
}
.person .regs dd {
  margin: 0;
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--fg);
  text-align: right;
  letter-spacing: -0.01em;
}
.person .regs .indep {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 999px;
  border: 1px solid;
  text-align: center;
}
.person .regs .indep.independent {
  color: var(--ug-leaf-300);
  background: color-mix(in oklab, var(--ug-leaf) 12%, transparent);
  border-color: color-mix(in oklab, var(--ug-leaf) 32%, transparent);
}
.person .regs .indep.dependent {
  color: #d6b482;
  background: rgba(201,138,28,0.12);
  border-color: rgba(201,138,28,0.32);
}

/* Reports */
.reports .head { margin-bottom: 40px; }
.reports .tabs { display: flex; gap: 6px; padding: 5px; background: var(--bg-elevated); border-radius: 999px; border: 1px solid var(--border); margin-bottom: 36px; flex-wrap: wrap; align-self: start; display: inline-flex; }
.reports .tab { font: inherit; font-size: 13px; font-weight: 500; padding: 10px 18px; border-radius: 999px; background: none; border: none; color: var(--fg-muted); }
.reports .tab.active { background: var(--ug-forest); color: #fff; }
.reports .grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.report-card {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated);
  padding: 24px;
  display: flex; flex-direction: column; gap: 16px;
  transition: all 160ms var(--ease-out);
  cursor: pointer;
}
.report-card:hover { border-color: var(--ug-leaf-400); transform: translateY(-2px); box-shadow: 0 24px 48px -16px rgba(0,0,0,0.5); }
.report-card .cover {
  aspect-ratio: 5/7;
  border-radius: 8px;
  background: linear-gradient(160deg, var(--ug-forest-900) 0%, var(--ug-charcoal) 100%);
  position: relative; overflow: hidden;
  border: 1px solid var(--border);
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 18px;
  color: #fff;
}
.report-card .cover::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(60% 40% at 80% 20%, rgba(130,182,50,0.18), transparent 70%),
    repeating-linear-gradient(0deg, transparent 0 40px, rgba(255,255,255,0.03) 40px 41px);
}
.report-card .cover .year { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; color: var(--ug-leaf-300); position: relative; }
.report-card .cover .title { font-family: var(--font-display); font-size: 22px; font-weight: 500; line-height: 1.05; letter-spacing: -0.01em; position: relative; }
.report-card .cover .mark { font-family: var(--font-display); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; opacity: 0.5; position: relative; }
.report-card .meta { display: flex; justify-content: space-between; align-items: center; }
.report-card .meta .type { font-family: var(--font-mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.report-card .meta .size { font-family: var(--font-mono); font-size: 10px; color: var(--fg-subtle); }
.report-card .name { font-size: 15px; color: var(--fg); font-weight: 500; line-height: 1.3; }
.report-card .dl { display: inline-flex; align-items: center; gap: 6px; color: var(--ug-leaf-400); font-size: 12px; font-weight: 600; }
.report-card .dl svg { width: 14px; height: 14px; }

/* Governance / Articles of Association */
.governance { background: var(--bg-muted); }
.governance .grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.governance .docs { display: flex; flex-direction: column; gap: 10px; }
.gov-doc {
  display: flex; align-items: center; gap: 16px;
  padding: 18px 20px;
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: all 160ms var(--ease-out);
  cursor: pointer;
}
.gov-doc:hover { border-color: var(--ug-leaf-400); transform: translateX(4px); }
.gov-doc.is-placeholder {
  /* Document hasn't been uploaded yet — render dimmed and non-clickable. */
  opacity: 0.55;
  cursor: default;
  pointer-events: none;
  border-style: dashed;
}
.gov-doc.is-placeholder:hover { transform: none; border-color: var(--border); }
.gov-doc .coming {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--fg-muted);
  padding: 4px 10px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  white-space: nowrap;
}
.gov-doc .pill-mini {
  display: inline-block;
  margin-left: 10px;
  font-family: var(--font-mono);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--fg-muted);
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  vertical-align: 2px;
}
.gov-doc .ico {
  width: 40px; height: 40px; border-radius: 8px;
  background: var(--bg-muted);
  border: 1px solid var(--border);
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ug-leaf-400);
  flex-shrink: 0;
}
.gov-doc .ico svg { width: 18px; height: 18px; }
.gov-doc .meta { flex: 1; }
.gov-doc .name { font-size: 15px; color: var(--fg); font-weight: 500; }
.gov-doc .sub { font-size: 12px; color: var(--fg-muted); font-family: var(--font-mono); letter-spacing: 0.06em; margin-top: 4px; }
.gov-doc .arrow { color: var(--fg-subtle); }
.gov-doc:hover .arrow { color: var(--ug-leaf-400); }

.governance .key-facts { background: var(--bg-elevated); border: 1px solid var(--border); border-radius: 18px; padding: 32px; }
.governance .key-facts h3 { margin-bottom: 24px; }
.governance .key-facts dl { display: grid; grid-template-columns: 1fr; gap: 0; margin: 0; }
.governance .key-facts dl > div { padding: 16px 0; border-bottom: 1px solid var(--border); display: grid; grid-template-columns: 1fr 1.4fr; gap: 24px; align-items: baseline; }
.governance .key-facts dl > div:last-child { border-bottom: none; }
.governance .key-facts dt { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--fg-muted); }
.governance .key-facts dd { margin: 0; font-family: var(--font-mono); font-size: 14px; color: var(--fg); }

/* Calendar */
.calendar .list { display: flex; flex-direction: column; gap: 0; }
.calendar .row {
  display: grid; grid-template-columns: 160px 1fr 160px;
  gap: 32px; align-items: center;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}
.calendar .row .date { font-family: var(--font-display); font-size: 24px; font-weight: 500; color: var(--fg); letter-spacing: -0.01em; }
.calendar .row .date .y { color: var(--fg-subtle); font-size: 13px; font-family: var(--font-mono); letter-spacing: 0.1em; display: block; margin-top: 4px; }
.calendar .row .event { font-size: 16px; color: var(--fg); }
.calendar .row .event .sub { font-size: 13px; color: var(--fg-muted); margin-top: 4px; }
.calendar .row .status {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted); justify-self: end;
}
.calendar .row .status.upcoming { color: var(--ug-leaf-400); }

/* Tweaks panel adjustments */
.tweaks-shim { display: none; }

/* ---------- Mobile hamburger button (hidden by default) ---------- */
.nav .menu-toggle {
  display: none;
  width: 44px; height: 44px;
  align-items: center; justify-content: center;
  background: transparent; border: 1px solid var(--border-strong);
  border-radius: 12px; color: var(--fg);
  margin-left: auto;
  flex-shrink: 0;
}
.nav .menu-toggle svg { width: 22px; height: 22px; }
.nav .menu-toggle:hover { border-color: var(--ug-leaf-400); color: var(--ug-leaf-300); }

@media (max-width: 960px) {
  .hero .stats { grid-template-columns: repeat(2, 1fr); }
  .hero .stats .item { border-right: none; padding: 20px 0; border-bottom: 1px solid var(--border); }
  .offering .grid { grid-template-columns: 1fr; }
  .offering .visual { position: relative; top: 0; aspect-ratio: 4/3; max-width: 100%; }
  .contact .grid { grid-template-columns: 1fr; gap: 40px; }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .ir-hero .row { grid-template-columns: 1fr; gap: 32px; }
  .people .grid, .people .grid.board { grid-template-columns: repeat(2, 1fr); }
  .reports .grid { grid-template-columns: 1fr; }
  .governance .grid { grid-template-columns: 1fr; }
  .case { height: 540px; }
  .showcase .scroller { grid-auto-columns: 86%; }
  .infrastructure .head { grid-template-columns: 1fr; }
  .infrastructure .infra-grid { grid-template-columns: 1fr !important; }
  .infrastructure .infra-foot { flex-direction: column; align-items: flex-start; gap: 20px; }
}

/* ---------- TABLET & PHONE (≤ 860px) ---------- */
@media (max-width: 860px) {
  /* Tighter gutters */
  .wrap, .wide { padding: 0 20px; }

  /* Section spacing — desktop's 120px is overwhelming on small screens */
  .section { padding: 72px 0; }
  .section .head { margin-bottom: 40px; }
  .section .head h2 { margin-bottom: 14px; }

  /* Typography — keep things readable but compact */
  h1 { font-size: clamp(38px, 9vw, 56px) !important; line-height: 1.04 !important; }
  h2 { font-size: clamp(28px, 6vw, 42px) !important; line-height: 1.08 !important; }
  h3 { font-size: clamp(20px, 4.4vw, 26px) !important; }
  .lede { font-size: 16px !important; line-height: 1.55 !important; }

  /* Utility bar: drop phone/email, keep only the language switcher */
  .utility .wide { height: 36px; gap: 10px; justify-content: flex-end; }
  .utility .wide > span:not(.lang):not(.spacer) { display: none; }
  .utility .pipe { display: none; }
  .utility .spacer { display: none; }

  /* Nav: hide inline links + ghost button; show hamburger */
  .nav .wide { height: 64px; gap: 12px; }
  .nav .logo img { height: 26px; }
  .nav .links { display: none; }
  .nav .right .btn-ghost { display: none; }
  .nav .right { margin-left: 0; }
  .nav .right .btn-primary { padding: 10px 14px; font-size: 13px; }
  .nav .menu-toggle { display: inline-flex; }

  /* Full-screen popout drawer — sized to fit without scrolling */
  .nav.open .links {
    display: flex; flex-direction: column;
    position: fixed; inset: 0;
    height: 100vh;
    height: 100dvh;
    background:
      radial-gradient(70% 50% at 80% 0%, rgba(130,182,50,0.10), transparent 70%),
      radial-gradient(80% 60% at 20% 100%, rgba(37,82,52,0.30), transparent 70%),
      var(--bg);
    padding: clamp(72px, 11vh, 96px) 28px clamp(24px, 5vh, 40px);
    gap: clamp(2px, 0.6vh, 8px);
    z-index: 100;
    justify-content: center;
    overflow: hidden;
    animation: drawerIn 280ms cubic-bezier(0.2, 0.8, 0.2, 1);
  }
  @keyframes drawerIn {
    from { opacity: 0; transform: translateY(-8px); }
    to { opacity: 1; transform: translateY(0); }
  }

  .nav.open .links a {
    font-family: var(--font-display);
    /* Font size locked to viewport height so 6 links always fit */
    font-size: clamp(24px, min(8.5vw, 5.5vh), 44px);
    font-weight: 500;
    letter-spacing: -0.02em;
    line-height: 1.05;
    color: var(--fg);
    padding: clamp(6px, 1.2vh, 16px) 0;
    border: none;
    opacity: 1;
    position: relative;
    display: flex; align-items: center; justify-content: space-between;
    gap: 16px;
    transition: color 160ms var(--ease-out), transform 160ms var(--ease-out);
  }
  .nav.open .links a::after {
    content: "→";
    font-family: var(--font-body);
    font-size: clamp(16px, 2.4vh, 22px);
    font-weight: 400;
    color: var(--fg-subtle);
    transition: transform 160ms var(--ease-out), color 160ms var(--ease-out);
  }
  .nav.open .links a:hover, .nav.open .links a:focus-visible {
    color: var(--ug-leaf-300);
  }
  .nav.open .links a:hover::after, .nav.open .links a:focus-visible::after {
    color: var(--ug-leaf-400);
    transform: translateX(6px);
  }
  .nav.open .links a.active { color: var(--ug-leaf-300); }
  .nav.open .links a.active::after {
    /* No underline / dot indicator — green color on the text is enough */
    content: "→";
    color: var(--ug-leaf-400);
    background: none;
    height: auto;
    position: static;
    box-shadow: none;
  }

  /* Counter numerals */
  .nav.open .links { counter-reset: navitem; }
  .nav.open .links a { counter-increment: navitem; }
  .nav.open .links a::before {
    content: "0" counter(navitem);
    position: absolute;
    left: -2px; top: 50%; transform: translate(-100%, -50%);
    font-family: var(--font-mono);
    font-size: clamp(9px, 1.4vh, 11px);
    font-weight: 500;
    letter-spacing: 0.18em;
    color: var(--fg-subtle);
    opacity: 0.5;
    padding-right: 12px;
  }

  /* Drawer footer with contact info */
  .nav.open .links::after {
    content: "";
    margin-top: auto;
  }

  /* Keep top bar (logo + close button) visible above the open drawer */
  .nav.open { z-index: 110; }
  .nav.open .wide {
    position: relative; z-index: 120;
    background: transparent;
  }
  .nav.open .right .btn-primary { display: none; }
  .nav.open .menu-toggle {
    background: rgba(255,255,255,0.06);
    border-color: rgba(255,255,255,0.18);
  }

  /* Hero plate — hidden on mobile anyway, but make sure */
  .hero .plate { display: none; }
  .hero-inner { padding-top: 24px; }
  .hero .lede { margin: 24px 0 28px !important; font-size: 17px !important; }
  .hero h1 { margin-bottom: 0; }
  .hero .actions { gap: 10px; flex-wrap: wrap; }
  .hero .actions .btn { font-size: 14px; padding: 12px 18px; }
  .hero .stats { margin-top: 48px; gap: 0; }
  .hero .stats .item .v { font-size: clamp(36px, 8vw, 48px); }
  .hero .stats .item .l { font-size: 11px; }

  /* Showcase cards take nearly full width */
  .showcase { padding: 72px 0; }
  .showcase .head { padding: 0 20px; margin-bottom: 32px; }
  .showcase .head h2 { font-size: clamp(28px, 6vw, 42px) !important; }
  .showcase .scroller { grid-auto-columns: 88%; padding-left: 20px; padding-right: 20px; gap: 16px; }
  .case { height: 480px; }
  .case .body { padding: 24px; }
  .case .body h3 { font-size: 24px; }
  .case .body p { font-size: 13px; }
  .case .body .kpis { gap: 0; margin-top: 18px; padding-top: 16px; }
  .case .body .kpis .v { font-size: 20px; }
  .case .body .kpis .l { font-size: 9px; letter-spacing: 0.14em; margin-top: 6px; }
  .case .body .kpis > div { padding: 0 8px; }
  .showcase .controls { display: none; } /* swipe instead */
  .showcase .progress { display: none; }

  /* Tech / ecosystem */
  .tech .ecosystem { gap: 28px; }
  .tech .diagram-wrap { padding: 20px; }
  .eco-core-name { font-size: 22px; }
  .eco-node-label { font-size: 11px; }
  .tech .diagram-wrap .meta { flex-wrap: wrap; gap: 12px; font-size: 10px; }

  /* Offering */
  .offering .toggle { margin-bottom: 36px; flex-wrap: wrap; }
  .offering .toggle button { padding: 10px 16px; font-size: 13px; }
  .offering .pitch h2 { margin-bottom: 16px; }
  .offering .pitch .lede { margin-bottom: 24px; }
  .offering .pitch .bullets { gap: 12px; margin-bottom: 24px; }
  .offering .visual .meta { flex-wrap: wrap; gap: 12px; padding: 16px 20px; font-size: 10px; }

  /* Contact form: stack the two-up name/company row */
  .contact .form .row { grid-template-columns: 1fr; gap: 14px; }
  .contact .form input, .contact .form select, .contact .form textarea { font-size: 16px; } /* prevents iOS zoom */
  .contact .info { gap: 20px; margin-top: 28px; }
  .contact .info .v { font-size: 14px; }

  /* Infrastructure */
  .infrastructure .head { margin-bottom: 40px; padding-bottom: 32px; gap: 28px; }
  .infrastructure .partner-card { padding: 18px 22px; }
  .infrastructure .partner-logo { height: 30px; }
  .infra-card .infra-body { padding: 18px 20px 22px; }
  .infra-card h3 { font-size: 20px; }
  .infra-card p { font-size: 13px; }
  .infrastructure .infra-foot { padding: 22px 22px; }
  .infrastructure .foot-text strong { font-size: 18px; }

  /* Marquee */
  .marquee { padding: 14px 0; }
  .marquee .track span { font-size: 12px; margin: 0 24px; }

  /* Footer */
  .footer { padding: 56px 0 32px; }
  .footer .cols { grid-template-columns: 1fr; gap: 32px; }
  .footer .brand p { max-width: 100%; }
  .footer .legal { flex-direction: column; gap: 12px; align-items: flex-start; }

  /* Investor pages */
  .ir-hero { padding: 56px 0 40px; }
  .tv-widget { min-height: 360px; }
  .news .filters { gap: 6px; }
  .news .filter { font-size: 11px; padding: 6px 10px; }
  .news .item { padding: 18px 0; }
  .news .item .title { font-size: 15px; }
  .calendar .row { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
  .calendar .row .date { font-size: 18px; }
  .calendar .row .status { justify-self: start; }
  .governance .key-facts { padding: 22px; }
  .gov-doc { padding: 14px 16px; }
  .people .grid, .people .grid.board { grid-template-columns: 1fr; gap: 16px; }

  /* Tweaks panel — keep it compact / hide on phones */
  .tweaks-panel { display: none !important; }
}

/* ---------- NARROW PHONE (≤ 480px) ---------- */
@media (max-width: 480px) {
  .wrap, .wide { padding: 0 16px; }
  .section { padding: 56px 0; }
  h1 { font-size: 38px !important; }
  h2 { font-size: 28px !important; }

  .hero-inner { padding-top: 16px; padding-bottom: 24px; }
  .hero .actions { flex-direction: column; align-items: stretch; }
  .hero .actions .btn { justify-content: center; width: 100%; }
  .hero .stats { grid-template-columns: 1fr 1fr; margin-top: 32px; }

  /* Single-column showcase cards on very small phones */
  .case { height: 440px; }
  .case .body h3 { font-size: 22px; }

  /* Infrastructure cards a bit more compact */
  .infra-card .infra-media { aspect-ratio: 16/9; }

  /* Drawer link tap target */
  .nav.open .links { padding: clamp(64px, 10vh, 84px) 20px clamp(20px, 4vh, 32px); }
}

/* ---------- Force iOS to honor min font-size 16px on inputs ---------- */
@media (max-width: 860px) {
  input, select, textarea { font-size: 16px !important; }
}

/* ---------- Infrastructure (Modern Expo) ---------- */
.infrastructure { position: relative; overflow: hidden; background: var(--bg); }
.infrastructure .grid-bg {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(40% 40% at 90% 10%, rgba(130,182,50,0.06), transparent 70%),
    radial-gradient(50% 40% at 10% 90%, rgba(37,82,52,0.14), transparent 70%);
}
.infrastructure .wrap { position: relative; z-index: 1; }
.infrastructure .head {
  display: grid; grid-template-columns: 1.4fr 0.8fr;
  gap: 56px; align-items: end;
  margin-bottom: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--border);
}
.infrastructure .head-text { max-width: 720px; }
.infrastructure .head-text h2 { letter-spacing: -0.02em; }

.infrastructure .partner-card {
  display: flex; flex-direction: column; gap: 12px;
  padding: 24px 28px;
  border: 1px solid var(--border-strong);
  border-radius: 16px;
  background: var(--bg-elevated);
  position: relative;
}
.infrastructure .partner-card::before {
  content: ""; position: absolute; left: 24px; top: 0; bottom: 0;
  width: 0; border-left: 2px solid var(--ug-leaf-400);
  height: 28px; margin: auto 0;
  opacity: 0.6;
}
.infrastructure .partner-label {
  font-family: var(--font-mono); font-size: 10px; font-weight: 600;
  letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--ug-leaf-300);
}
.infrastructure .partner-logo {
  height: 36px; width: auto; max-width: 240px;
  align-self: flex-start;
  filter: drop-shadow(0 0 0 transparent);
}
[data-theme="light"] .infrastructure .partner-logo {
  content: url("../assets/modern-expo-logo.png");
}
.infrastructure .partner-sub {
  font-size: 12px; color: var(--fg-muted); line-height: 1.5;
}

.infrastructure .infra-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
@media (max-width: 1100px) {
  .infrastructure .head { grid-template-columns: 1fr; }
  .infrastructure .infra-grid { grid-template-columns: repeat(2, 1fr); }
}

.infra-card {
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--bg-elevated);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: border-color 180ms var(--ease-out), transform 180ms var(--ease-out), box-shadow 180ms var(--ease-out);
}
.infra-card:hover {
  border-color: var(--border-strong);
  box-shadow: var(--shadow-2);
}
.infra-card .infra-media {
  position: relative;
  aspect-ratio: 16/10;
  background: linear-gradient(180deg, color-mix(in oklab, var(--ug-forest) 20%, var(--bg)) 0%, var(--bg-muted) 100%);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  color: rgba(255,255,255,0.55);
}
[data-theme="light"] .infra-card .infra-media {
  background: linear-gradient(180deg, color-mix(in oklab, var(--ug-forest) 8%, var(--ug-paper)) 0%, var(--ug-paper) 100%);
  color: rgba(0,0,0,0.45);
}
.infra-card .infra-media .infra-glyph {
  width: 60%; height: auto;
  max-width: 200px;
}
.infra-card .infra-idx {
  position: absolute; top: 14px; right: 16px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.18em; color: var(--fg-muted);
}
.infra-card .infra-body {
  padding: 22px 24px 26px;
  display: flex; flex-direction: column; gap: 10px;
}
.infra-card .infra-meta {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 10px;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted);
}
.infra-card .infra-tag { color: var(--ug-leaf-300); }
.infra-card .infra-dot { width: 3px; height: 3px; border-radius: 999px; background: var(--fg-subtle); }
.infra-card h3 {
  font-family: var(--font-display);
  font-weight: 500; font-size: 22px; letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0;
}
.infra-card p {
  font-size: 14px; color: var(--fg-muted); line-height: 1.55;
  margin: 0;
}

.infrastructure .infra-foot {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px;
  padding: 28px 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  background: var(--bg-elevated);
}
.infrastructure .foot-text { display: flex; flex-direction: column; gap: 6px; max-width: 640px; }
.infrastructure .foot-text strong {
  font-family: var(--font-display); font-weight: 500;
  font-size: 20px; letter-spacing: -0.01em; color: var(--fg);
}
.infrastructure .foot-text span { font-size: 14px; color: var(--fg-muted); line-height: 1.5; }


/* ---------- IR · Share price card (no chart, low-liquidity stock) ---------- */
.price-card {
  background: var(--bg-elevated);
  border: 1px solid var(--border-strong);
  border-radius: 20px;
  padding: 22px 24px;
  position: relative;
  display: flex; flex-direction: column; gap: 18px;
}
.price-card .head {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em;
  color: var(--fg-muted);
}
.price-card .head .sym { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.price-card .head .live { color: var(--ug-leaf-400); display: inline-flex; align-items: center; gap: 6px; flex-shrink: 0; }
.price-card .head .live .pulse {
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--ug-leaf-400);
  box-shadow: 0 0 10px var(--ug-leaf-400);
  animation: pulse2 1.4s var(--ease-out) infinite;
}
.price-card .px-row {
  display: grid; grid-template-columns: 1fr auto; gap: 32px;
  align-items: center;
}
.price-card .px-main { display: flex; flex-direction: column; gap: 8px; }
.price-card .px {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(44px, 5vw, 60px);
  line-height: 1;
  letter-spacing: -0.025em;
  color: var(--fg);
}
.price-card .px .ccy {
  font-family: var(--font-mono); font-size: 14px; letter-spacing: 0.12em;
  color: var(--fg-muted); font-weight: 400;
  margin-left: 6px; vertical-align: 0.4em;
}
.price-card .delta {
  font-family: var(--font-mono);
  font-size: 14px; font-weight: 500;
  display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
  white-space: normal;
}
.price-card .delta .pct {
  /* Keep the percent sign glued to the number under all conditions. */
  font-size: 16px;
  white-space: nowrap;
  display: inline-block;
}
.price-card .delta.pos { color: var(--ug-leaf-300); }
.price-card .delta.neg { color: #d97a72; }
.price-card .delta.neutral { color: var(--fg-muted); }
.price-card .head .live.is-error { color: var(--fg-subtle); }
.price-card .head .live.is-error .pulse { background: var(--fg-subtle); box-shadow: none; animation: none; }
.price-card .delta .abs {
  color: var(--fg-subtle); font-size: 12px; letter-spacing: 0.04em;
  font-weight: 400;
}
.price-card .px-meta {
  display: grid; grid-template-columns: repeat(2, auto); gap: 14px 24px;
  align-content: center;
  padding-left: 24px;
  border-left: 1px solid var(--border);
}
.price-card .px-meta > div { display: flex; flex-direction: column; gap: 4px; }
.price-card .px-meta .k {
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--fg-muted);
}
.price-card .px-meta .v {
  font-family: var(--font-mono); font-size: 13px; color: var(--fg);
}
.price-card .foot {
  margin-top: 4px; padding-top: 16px;
  border-top: 1px solid var(--border);
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  font-size: 11px; color: var(--fg-subtle);
}
.price-card .foot a { color: var(--ug-leaf-400); }
@media (max-width: 1100px) {
  .price-card .px-row { grid-template-columns: 1fr; gap: 18px; }
  .price-card .px-meta { padding-left: 0; border-left: none; padding-top: 16px; border-top: 1px solid var(--border); grid-template-columns: repeat(4, 1fr); }
}
@media (max-width: 520px) {
  .price-card .px-meta { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Year accordion (used by news + calendar archive) ---------- */
.year-accordion {
  display: flex; flex-direction: column; gap: 0;
  border-top: 1px solid var(--border);
}
.year-section { border-bottom: 1px solid var(--border); }
.year-section .year-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 22px 4px;
  display: grid; grid-template-columns: 120px 1fr auto;
  gap: 24px; align-items: center;
  cursor: pointer;
  color: var(--fg);
  text-align: left;
  transition: padding 160ms var(--ease-out), background 160ms var(--ease-out);
}
.year-section .year-header:hover {
  padding-left: 16px; padding-right: 16px;
  background: var(--bg-elevated);
}
.year-section .year-header .year {
  font-family: var(--font-display);
  font-size: 32px; font-weight: 500; letter-spacing: -0.01em;
  color: var(--fg);
  line-height: 1;
}
.year-section.open .year-header .year { color: var(--ug-leaf-300); }
.year-section .year-header .meta {
  font-family: var(--font-mono); font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--fg-muted);
}
.year-section .year-header .chev {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px;
  border-radius: 999px;
  border: 1px solid var(--border-strong);
  color: var(--fg-muted);
  transition: transform 220ms var(--ease-out), color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.year-section.open .year-header .chev {
  transform: rotate(180deg);
  color: var(--ug-leaf-400);
  border-color: var(--ug-leaf-400);
}
.year-section .year-body {
  padding: 0 0 24px 0;
  animation: yearOpen 220ms var(--ease-out);
}
@keyframes yearOpen {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* News skeletons displayed during initial fetch */
.news-loading {
  display: flex; flex-direction: column;
  border-top: 1px solid var(--border);
  margin-bottom: 32px;
}
.news-loading .item {
  display: flex; align-items: center; gap: 24px;
  padding: 22px 4px;
  border-bottom: 1px solid var(--border);
}

/* ---------- Calendar updates ---------- */
.cal-subhead {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--fg);
  margin: 0 0 20px 0;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: baseline;
}
.cal-list { display: flex; flex-direction: column; gap: 0; }
.cal-list .row {
  display: grid; grid-template-columns: 200px 1fr 160px;
  gap: 32px; align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--border);
}
.cal-list .row:last-child { border-bottom: none; }
.cal-list .row .date {
  font-family: var(--font-display); font-size: 20px; font-weight: 500;
  color: var(--fg); letter-spacing: -0.01em;
  display: flex; align-items: baseline; gap: 10px;
}
.cal-list .row .date .y {
  color: var(--fg-subtle); font-size: 12px;
  font-family: var(--font-mono); letter-spacing: 0.1em;
  margin: 0;
  display: inline-block;
}
.cal-list .row .event { font-size: 15px; color: var(--fg); line-height: 1.45; }
.cal-list .row .status {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--fg-muted); justify-self: end;
}
.cal-list .row .status.upcoming { color: var(--ug-leaf-400); }
.calendar-accordion { margin-top: 4px; }
.calendar-accordion .cal-list .row { padding: 14px 4px; }
.calendar-accordion .cal-list .row .date { font-size: 18px; }

/* Mobile tweaks for the new components */
@media (max-width: 860px) {
  .price-card { padding: 18px; }
  .year-section .year-header { grid-template-columns: 80px 1fr auto; gap: 14px; }
  .year-section .year-header .year { font-size: 26px; }
  .cal-list .row { grid-template-columns: 1fr; gap: 6px; padding: 14px 4px; }
  .cal-list .row .status { justify-self: start; }
}
