.hub-page {
  --ink: #222222;
  --muted: #5c5c5c;
  --navy: #04384c;
  --deep-navy: #022d3d;
  --green: #1f9c6c;
  --action: #137a52;
  --neutral: #eef2f4;
  --mint: #d9ebe3;
  --line: rgba(4, 56, 76, 0.18);
  --page-gutter: 1rem;
}

.hub-page,
.hub-page *,
.hub-page *::before,
.hub-page *::after {
  box-sizing: border-box;
}

.hub-page {
  background: #ffffff;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

.hub-page a {
  color: inherit;
}

.hub-page {
  overflow-x: clip;
}

.hub-page .shell {
  width: min(calc(100% - (var(--page-gutter) * 2)), 1600px);
  margin-inline: auto;
}

.hub-page .sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hub-page .hero {
  position: relative;
  isolation: isolate;
  background: var(--neutral);
  color: var(--ink);
}

.hub-page .hero::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 4px;
  background: var(--green);
  content: "";
}

.hub-page .hero__inner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: clamp(2rem, 2.5vw, 2.5rem);
}

.hub-page .hero__eyebrow {
  max-width: 44rem;
  margin: 0 0 clamp(1rem, 2vw, 1.75rem);
  color: var(--navy);
  font-size: clamp(0.8rem, 1.4vw, 1rem);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.7;
  text-wrap: balance;
}

.hub-page .hero__title,
.hub-page .section-title,
.hub-page .cta__title {
  margin: 0;
  font-weight: 700;
  letter-spacing: -0.04em;
  line-height: 1.25;
  text-wrap: balance;
}

.hub-page .hero__title {
  max-width: 100%;
  font-size: clamp(1.8rem, 4vw, 3.2rem);
}

.hub-page .concept {
  background: #ffffff;
}

.hub-page .concept__inner {
  padding-block: clamp(0.875rem, 1.5vw, 1.5rem);
}

.hub-page .concept__body {
  max-width: 64rem;
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.05rem, 2vw, 1.5rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.45;
  text-wrap: balance;
}

.hub-page .concept__body-break {
  display: none;
}

.hub-page .products {
  background: var(--mint);
  padding-block: clamp(2.75rem, 5vw, 4.5rem);
}

.hub-page .section-title {
  color: var(--navy);
  font-size: clamp(1.75rem, 3.8vw, 3.2rem);
}

.hub-page .products__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(0.75rem, 1.7vw, 1.5rem);
  align-items: start;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hub-page .product-card {
  --card-height: clamp(15rem, 20vw, 17.375rem);
  position: relative;
  min-height: var(--card-height);
  align-self: start;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(4, 56, 76, 0.16);
  border-radius: 0.75rem;
  background: var(--neutral);
}

.hub-page .product-card--linked::before,
.hub-page .product-card--linked::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
}

.hub-page .product-card--linked::before {
  z-index: -2;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.55;
  transform: scale(1.02);
  transition: transform 220ms ease, opacity 220ms ease;
}

.hub-page .product-card--linked::after {
  z-index: -1;
  background: rgba(2, 45, 61, 0.74);
}

.hub-page .product-card--opinion::before {
  background-image: url("../ad-second-opinion/analyst-review.webp");
}

.hub-page .product-card--ad-ops::before {
  background-image: url("../ad-ops/hero-ad-signals-v1.webp");
}

.hub-page .product-card--exhibition::before {
  background-image: url("../exhibition-management/hero-exhibition-orchestration-v1.webp");
}

.hub-page .product-card__link {
  display: block;
  min-height: var(--card-height);
  color: #ffffff;
  text-decoration: none;
}

.hub-page .product-card__content {
  display: flex;
  min-height: var(--card-height);
  flex-direction: column;
  align-items: flex-start;
  padding: clamp(1rem, 1.6vw, 1.25rem);
}

.hub-page .product-card__label {
  display: inline-block;
  border-left: 3px solid var(--green);
  padding-left: 0.7rem;
  color: var(--mint);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.5;
}

.hub-page .product-card__catch {
  display: block;
  margin-top: clamp(0.75rem, 1.5vw, 1.25rem);
  font-size: clamp(1.05rem, 1.4vw, 1.2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.4;
  text-wrap: balance;
}

.hub-page .product-card__body {
  display: block;
  margin-top: 0.75rem;
  color: #f1f7f4;
  font-size: clamp(0.86rem, 1vw, 0.92rem);
  line-height: 1.55;
}

.hub-page .product-card .button {
  margin-top: auto;
}

.hub-page .product-card--disabled {
  border-style: dashed;
  border-color: rgba(4, 56, 76, 0.3);
  background: #e2e7e9;
  color: #748087;
}

.hub-page .product-card--disabled .product-card__content {
  justify-content: center;
  padding-block: 0.75rem;
}

.hub-page .product-card--disabled .product-card__label {
  border-left-color: #8c999f;
  color: var(--muted);
}

.hub-page .button {
  display: inline-flex;
  min-height: 3.25rem;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  border-radius: 6px;
  padding: 0.75rem 1.15rem;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 180ms ease, transform 180ms ease;
}

.hub-page .button--card,
.hub-page .button--primary {
  background: var(--action);
  color: #ffffff;
}

.hub-page .button__arrow {
  display: inline-block;
  font-size: 1.1em;
  line-height: 1;
  transition: transform 180ms ease;
}

.hub-page .cta {
  background: var(--navy);
  color: #ffffff;
  text-align: center;
}

.hub-page .cta__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-block: clamp(2.25rem, 3vw, 2.75rem);
}

.hub-page .cta__title {
  max-width: 38rem;
  font-size: clamp(1.65rem, 3vw, 2.5rem);
}

.hub-page .cta__body {
  max-width: 36rem;
  margin: 0.75rem 0 0;
  color: var(--mint);
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  text-wrap: balance;
}

.hub-page .cta .button {
  margin-top: 1rem;
}

.hub-page a:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 4px;
}

.hub-page .product-card__link:focus-visible {
  outline-color: #ffffff;
  outline-offset: -4px;
}

@media (hover: hover) {
  .hub-page .product-card--linked:hover::before {
    opacity: 0.65;
    transform: scale(1.07);
  }

  .hub-page .product-card--linked:hover .button__arrow,
  .hub-page .cta .button:hover .button__arrow {
    transform: translateX(0.2rem);
  }

  .hub-page .button--card:hover,
  .hub-page .button--primary:hover {
    background: #0e6645;
  }
}

@media (min-width: 48rem) {
  .hub-page {
    --page-gutter: 2.5rem;
  }

  .hub-page .products__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hub-page .hero__title {
    white-space: nowrap;
  }
}

@media (min-width: 72rem) {
  .hub-page .products__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 30rem) {
  .hub-page .hero__title {
    font-size: clamp(1.85rem, 5.8vw, 2.25rem);
  }

  .hub-page .concept__body-break {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hub-page,
  .hub-page *,
  .hub-page *::before,
  .hub-page *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
