/* =====================================================================================================================
   Home hero (partials/home_hero.html + js/public/home_hero.js)
   One featured story at a time, a labelled tab bar with a progress line, and a colour mood per slide.
   Slides are stacked in one grid cell, so the hero always takes the height of its tallest slide: no jumping.
   ================================================================================================================== */
.hh {
  --hh-green: #148154;
  --hh-green-dark: #0f6843;
  --hh-display: "Fraunces", Georgia, serif;
  --hh-body: "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
  --hh-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --hh-interval: 7000ms;
  --hh-min: clamp(520px, calc(100svh - var(--hu-main-nav-h, 78px) - var(--hu-sub-nav-h, 46px) - 76px), 700px);
  position: relative;
  isolation: isolate;
  font-family: var(--hh-body);
  background: var(--bg);
  transition: background-color 0.6s ease;
}

/* colour moods (set per slide; the section copies the active one so the tab bar matches) */
.hh-theme-light, .hh[data-theme="light"] { --bg: #ffffff; --fg: #121815; --soft: #4a544e; --label: #0f6843; --track: rgba(18, 24, 21, 0.13); --fill: #148154; --btn-bg: #148154; --btn-fg: #ffffff; --btn-hover: #0f6843; --ghost: rgba(18, 24, 21, 0.22); --media: #eef3ef; }
.hh-theme-mist,  .hh[data-theme="mist"]  { --bg: #eef3ef; --fg: #121815; --soft: #46514a; --label: #0f6843; --track: rgba(18, 24, 21, 0.14); --fill: #148154; --btn-bg: #148154; --btn-fg: #ffffff; --btn-hover: #0f6843; --ghost: rgba(18, 24, 21, 0.24); --media: #dfe9e3; }
.hh-theme-ink,   .hh[data-theme="ink"]   { --bg: #0d1310; --fg: #f1f5f2; --soft: #aeb9b2; --label: #6fd29d; --track: rgba(241, 245, 242, 0.16); --fill: #6fd29d; --btn-bg: #1c9a5e; --btn-fg: #ffffff; --btn-hover: #22b06c; --ghost: rgba(241, 245, 242, 0.3); --media: #18211c; }
.hh-theme-deep,  .hh[data-theme="deep"]  { --bg: #0b3a26; --fg: #f3f8f5; --soft: #b9d3c5; --label: #9be3bc; --track: rgba(243, 248, 245, 0.18); --fill: #9be3bc; --btn-bg: #ffffff; --btn-fg: #0b3a26; --btn-hover: #e2f3ea; --ghost: rgba(243, 248, 245, 0.34); --media: #0f4a31; }

/* ---------------- stage & slides ---------------- */
.hh-stage { display: grid; }
.hh-slide {
  grid-area: 1 / 1;
  display: flex;
  align-items: center;
  min-height: var(--hh-min);
  padding: clamp(36px, 5.5vw, 72px) 0 clamp(28px, 4vw, 48px);
  background: var(--bg);
  color: var(--fg);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.55s ease, visibility 0s linear 0.55s;
}
.hh-slide.is-active { opacity: 1; visibility: visible; transition: opacity 0.55s ease, visibility 0s; z-index: 1; }
.hh-slide[hidden] { display: none; }
.hh-shell { width: min(1280px, calc(100% - 56px)); margin-inline: auto; }

.hh-grid { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); align-items: center; gap: clamp(32px, 5vw, 88px); }

/* ---------------- copy ---------------- */
.hh-copy { min-width: 0; max-width: 36rem; }
.hh-label { display: flex; align-items: center; flex-wrap: wrap; gap: 0.55rem; margin: 0 0 1.1rem; font-size: 0.875rem; font-weight: 600; line-height: 1.2; color: var(--label); }
.hh-label__dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: currentColor; }
.hh-label__dot.is-live { animation: hh-pulse 1.8s ease-in-out infinite; }
.hh-label__when { padding: 0.2rem 0.6rem; border-radius: 9999px; border: 1px solid var(--ghost); font-weight: 500; color: var(--fg); }
.hh-title {
  margin: 0;
  font-family: var(--hh-display);
  font-weight: 600;
  font-size: clamp(2rem, 1.25rem + 2.4vw, 3.35rem);
  line-height: 1.08;
  letter-spacing: -0.018em;
  color: var(--fg);
  text-wrap: balance;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.hh-summary {
  margin: 1.15rem 0 0;
  max-width: 34rem;
  font-size: 1.0625rem;
  line-height: 1.6;
  color: var(--soft);
  text-wrap: pretty;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.hh-facts { display: flex; flex-wrap: wrap; gap: 0.5rem 2rem; margin: 1.25rem 0 0; }
.hh-facts div { display: grid; gap: 0.15rem; }
.hh-facts dt { font-size: 0.75rem; font-weight: 500; color: var(--soft); }
.hh-facts dd { margin: 0; font-size: 0.98rem; font-weight: 600; color: var(--fg); }

.hh-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 0.75rem 1rem; margin-top: 1.85rem; }
.hh-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem;
  min-height: 48px; padding: 0 1.35rem; border-radius: 10px;
  font-size: 0.95rem; font-weight: 600; text-decoration: none; white-space: nowrap;
  transition: background-color 0.18s ease, border-color 0.18s ease, transform 0.18s var(--hh-ease);
}
.hh-btn svg { transition: transform 0.2s var(--hh-ease); }
.hh-btn--primary { background: var(--btn-bg); color: var(--btn-fg); }
.hh-btn--primary:hover { background: var(--btn-hover); color: var(--btn-fg); }
.hh-btn--primary:hover svg { transform: translateX(3px); }
.hh-btn--ghost { border: 1px solid var(--ghost); color: var(--fg); background: transparent; }
.hh-btn--ghost:hover { border-color: var(--fg); color: var(--fg); }
.hh-btn:active { transform: scale(0.98); }
.hh-btn:focus-visible, .hh-tab:focus-visible, .hh-pause:focus-visible { outline: 2px solid var(--fill); outline-offset: 3px; }
.hh-meta { font-size: 0.875rem; color: var(--soft); }

/* ---------------- media ---------------- */
.hh-media {
  position: relative; margin: 0; overflow: hidden;
  aspect-ratio: 16 / 10; border-radius: 18px; background: var(--media);
}
.hh-media__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
/* portrait posters: show the whole poster, with a soft blurred copy filling the frame */
.hh-media--portrait .hh-media__img { object-fit: contain; z-index: 1; filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.22)); padding: 4% 0; }
.hh-media__blur { position: absolute; inset: -8%; width: 116%; height: 116%; object-fit: cover; filter: blur(28px) saturate(1.1); opacity: 0.55; transform: scale(1.05); }
.hh-media__mark { display: none; }
.hh-media--empty { display: grid; place-items: center; }
.hh-media--empty .hh-media__mark { display: block; font-family: var(--hh-display); font-size: clamp(4rem, 10vw, 7rem); font-weight: 600; letter-spacing: -0.03em; color: var(--track); }
.hh-datechip {
  position: absolute; z-index: 2; left: 1rem; top: 1rem;
  display: grid; justify-items: center; min-width: 4.25rem; padding: 0.55rem 0.7rem 0.6rem;
  border-radius: 12px; background: #ffffff; color: #121815; line-height: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}
.hh-datechip span { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: #148154; }
.hh-datechip strong { margin-top: 0.25rem; font-family: var(--hh-display); font-size: 1.9rem; font-weight: 600; }

/* entrance when a slide becomes active (content is visible without it; this only adds motion) */
.hh.has-moved .hh-slide.is-active .hh-copy > * { animation: hh-rise 0.7s var(--hh-ease) both; }
.hh.has-moved .hh-slide.is-active .hh-copy > :nth-child(2) { animation-delay: 0.05s; }
.hh.has-moved .hh-slide.is-active .hh-copy > :nth-child(3) { animation-delay: 0.1s; }
.hh.has-moved .hh-slide.is-active .hh-copy > :nth-child(n + 4) { animation-delay: 0.15s; }
.hh.has-moved .hh-slide.is-active .hh-media { animation: hh-settle 0.9s var(--hh-ease) both; }
@keyframes hh-rise { from { opacity: 0; transform: translateY(14px); } }
@keyframes hh-settle { from { opacity: 0.4; transform: scale(1.025); } }
@keyframes hh-pulse { 50% { opacity: 0.3; } }

/* ---------------- tab bar ---------------- */
.hh-bar { position: relative; z-index: 2; background: var(--bg); transition: background-color 0.6s ease; }
.hh-bar__inner { display: flex; align-items: center; gap: 1.25rem; padding: 0 0 1.4rem; }
.hh-tabs { flex: 1; min-width: 0; display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); gap: 1.25rem; }
.hh-tab {
  display: grid; gap: 0.6rem; min-width: 0; padding: 0.6rem 0 0.25rem; border: 0; background: none; cursor: pointer;
  text-align: left; font: inherit; color: var(--soft);
}
.hh-tab__line { position: relative; display: block; height: 3px; border-radius: 3px; overflow: hidden; background: var(--track); }
.hh-tab__line i { position: absolute; inset: 0; transform: scaleX(0); transform-origin: left center; background: var(--fill); border-radius: inherit; }
.hh-tab.is-active .hh-tab__line i { transform: scaleX(1); }
.hh.is-playing .hh-tab.is-active .hh-tab__line i { animation: hh-fill var(--hh-interval) linear both; }
.hh.is-paused .hh-tab.is-active .hh-tab__line i { animation-play-state: paused; }
@keyframes hh-fill { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.hh-tab__label { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 0.875rem; font-weight: 500; line-height: 1.3; transition: color 0.2s ease; }
.hh-tab:hover .hh-tab__label { color: var(--fg); }
.hh-tab.is-active .hh-tab__label { color: var(--fg); font-weight: 600; }

.hh-pause {
  flex: none; display: grid; place-items: center; width: 40px; height: 40px; margin-top: 0.35rem;
  border-radius: 50%; border: 1px solid var(--ghost); background: transparent; color: var(--fg); cursor: pointer;
  transition: border-color 0.18s ease, background-color 0.18s ease;
}
.hh-pause:hover { border-color: var(--fg); }
.hh-pause__r { display: none; }
.hh.is-stopped .hh-pause__p { display: none; }
.hh.is-stopped .hh-pause__r { display: block; }

/* ---------------- responsive ---------------- */
@media (max-width: 1024px) {
  .hh-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; }
  .hh-title { font-size: clamp(1.9rem, 1.3rem + 2vw, 2.6rem); }
}
@media (max-width: 760px) {
  .hh-shell { width: calc(100% - 40px); }
  .hh-slide { min-height: 0; align-items: flex-start; padding: 20px 0 24px; }
  .hh-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
  .hh-media { order: -1; aspect-ratio: 16 / 10; border-radius: 14px; }
  .hh-title { font-size: clamp(1.65rem, 1.2rem + 2.4vw, 2.1rem); -webkit-line-clamp: 3; }
  .hh-summary { font-size: 1rem; margin-top: 0.8rem; -webkit-line-clamp: 3; }
  .hh-label { margin-bottom: 0.75rem; }
  .hh-actions { margin-top: 1.25rem; }
  .hh-btn { min-height: 46px; }
  .hh-meta { flex-basis: 100%; }
  .hh-bar__inner { gap: 0.75rem; padding-bottom: 1rem; }
  /* tabs scroll sideways; the active one is kept in view by the script */
  .hh-tabs { display: flex; gap: 1rem; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hh-tabs::-webkit-scrollbar { display: none; }
  .hh-tab { flex: 0 0 7.5rem; scroll-snap-align: start; }
  .hh-datechip { left: 0.75rem; top: 0.75rem; min-width: 3.6rem; }
  .hh-datechip strong { font-size: 1.55rem; }
}

@media (prefers-reduced-motion: reduce) {
  .hh, .hh-slide, .hh-bar { transition: none; }
  .hh-slide.is-active .hh-copy > *, .hh-slide.is-active .hh-media { animation: none !important; }
  .hh-label__dot.is-live { animation: none; }
  .hh-btn, .hh-btn svg { transition: none; }
}

/* long headlines step down one size so they fit in three or four lines instead of being cut */
.hh-title--long { font-size: clamp(1.6rem, 1rem + 1.7vw, 2.35rem); line-height: 1.14; -webkit-line-clamp: 5; }
@media (max-width: 760px) { .hh-title--long { font-size: clamp(1.45rem, 1.1rem + 2vw, 1.8rem); } }

/* phones: keep the whole hero, tab bar included, close to one screen */
@media (max-width: 760px) {
  .hh-slide { padding: 14px 0 16px; }
  .hh-grid { gap: 16px; }
  .hh-media { aspect-ratio: 16 / 9; }
  .hh-label { margin-bottom: 0.55rem; font-size: 0.8125rem; }
  .hh-title, .hh-title--long { font-size: clamp(1.4rem, 1.05rem + 1.8vw, 1.7rem); line-height: 1.15; -webkit-line-clamp: 4; }
  .hh-summary { margin-top: 0.55rem; font-size: 0.95rem; line-height: 1.5; -webkit-line-clamp: 2; }
  .hh-facts { margin-top: 0.75rem; gap: 0.35rem 1.25rem; }
  .hh-facts dd { font-size: 0.9rem; }
  .hh-actions { margin-top: 1rem; gap: 0.6rem 0.75rem; }
  .hh-btn { min-height: 44px; padding: 0 1.1rem; font-size: 0.9rem; }
  .hh-meta { font-size: 0.8125rem; }
}

/* =====================================================================================================================
   Fit to the screen (laptops and up). The hero fills exactly the visible height under the site header, tab bar
   included, so the story indicators are always on screen without zooming out. Headline, summary, picture and spacing
   scale with the screen's height as well as its width, so a 1366×768 laptop gets a tighter hero and a large monitor
   keeps the full size. Nothing scales the rest of the page.
   ================================================================================================================== */
@media (min-width: 761px) {
  .hh {
    --hh-header: calc(var(--hu-main-nav-h, 78px) + var(--hu-sub-nav-h, 46px));
    display: grid;
    grid-template-rows: minmax(0, 1fr) auto;
    height: clamp(520px, calc(100svh - var(--hh-header)), 900px);
  }
  .hh-stage { min-height: 0; }
  .hh-slide { min-height: 0; height: 100%; padding: clamp(16px, 4.5vh, 64px) 0 clamp(12px, 3vh, 40px); }
  .hh-grid { height: 100%; }
  .hh-title { font-size: clamp(1.75rem, min(1.2rem + 2.3vw, 5.6vh), 3.35rem); }
  .hh-title--long { font-size: clamp(1.55rem, min(1rem + 1.7vw, 4.6vh), 2.5rem); }
  .hh-summary { margin-top: clamp(0.6rem, 1.6vh, 1.15rem); font-size: clamp(0.95rem, 1.9vh, 1.0625rem); }
  .hh-label { margin-bottom: clamp(0.6rem, 1.6vh, 1.1rem); }
  .hh-actions { margin-top: clamp(1rem, 2.6vh, 1.85rem); }
  .hh-facts { margin-top: clamp(0.75rem, 1.8vh, 1.25rem); }
  /* the picture never grows taller than the space it has; width follows through the aspect ratio */
  .hh-media { width: 100%; max-height: 100%; justify-self: end; }
}
/* short laptop screens: a two-line summary keeps the headline and button in view */
@media (min-width: 761px) and (max-height: 820px) {
  .hh-summary { -webkit-line-clamp: 2; }
  .hh-title { -webkit-line-clamp: 3; }
  .hh-title--long { -webkit-line-clamp: 4; }
}

/* =====================================================================================================================
   Tabs like nvidia.com: progress line, small category, then the start of the headline on two lines.
   ================================================================================================================== */
.hh-tab { gap: 0; align-content: start; }
.hh-tab__line { margin-bottom: 0.7rem; }
.hh-tab__cat { display: block; margin-bottom: 0.3rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
  font-size: 0.75rem; font-weight: 600; line-height: 1.2; color: var(--fg); opacity: 0.85; }
.hh-tab .hh-tab__label { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  font-size: 0.875rem; font-weight: 400; line-height: 1.35; color: var(--soft); }
.hh-tab.is-active .hh-tab__label { color: var(--fg); font-weight: 500; }
.hh-tab:hover .hh-tab__label { color: var(--fg); }
.hh-bar__inner { align-items: flex-start; padding-bottom: clamp(0.9rem, 2.4vh, 1.6rem); }
.hh-pause { margin-top: 0; }
@media (max-width: 760px) {
  .hh-tab { flex-basis: 9.5rem; }
  .hh-tab .hh-tab__label { font-size: 0.8125rem; }
}

/* registration closed: still visible, clearly not clickable */
.hh-btn:disabled, .hh-btn[aria-disabled="true"] { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* event slide: when / where as quiet supporting details, not competing with the headline */
.hh-facts { gap: 0.35rem 1.75rem; }
.hh-facts dt { font-size: 0.6875rem; }
.hh-facts dd { font-size: 0.875rem; font-weight: 600; }
@media (max-width: 760px) { .hh-facts dd { font-size: 0.8125rem; } }

/* Headline font: Lato (bold). Lato is a humanist sans, so it reads best a little heavier and without the
   tight negative tracking used for the serif before. */
.hh { --hh-display: "Lato", "Inter", system-ui, -apple-system, "Segoe UI", Arial, sans-serif; }
.hh-title { font-weight: 700; letter-spacing: -0.005em; line-height: 1.12; }
.hh-datechip strong { font-weight: 900; }

/* =====================================================================================================================
   Feature slides (two per hero): centred story over a triangle lattice, framed by an outline of the HU crest,
   with the picture as a wide panel underneath. The lattice is a tiny SVG tile (80 × 138.56 px = equilateral
   triangles with 80 px sides), so the lines meet exactly; it is drawn very faintly so text stays easy to read.
   ================================================================================================================== */
.hh-slide--feature.hh-theme-light { --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='138.56'%3E%3Cpath d='M0 0H80M0 69.28H80M0 0L80 138.56M80 0L0 138.56' fill='none' stroke='%23121815' stroke-opacity='.075' stroke-width='1'/%3E%3C/svg%3E"); --crest: #148154; }
.hh-slide--feature.hh-theme-ink   { --lattice: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='138.56'%3E%3Cpath d='M0 0H80M0 69.28H80M0 0L80 138.56M80 0L0 138.56' fill='none' stroke='%23f1f5f2' stroke-opacity='.07' stroke-width='1'/%3E%3C/svg%3E"); --crest: #34c47c; }
.hh-slide--feature { background-image: var(--lattice); background-size: 80px 138.56px; background-position: center top; }

.hh-feature { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 0 7%; }

.hh-slide--feature .hh-copy { position: relative; z-index: 1; max-width: 50rem; margin: 0 auto; padding-top: clamp(10px, 3.5vh, 36px); }
.hh-slide--feature .hh-label--kicker { justify-content: center; color: var(--fg); font-weight: 700; font-size: 0.875rem; }
.hh-slide--feature .hh-summary { margin-left: auto; margin-right: auto; max-width: 42rem; }
.hh-slide--feature .hh-actions { justify-content: center; }
.hh-slide--feature .hh-media {
  position: relative; z-index: 1; flex: 1 1 auto; min-height: 120px; width: min(100%, 54rem); max-height: none;
  aspect-ratio: auto; margin-top: clamp(14px, 3vh, 30px); border-radius: 14px; justify-self: auto;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.35);
}

@media (min-width: 761px) {
  .hh-slide--feature { padding-top: clamp(10px, 2.5vh, 28px); padding-bottom: clamp(10px, 2.5vh, 28px); }
  .hh-feature { height: 100%; }
  .hh-slide--feature .hh-title { -webkit-line-clamp: 2; }
  .hh-slide--feature .hh-summary { -webkit-line-clamp: 2; }
}
/* Short screens (laptops at 125–150 % zoom or display scaling, small windows): the hero no longer squeezes itself
   into one screen height, which left the feature picture no room. It takes its natural height instead, and every
   picture keeps a proper size; the visitor scrolls a little to reach the tab bar. */
@media (min-width: 761px) and (max-height: 680px) {
  .hh { height: auto; }
  .hh-slide, .hh-grid, .hh-feature { height: auto; }
  .hh-slide { padding: 24px 0 20px; }
  .hh-media { max-height: none; }
  .hh-slide--feature .hh-media { flex: none; width: min(100%, 54rem); aspect-ratio: 21 / 9; min-height: 0; }
}
/* phones: same stacked layout as the other slides, lattice kept, crest frame dropped */
@media (max-width: 760px) {
  .hh-feature { padding: 0; align-items: stretch; text-align: left; }
  .hh-slide--feature .hh-media { order: -1; flex: none; width: 100%; aspect-ratio: 16 / 9; margin: 0 0 16px; min-height: 0; }
  .hh-slide--feature .hh-copy { padding-top: 0; margin: 0; }
  .hh-slide--feature .hh-label--kicker, .hh-slide--feature .hh-actions { justify-content: flex-start; }
  .hh-slide--feature .hh-summary { margin-left: 0; }
}

/* =====================================================================================================================
   Two decorated designs, deliberately different:
   LATTICE (light): centred story, wide picture centred below, faint triangle lattice that fades out behind the text.
   ORBIT (deep green): text left, picture right; thin rings radiate from behind the picture, with a soft glow and a
   fine dot grid. The left side is calmed so the headline sits on a clean background.
   ================================================================================================================== */
.hh-slide--lattice {
  background-image:
    radial-gradient(ellipse 52% 46% at 50% 30%, var(--bg) 40%, transparent 78%),
    var(--lattice);
  background-size: auto, 80px 138.56px;
  background-position: center, center top;
}

.hh-slide--orbit {
  --orbit-x: 74%;
  --orbit-y: 50%;
  background-image:
    linear-gradient(90deg, var(--bg) 0 30%, transparent 58%),
    radial-gradient(circle at var(--orbit-x) var(--orbit-y), rgba(52, 196, 124, 0.30), transparent 36%),
    repeating-radial-gradient(circle at var(--orbit-x) var(--orbit-y), transparent 0 62px, rgba(243, 248, 245, 0.08) 62px 63px),
    radial-gradient(rgba(243, 248, 245, 0.11) 1px, transparent 1.6px);
  background-size: auto, auto, auto, 22px 22px;
}
.hh-slide--orbit .hh-media {
  box-shadow: 0 0 0 1px rgba(155, 227, 188, 0.28), 0 0 0 10px rgba(155, 227, 188, 0.06), 0 30px 60px -22px rgba(0, 0, 0, 0.55);
}
@media (max-width: 760px) {
  .hh-slide--orbit { --orbit-x: 50%; --orbit-y: 22%; background-image:
    radial-gradient(circle at var(--orbit-x) var(--orbit-y), rgba(52, 196, 124, 0.30), transparent 45%),
    repeating-radial-gradient(circle at var(--orbit-x) var(--orbit-y), transparent 0 44px, rgba(243, 248, 245, 0.08) 44px 45px),
    radial-gradient(rgba(243, 248, 245, 0.11) 1px, transparent 1.6px);
    background-size: auto, auto, 20px 20px; }
}

/* =====================================================================================================================
   Buttons: compact, so they support the headline instead of competing with it.
   ================================================================================================================== */
.hh-btn { min-height: 40px; padding: 0 1rem; gap: 0.45rem; border-radius: 8px; font-size: 0.875rem; }
.hh-btn svg { width: 15px; height: 15px; }
.hh-actions { gap: 0.6rem; }
@media (max-width: 760px) { .hh-btn { min-height: 40px; padding: 0 0.95rem; font-size: 0.8125rem; } }

/* Orbit: rings strong enough to read as a deliberate motif around the picture */
.hh-slide--orbit {
  background-image:
    linear-gradient(90deg, var(--bg) 0 26%, transparent 52%),
    radial-gradient(circle at var(--orbit-x) var(--orbit-y), rgba(52, 196, 124, 0.38), transparent 44%),
    repeating-radial-gradient(circle at var(--orbit-x) var(--orbit-y), transparent 0 52px, rgba(190, 240, 212, 0.16) 52px 53.5px),
    radial-gradient(rgba(243, 248, 245, 0.14) 1px, transparent 1.6px);
  background-size: auto, auto, auto, 22px 22px;
}
@media (max-width: 760px) {
  .hh-slide--orbit { background-image:
    radial-gradient(circle at var(--orbit-x) var(--orbit-y), rgba(52, 196, 124, 0.38), transparent 50%),
    repeating-radial-gradient(circle at var(--orbit-x) var(--orbit-y), transparent 0 40px, rgba(190, 240, 212, 0.16) 40px 41.5px),
    radial-gradient(rgba(243, 248, 245, 0.14) 1px, transparent 1.6px);
    background-size: auto, auto, 20px 20px; }
}

/* Buttons like nvidia.com: compact, nearly square, bold label. */
.hh-btn { min-height: 36px; padding: 0 0.9rem; gap: 0.4rem; border-radius: 3px; font-size: 0.875rem; font-weight: 700; letter-spacing: 0.005em; }
.hh-btn svg { width: 14px; height: 14px; }
@media (max-width: 760px) { .hh-btn { min-height: 38px; padding: 0 0.85rem; font-size: 0.8125rem; } }

/* Pictures as they are: square corners everywhere in the hero. */
.hh-media, .hh-slide--feature .hh-media, .hh-slide--orbit .hh-media { border-radius: 0; }
@media (max-width: 760px) { .hh-media, .hh-slide--feature .hh-media { border-radius: 0; } }

/* =====================================================================================================================
   ORBIT slide, redesigned as an editorial "photo mount" (replaces the rings / glow / dot grid / halo):
   flat deep-green field, the photo mounted on a solid block of HU blue offset down-left (as in print layouts),
   and a short blue rule leading into the category label. Flat colour, no gradients, no blur.
   ================================================================================================================== */
.hh-slide--orbit { --mount: #2c85b7; background-image: none; }
.hh-slide--orbit .hh-media { overflow: visible; box-shadow: -22px 22px 0 0 var(--mount); }
.hh-slide--orbit .hh-media__img { position: absolute; inset: 0; }
.hh-slide--orbit .hh-label::before { content: ""; flex: none; width: 28px; height: 3px; background: var(--mount); }
@media (max-width: 760px) {
  .hh-slide--orbit { background-image: none; }
  .hh-slide--orbit .hh-media { box-shadow: -12px 12px 0 0 var(--mount); margin-left: 12px; width: calc(100% - 12px); }
}

/* =====================================================================================================================
   ORBIT slide decoration: "woven" — inspired by the diamond weaves of traditional Somali mats and baskets.
   One 48 px tile: an outer diamond (the tiles meet point to point, forming the lattice of the weave), an inner
   diamond and a small solid centre diamond. Used twice:
     1. a tone-on-tone field on the right half of the slide, fading out towards the headline;
     2. the HU-blue panel the photo is mounted on, offset up-left, carrying the same weave in light lines.
   ================================================================================================================== */
.hh-slide--orbit {
  --weave-field: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%239be3bc' stroke-opacity='.16' stroke-width='1.1'%3E%3Cpath d='M24 1 47 24 24 47 1 24Z'/%3E%3Cpath d='M24 12 36 24 24 36 12 24Z'/%3E%3C/g%3E%3Cpath d='M24 20.5 27.5 24 24 27.5 20.5 24Z' fill='%239be3bc' fill-opacity='.22'/%3E%3C/svg%3E");
  --weave-panel: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.28' stroke-width='1.1'%3E%3Cpath d='M24 1 47 24 24 47 1 24Z'/%3E%3Cpath d='M24 12 36 24 24 36 12 24Z'/%3E%3C/g%3E%3Cpath d='M24 20.5 27.5 24 24 27.5 20.5 24Z' fill='%23ffffff' fill-opacity='.35'/%3E%3C/svg%3E");
  position: relative;
  background-image: none;
}
.hh-slide--orbit::before {
  content: ""; position: absolute; z-index: 0; top: 0; right: 0; bottom: 0; width: 58%;
  background: var(--weave-field) center / 48px 48px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 38%);
          mask-image: linear-gradient(90deg, transparent, #000 38%);
  pointer-events: none;
}
.hh-slide--orbit .hh-shell { position: relative; z-index: 1; }
.hh-slide--orbit .hh-label::before { content: none; }
.hh-slide--orbit .hh-media { box-shadow: none; overflow: visible; }
.hh-slide--orbit .hh-media::before {
  content: ""; position: absolute; z-index: -1; left: -24px; top: -24px; width: 100%; height: 100%;
  background: var(--weave-panel) center / 48px 48px, var(--mount);
}
@media (max-width: 760px) {
  .hh-slide--orbit::before { width: 100%; bottom: auto; height: 62%;
    -webkit-mask-image: linear-gradient(180deg, #000 55%, transparent); mask-image: linear-gradient(180deg, #000 55%, transparent); }
  .hh-slide--orbit .hh-media { box-shadow: none; margin: 14px 0 16px 14px; width: calc(100% - 14px); }
  .hh-slide--orbit .hh-media::before { left: -14px; top: -14px; }
}
