/* HOPO Inspiration — all rules are scoped to the Inspiration main element. */
.hi-root {
  --hi-red: #d50020;
  --hi-ink: #202327;
  --hi-muted: #656b73;
  --hi-line: #e2e5e8;
  --hi-soft: #f5f6f7;
  --hi-nav-top: 0px;
  color: var(--hi-ink);
  background: #fff;
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.75;
  min-inline-size: 0;
  inline-size: 100%;
  text-align: start;
  overflow-wrap: break-word;
}

.hi-root *,
.hi-root *::before,
.hi-root *::after { box-sizing: border-box; }

.hi-root .hi-shell {
  inline-size: calc(100% - 112px);
  max-inline-size: 1280px;
  margin-inline: auto;
  min-inline-size: 0;
}

.hi-root :is(a, button, summary):focus-visible {
  outline: 3px solid var(--hi-red);
  outline-offset: 5px;
}

.hi-root .hi-hero {
  position: relative;
  display: flex;
  align-items: center;
  min-block-size: 360px;
  padding-block: 52px;
  color: #fff;
  background: #363c44;
  overflow: hidden;
}

.hi-root .hi-hero-media,
.hi-root .hi-hero-shade {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

/* Enhanced banner focal points keep rooftop signage and sky inside the crop. */
.hi-root.is-projects .hi-hero--enhanced .hi-hero-media img {
  object-position: 70% 30%;
}
.hi-root .hi-hero--enhanced .hi-hero-shade {
  background: linear-gradient(90deg, rgba(16, 24, 33, .68), rgba(16, 24, 33, .30) 43%, rgba(16, 24, 33, .02) 78%);
}
[dir="rtl"] .hi-root .hi-hero--enhanced .hi-hero-shade {
  background: linear-gradient(270deg, rgba(16, 24, 33, .68), rgba(16, 24, 33, .30) 43%, rgba(16, 24, 33, .02) 78%);
}
@media (max-width: 760px) {
  .hi-root.is-news .hi-hero--enhanced .hi-hero-media img,
  .hi-root.is-blog .hi-hero--enhanced .hi-hero-media img { object-position: 65% center; }
  .hi-root .hi-hero--enhanced .hi-hero-shade {
    background: linear-gradient(90deg, rgba(16, 24, 33, .68), rgba(16, 24, 33, .50) 65%, rgba(16, 24, 33, .18));
  }
  [dir="rtl"] .hi-root .hi-hero--enhanced .hi-hero-shade {
    background: linear-gradient(270deg, rgba(16, 24, 33, .68), rgba(16, 24, 33, .50) 65%, rgba(16, 24, 33, .18));
  }
  [dir="rtl"] .hi-root.is-projects .hi-hero--enhanced .hi-hero-media img { object-position: 95% 30%; }
}

.hi-root .hi-hero-media img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: none;
  object-fit: cover;
  object-position: center;
}

.hi-root .hi-hero-shade {
  background: linear-gradient(90deg, rgba(16, 24, 33, .74), rgba(16, 24, 33, .40) 48%, rgba(16, 24, 33, .08));
}

.hi-root[dir="rtl"] .hi-hero-shade,
[dir="rtl"] .hi-root .hi-hero-shade {
  background: linear-gradient(270deg, rgba(16, 24, 33, .74), rgba(16, 24, 33, .40) 48%, rgba(16, 24, 33, .08));
}

.hi-root .hi-hero > .hi-shell {
  position: relative;
  z-index: 1;
}

.hi-root .hi-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-block: 0 17px;
  padding: 0;
  color: #fff;
  font-size: 13px;
  line-height: 1.65;
}

.hi-root .hi-breadcrumb :is(a, span) { color: inherit; }
.hi-root .hi-breadcrumb a { text-decoration: none; }
.hi-root .hi-breadcrumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.hi-root .hi-hero :is(a, button):focus-visible { outline-color: #fff; }

.hi-root .hi-hero h1 {
  max-inline-size: 850px;
  margin: 0;
  color: #fff;
  font-family: inherit;
  font-size: clamp(36px, 3.5vw, 48px);
  font-weight: 650;
  line-height: 1.22;
  letter-spacing: -.02em;
}

.hi-root .hi-hero-lead {
  max-inline-size: 620px;
  margin-block: 18px 0;
  color: #fff;
  font-size: 18px;
  line-height: 1.8;
}

.hi-root .hi-nav {
  position: sticky;
  inset-block-start: var(--hi-nav-top);
  z-index: 30;
  background: #fff;
  border-block-end: 1px solid var(--hi-line);
  box-shadow: 0 3px 12px rgba(24, 31, 38, .045);
}

.hi-root .hi-nav-track {
  display: flex;
  align-items: stretch;
  max-inline-size: 1280px;
  inline-size: calc(100% - 112px);
  margin-inline: auto;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scrollbar-width: thin;
  scrollbar-color: #cdd1d5 #f7f8f9;
  scroll-padding-inline: 20px;
}

.hi-root .hi-nav > .hi-shell {
  inline-size: 100%;
  max-inline-size: none;
}

.hi-root .hi-nav-link {
  position: relative;
  flex: 1 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  min-block-size: 72px;
  margin: 0;
  padding: 20px 22px;
  color: var(--hi-ink);
  background: transparent;
  border: 0;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.hi-root .hi-nav-link + .hi-nav-link::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: 28px;
  block-size: 18px;
  border-inline-start: 1px solid var(--hi-line);
}

.hi-root .hi-nav-link::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline: 20px;
  block-size: 2px;
  background: transparent;
}

.hi-root .hi-nav-link[aria-current="page"] { color: var(--hi-red); }
.hi-root .hi-nav-link[aria-current="page"]::after { background: var(--hi-red); }
.hi-root .hi-nav-link:hover { color: var(--hi-red); background: #fafafa; }
.hi-root .hi-nav-link:focus-visible { outline-offset: -5px; }
.hi-root .hi-nav-hint { display: none; }

.hi-root .hi-section { padding-block: 52px 68px; }
.hi-root .hi-section-heading { margin-block-end: 28px; }
.hi-root .hi-section-heading h2 {
  margin: 0;
  color: var(--hi-ink);
  font-family: inherit;
  font-size: 32px;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: -.015em;
}
.hi-root .hi-section-heading p {
  max-inline-size: 760px;
  margin-block: 12px 0;
  color: var(--hi-muted);
  font-size: 16px;
  line-height: 1.75;
}

.hi-root .hi-articles { display: grid; gap: 32px; }
.hi-root .hi-story {
  display: grid;
  grid-template-columns: minmax(0, 38fr) minmax(0, 62fr);
  gap: 36px;
  align-items: center;
  margin: 0;
  padding-block-end: 32px;
  border-block-end: 1px solid var(--hi-line);
}
.hi-root .hi-story.is-featured { grid-template-columns: minmax(0, 58fr) minmax(0, 42fr); }
.hi-root .hi-story:last-child { padding-block-end: 0; border-block-end: 0; }
.hi-root .hi-story-image {
  display: block;
  inline-size: 100%;
  aspect-ratio: 16 / 9;
  background: #f0f1f2;
  text-decoration: none;
}
.hi-root .hi-story-image img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 100%;
  object-fit: contain;
}
.hi-root.is-blog .hi-story.is-featured .hi-story-image { aspect-ratio: 1 / 1; }
.hi-root .hi-story-copy { min-inline-size: 0; padding-block: 12px; }
.hi-root .hi-story-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  margin-block: 0 17px;
  color: var(--hi-red);
  font-size: 14px;
  line-height: 1.6;
}
.hi-root .hi-story-meta time { color: inherit; font-variant-numeric: tabular-nums; }
.hi-root .hi-story-copy h2 {
  margin: 0;
  color: var(--hi-ink);
  font-family: inherit;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.01em;
}
.hi-root .hi-story-copy h2 a { color: inherit; text-decoration: none; }
.hi-root .hi-story-copy h2 a:hover { color: var(--hi-red); }
.hi-root .hi-story-copy > p {
  margin-block: 17px 0;
  color: #5b6168;
  font-size: 16px;
  line-height: 1.85;
}
.hi-root .hi-read-more {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-block-start: 26px;
  padding-block: 5px;
  color: var(--hi-red);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
}
.hi-root a.hi-read-more:hover { color: #ae001a; text-decoration: underline; text-underline-offset: 5px; }

.hi-root .hi-project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px 24px;
  align-items: start;
}
.hi-root .hi-project-card {
  min-inline-size: 0;
  margin: 0;
  color: var(--hi-ink);
  background: #fff;
  border: 1px solid var(--hi-line);
  scroll-margin-block-start: calc(var(--hi-nav-top) + 96px);
}
.hi-root .hi-project-image {
  display: block;
  inline-size: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  background: #eef0f2;
}
.hi-root .hi-project-image img {
  display: block;
  inline-size: 100%;
  block-size: 100%;
  max-inline-size: 100%;
  object-fit: contain;
}
.hi-root .hi-project-info { padding: 22px 22px 20px; }
.hi-root .hi-project-country {
  margin: 0 0 5px;
  color: var(--hi-muted);
  font-size: 14px;
  line-height: 1.6;
}
.hi-root .hi-project-info h3 {
  margin: 0 0 16px;
  color: var(--hi-ink);
  font-family: inherit;
  font-size: 24px;
  font-weight: 600;
  line-height: 1.4;
}
.hi-root .hi-project-details { margin: 0; }
.hi-root .hi-project-details summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-block-size: 36px;
  margin: 0;
  padding-block: 5px;
  color: var(--hi-red);
  font-size: 14px;
  font-weight: 600;
  line-height: 1.5;
  list-style: none;
  cursor: pointer;
}
.hi-root .hi-project-details summary::-webkit-details-marker { display: none; }
.hi-root .hi-project-details summary::after { content: "+"; font-size: 20px; font-weight: 400; line-height: 1; }
.hi-root .hi-project-details[open] summary::after { content: "−"; }
.hi-root .hi-project-details summary:hover { color: #ae001a; }
.hi-root .hi-project-meta {
  margin-block: 12px 0;
  padding-block-start: 4px;
  border-block-start: 1px solid var(--hi-line);
  font-size: 14px;
  line-height: 1.7;
}
.hi-root .hi-project-meta > div { padding-block: 10px; }
.hi-root .hi-project-meta > div + div { border-block-start: 1px solid #eef0f2; }
.hi-root .hi-project-meta dt { margin: 0 0 3px; color: var(--hi-muted); font-weight: 400; }
.hi-root .hi-project-meta dd { margin: 0; color: var(--hi-ink); }

.hi-root .hi-cta { padding-block: 0 60px; }
.hi-root .hi-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 32px 36px;
  background: var(--hi-soft);
  border: 1px solid #eceef0;
}
.hi-root .hi-cta-inner > div { min-inline-size: 0; }
.hi-root .hi-cta h2 {
  margin: 0;
  color: var(--hi-ink);
  font-family: inherit;
  font-size: 26px;
  font-weight: 600;
  line-height: 1.4;
}
.hi-root .hi-cta p { margin-block: 8px 0; color: var(--hi-muted); font-size: 15px; line-height: 1.75; }
.hi-root .hi-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-shrink: 0;
  min-block-size: 48px;
  padding: 11px 26px;
  color: var(--hi-red);
  background: transparent;
  border: 1px solid var(--hi-red);
  border-radius: 2px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}
.hi-root .hi-button:hover { color: #fff; background: var(--hi-red); }
.hi-root .hi-cta--technical { padding-block-start: 20px; background: #181d20; }
.hi-root .hi-cta--technical .hi-cta-inner { background: #22292e; border-color: #364149; }
.hi-root .hi-cta--technical h2 { color: #fff; }
.hi-root .hi-cta--technical p { color: #c4cbd0; }
.hi-root .hi-cta--technical .hi-button { color: #fff; border-color: #aeb9c1; }
.hi-root .hi-cta--technical .hi-button:hover { border-color: var(--hi-red); }
.hi-root .hi-cta--technical .hi-button:focus-visible { outline-color: #fff; }

.hi-root .hi-editorial-link {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-block: 52px 0;
  padding-block-start: 40px;
  border-block-start: 1px solid var(--hi-line);
}
.hi-root .hi-editorial-link > img {
  display: block;
  inline-size: 100%;
  block-size: auto;
  max-inline-size: 100%;
  object-fit: contain;
  background: var(--hi-soft);
}
.hi-root .hi-editorial-link > div { min-inline-size: 0; }
.hi-root .hi-editorial-link h2 {
  margin: 0;
  color: var(--hi-ink);
  font-family: inherit;
  font-size: 28px;
  font-weight: 600;
  line-height: 1.4;
}
.hi-root .hi-editorial-link p { margin-block: 14px 0; color: var(--hi-muted); font-size: 16px; line-height: 1.8; }
.hi-root .hi-empty { padding: 48px 32px; background: var(--hi-soft); text-align: center; }
.hi-root .hi-empty p { margin: 0; color: var(--hi-muted); }
.hi-root .hi-empty .hi-button { margin-block-start: 24px; }
.hi-root .hi-pagination { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-block: 40px 0; }
.hi-root .hi-pagination :is(a, span) {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-inline-size: 42px;
  min-block-size: 42px;
  padding: 5px 12px;
  color: var(--hi-ink);
  border: 1px solid var(--hi-line);
  text-decoration: none;
}
.hi-root .hi-pagination a:hover,
.hi-root .hi-pagination .current { color: #fff; background: var(--hi-red); border-color: var(--hi-red); }

@media (min-width: 1025px) {
  .hi-root .hi-section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 40px; }
  .hi-root .hi-section-heading p { max-inline-size: 600px; margin: 0; }
}

@media (min-width: 761px) {
  .hi-root.is-blog .hi-story.is-featured {
    grid-template-columns: minmax(0, 44fr) minmax(0, 56fr);
    gap: 48px;
  }
}

@media (max-width: 1024px) {
  .hi-root .hi-shell,
  .hi-root .hi-nav-track { inline-size: calc(100% - 64px); }
  .hi-root .hi-nav-link { padding-inline: 16px; font-size: 16px; }
  .hi-root .hi-nav-link::after { inset-inline: 12px; }
  .hi-root .hi-story { gap: 28px; }
  .hi-root .hi-story-copy h2 { font-size: 25px; }
  .hi-root .hi-project-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hi-root .hi-cta-inner { padding: 28px; gap: 24px; }
  .hi-root .hi-cta h2 { font-size: 24px; }
}

@media (max-width: 760px) {
  .hi-root .hi-hero { min-block-size: 310px; padding-block: 42px; }
  .hi-root .hi-story,
  .hi-root .hi-story.is-featured { grid-template-columns: minmax(0, 1fr); gap: 18px; }
  .hi-root .hi-story-copy { padding: 0; }
  .hi-root .hi-story-meta { margin-block-end: 12px; }
  .hi-root .hi-read-more { margin-block-start: 18px; }
  .hi-root .hi-nav-track { inline-size: 100%; padding-inline: 20px; }
  .hi-root .hi-nav-link { flex: 0 0 auto; min-block-size: 58px; padding: 16px 23px; }
  .hi-root .hi-nav-link + .hi-nav-link::before { inset-block-start: 20px; }
  .hi-root .hi-nav-hint {
    display: block;
    margin: 0;
    padding: 5px 20px 7px;
    color: #6c7279;
    border-block-start: 1px solid #f1f2f3;
    font-size: 11px;
    line-height: 1.4;
    text-align: end;
  }
  .hi-root .hi-section { padding-block: 38px 48px; }
  .hi-root .hi-section-heading h2 { font-size: 28px; }
  .hi-root .hi-cta { padding-block-end: 48px; }
  .hi-root .hi-cta-inner { align-items: flex-start; flex-direction: column; }
  .hi-root .hi-editorial-link { gap: 24px; }
}

@media (max-width: 640px) {
  .hi-root .hi-shell { inline-size: calc(100% - 40px); }
  .hi-root .hi-hero { min-block-size: 280px; padding-block: 34px; }
  .hi-root .hi-hero h1 { font-size: 30px; line-height: 1.3; }
  .hi-root .hi-hero-lead { margin-block-start: 14px; font-size: 16px; line-height: 1.75; }
  .hi-root .hi-breadcrumb { margin-block-end: 15px; font-size: 12px; }
  .hi-root .hi-hero-shade { background: rgba(16, 24, 33, .52); }
  .hi-root .hi-section-heading { margin-block-end: 22px; }
  .hi-root .hi-section-heading h2 { font-size: 26px; }
  .hi-root .hi-section-heading p { font-size: 15px; }
  .hi-root .hi-articles { gap: 28px; }
  .hi-root .hi-story { padding-block-end: 28px; }
  .hi-root .hi-story-copy h2 { font-size: 23px; line-height: 1.45; }
  .hi-root .hi-story-copy > p { margin-block-start: 12px; font-size: 15px; }
  .hi-root .hi-project-grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .hi-root .hi-project-info { padding: 20px; }
  .hi-root .hi-project-info h3 { font-size: 23px; }
  .hi-root .hi-project-details summary { min-block-size: 44px; }
  .hi-root .hi-cta-inner { padding: 25px 22px; }
  .hi-root .hi-cta h2 { font-size: 22px; }
  .hi-root .hi-button { max-inline-size: 100%; }
  .hi-root .hi-editorial-link { grid-template-columns: minmax(0, 1fr); margin-block-start: 36px; padding-block-start: 28px; gap: 22px; }
  .hi-root .hi-editorial-link h2 { font-size: 24px; }
  .hi-root .hi-empty { padding: 36px 22px; }
}

@media (prefers-reduced-motion: reduce) {
  .hi-root .hi-nav-link,
  .hi-root .hi-button { transition: none; }
}
