@charset "UTF-8";

.page__inner-wrap > header,
.page__share,
.pagination {
  display: none;
}

.home-page {
  --home-navy: #0b1a29;
  --home-navy-soft: #18344c;
  --home-accent: #17c7dc;
  --home-accent-dark: #087f91;
  --home-accent-pale: #e7fbfd;
  --home-ink: #243342;
  --home-muted: #647586;
  --home-line: #dbe5eb;
  --home-surface: #f5fafc;
  color: var(--home-ink);
}

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

.home-page a {
  text-decoration: none;
}

.home-page h1,
.home-page h2,
.home-page h3,
.home-page p,
.home-page figure {
  margin-top: 0;
}

.home-page h2 {
  padding-bottom: 0;
  border-bottom: 0;
}

.home-hero {
  position: relative;
  margin: 0.5rem 0 3.8rem;
  padding: clamp(1.6rem, 4.8vw, 3.25rem);
  color: #fff;
  background:
    radial-gradient(circle at 87% 10%, rgba(23, 199, 220, 0.27), transparent 29%),
    linear-gradient(145deg, var(--home-navy), var(--home-navy-soft));
  border-radius: 18px;
  overflow: hidden;
}

.home-hero::after {
  position: absolute;
  right: -105px;
  bottom: -155px;
  width: 310px;
  height: 310px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  content: "";
  pointer-events: none;
}

.home-eyebrow,
.home-section-label,
.home-card-label {
  display: block;
  color: var(--home-accent-dark);
  font-size: 0.73rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.home-hero .home-eyebrow,
.home-closing .home-eyebrow {
  position: relative;
  z-index: 1;
  margin-bottom: 0.7rem;
  color: var(--home-accent);
}

.home-hero h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin-bottom: 0.75rem;
  color: #fff;
  font-size: clamp(2.15rem, 5.5vw, 3.65rem);
  letter-spacing: -0.035em;
  line-height: 1.03;
}

.home-role {
  position: relative;
  z-index: 1;
  margin-bottom: 1.05rem;
  color: #fff;
  font-size: clamp(1.08rem, 2.5vw, 1.34rem);
  font-weight: 700;
  line-height: 1.5;
}

.home-intro {
  position: relative;
  z-index: 1;
  max-width: 770px;
  margin-bottom: 1.55rem;
  color: #d7e8f0;
  font-size: clamp(0.96rem, 2vw, 1.08rem);
  line-height: 1.75;
}

.home-actions {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.7rem 1rem;
  color: var(--home-navy) !important;
  background: var(--home-accent);
  border: 1px solid var(--home-accent);
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 800;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease;
}

.home-button:hover {
  color: var(--home-navy) !important;
  background: #8df4ff;
  border-color: #8df4ff;
  transform: translateY(-1px);
}

.home-button--secondary {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.32);
}

.home-button--secondary:hover {
  color: #fff !important;
  background: rgba(255, 255, 255, 0.13);
  border-color: rgba(255, 255, 255, 0.5);
}

.home-button:focus-visible,
.home-text-link:focus-visible {
  outline: 3px solid rgba(23, 199, 220, 0.38);
  outline-offset: 3px;
}

.home-section {
  margin-bottom: 4rem;
}

.home-section-heading {
  max-width: 760px;
  margin-bottom: 1.45rem;
}

.home-section-label,
.home-card-label {
  margin-bottom: 0.5rem;
}

.home-section-heading h2,
.home-story h2 {
  margin-bottom: 0.65rem;
  color: var(--home-navy);
  font-size: clamp(1.55rem, 3.2vw, 2.15rem);
  letter-spacing: -0.02em;
  line-height: 1.18;
}

.home-section-heading p {
  margin-bottom: 0;
  color: var(--home-muted);
  font-size: 0.92rem;
  line-height: 1.7;
}

.home-book-card {
  display: grid;
  grid-template-columns: minmax(150px, 0.35fr) minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 2.7rem);
  align-items: center;
  margin-bottom: 1rem;
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  background:
    radial-gradient(circle at 96% 8%, rgba(23, 199, 220, 0.12), transparent 30%),
    var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 15px;
}

.home-book-visual {
  text-align: center;
}

.home-book-visual img {
  display: block;
  width: 100%;
  max-width: 185px;
  margin: 0 auto;
  border-radius: 4px;
  box-shadow: 0 14px 30px rgba(11, 26, 41, 0.22);
}

.home-book-copy h3,
.home-card h3,
.home-focus-card h3 {
  margin-bottom: 0.65rem;
  color: var(--home-navy);
  line-height: 1.3;
}

.home-book-copy h3 {
  font-size: clamp(1.4rem, 3vw, 1.95rem);
}

.home-book-copy p,
.home-card p,
.home-focus-card p {
  color: #536576;
  line-height: 1.7;
}

.home-book-copy p {
  max-width: 680px;
  margin-bottom: 1rem;
  font-size: 0.92rem;
}

.home-text-link {
  display: inline-flex;
  gap: 0.4rem;
  align-items: center;
  color: var(--home-accent-dark) !important;
  font-size: 0.82rem;
  font-weight: 800;
}

.home-text-link span {
  transition: transform 0.18s ease;
}

.home-text-link:hover {
  color: var(--home-navy) !important;
}

.home-text-link:hover span {
  transform: translateX(3px);
}

.home-work-grid,
.home-focus-grid,
.home-highlights {
  display: grid;
  gap: 1rem;
}

.home-work-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.home-card,
.home-focus-card {
  min-width: 0;
  padding: 1.35rem;
  background: #fff;
  border: 1px solid var(--home-line);
  border-radius: 13px;
  box-shadow: 0 8px 24px rgba(11, 26, 41, 0.045);
}

.home-card {
  display: flex;
  flex-direction: column;
}

.home-card h3,
.home-focus-card h3 {
  font-size: 1.04rem;
}

.home-card p,
.home-focus-card p {
  margin-bottom: 1rem;
  font-size: 0.84rem;
}

.home-card .home-text-link {
  margin-top: auto;
}

.home-focus-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.home-focus-card {
  position: relative;
  overflow: hidden;
}

.home-focus-number {
  display: block;
  margin-bottom: 1.1rem;
  color: var(--home-accent-dark);
  font-size: 1.9rem;
  font-weight: 900;
  letter-spacing: -0.06em;
  line-height: 1;
}

.home-focus-card p {
  margin-bottom: 0;
}

.home-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  padding: 1rem;
  background: var(--home-navy);
  border-radius: 14px;
}

.home-highlight {
  min-width: 0;
  padding: 1.2rem;
  border-right: 1px solid rgba(255, 255, 255, 0.13);
}

.home-highlight:last-child {
  border-right: 0;
}

.home-highlight strong,
.home-highlight span {
  display: block;
}

.home-highlight strong {
  margin-bottom: 0.35rem;
  color: #fff;
  font-size: 0.96rem;
}

.home-highlight span {
  color: #bcd1dc;
  font-size: 0.76rem;
  line-height: 1.5;
}

.home-story {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(260px, 1.1fr);
  gap: clamp(1.5rem, 4vw, 2.8rem);
  align-items: center;
  margin-bottom: 4rem;
  padding: clamp(1.35rem, 3.5vw, 2.25rem);
  background: var(--home-surface);
  border: 1px solid var(--home-line);
  border-radius: 15px;
}

.home-story-copy p {
  margin-bottom: 0;
  color: #536576;
  font-size: 0.9rem;
  line-height: 1.75;
}

.home-story-copy p + p {
  margin-top: 0.9rem;
}

.home-story-figure {
  margin-bottom: 0;
}

.home-story-figure img {
  display: block;
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 11px;
}

.home-story-figure figcaption {
  margin-top: 0.55rem;
  color: var(--home-muted);
  font-size: 0.7rem;
  text-align: right;
}

.home-closing {
  padding: clamp(1.6rem, 4.8vw, 2.8rem);
  color: #fff;
  text-align: center;
  background:
    radial-gradient(circle at 15% 100%, rgba(23, 199, 220, 0.18), transparent 34%),
    var(--home-navy);
  border-radius: 15px;
}

.home-closing h2 {
  margin-bottom: 0.65rem;
  color: #fff;
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
}

.home-closing p {
  max-width: 640px;
  margin: 0 auto 1.25rem;
  color: #c8dbe4;
  font-size: 0.9rem;
  line-height: 1.7;
}

.home-actions--centered {
  justify-content: center;
}

/* Dark mode ------------------------------------------------------------ */

html[data-theme="dark"] .home-page {
  --home-ink: #eef4f7;
  --home-muted: #bac6cf;
  --home-line: #62717b;
  --home-surface: #3a444a;
  --home-accent-dark: #56d9e8;
  color: var(--home-ink);
}

html[data-theme="dark"] .home-section-heading h2,
html[data-theme="dark"] .home-story h2,
html[data-theme="dark"] .home-book-copy h3,
html[data-theme="dark"] .home-card h3,
html[data-theme="dark"] .home-focus-card h3 {
  color: #f3f8fb;
}

html[data-theme="dark"] .home-section-heading p,
html[data-theme="dark"] .home-book-copy p,
html[data-theme="dark"] .home-card p,
html[data-theme="dark"] .home-focus-card p,
html[data-theme="dark"] .home-story-copy p {
  color: #d9e3e9;
}

html[data-theme="dark"] .home-section-label,
html[data-theme="dark"] .home-card-label,
html[data-theme="dark"] .home-focus-number {
  color: #56d9e8;
}

html[data-theme="dark"] .home-book-card {
  background:
    radial-gradient(circle at 96% 8%, rgba(23, 199, 220, 0.13), transparent 30%),
    #3a444a;
  border-color: var(--home-line);
}

html[data-theme="dark"] .home-card,
html[data-theme="dark"] .home-focus-card {
  background: #3d3d3d;
  border-color: var(--home-line);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
}

html[data-theme="dark"] .home-story {
  background: #3a444a;
  border-color: var(--home-line);
}

html[data-theme="dark"] .home-text-link,
html[data-theme="dark"] .home-text-link:visited {
  color: #63dbe9 !important;
}

html[data-theme="dark"] .home-text-link:hover,
html[data-theme="dark"] .home-text-link:focus {
  color: #b8f7ff !important;
}

html[data-theme="dark"] .home-story-figure figcaption {
  color: var(--home-muted);
}

html[data-theme="dark"] .home-hero,
html[data-theme="dark"] .home-highlights,
html[data-theme="dark"] .home-closing {
  border: 1px solid #40596c;
}

html[data-theme="dark"] .home-book-visual img,
html[data-theme="dark"] .home-story-figure img {
  background-color: transparent !important;
}

@media (max-width: 860px) {
  .home-focus-grid {
    grid-template-columns: 1fr;
  }

  .home-focus-card {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    gap: 0 1rem;
  }

  .home-focus-number {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .home-focus-card p {
    grid-column: 2;
  }

  .home-story {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .home-work-grid,
  .home-highlights {
    grid-template-columns: 1fr;
  }

  .home-book-card {
    grid-template-columns: 1fr;
  }

  .home-book-visual img {
    max-width: 155px;
  }

  .home-highlight {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  }

  .home-highlight:last-child {
    border-bottom: 0;
  }
}

@media (max-width: 480px) {
  .home-hero {
    margin-bottom: 3rem;
    padding: 1.35rem;
    border-radius: 14px;
  }

  .home-actions {
    flex-direction: column;
  }

  .home-button {
    width: 100%;
  }

  .home-section,
  .home-story {
    margin-bottom: 3.2rem;
  }

  .home-card,
  .home-focus-card,
  .home-book-card,
  .home-story {
    padding: 1.1rem;
  }

  .home-focus-card {
    display: block;
  }

  .home-focus-number {
    margin-bottom: 0.9rem;
  }

  .home-focus-card p {
    grid-column: auto;
  }
}
