.page-home {
  --home-gap: clamp(1.25rem, 3vw, 2.25rem);
  --home-radius: 1.25rem;
  --home-panel-shadow: 0 22px 50px -30px rgba(4, 10, 24, 0.9);
  overflow-x: hidden;
  font-family: var(--font-body);
  background:
    radial-gradient(circle at 12% 10%, rgba(30, 58, 95, 0.65), transparent 34%),
    var(--navy-800);
  color: var(--white);
}

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

.page-home .home-container {
  width: min(calc(100% - 2.5rem), var(--container));
  margin-inline: auto;
}

.page-home .section {
  position: relative;
  padding-block: clamp(3rem, 7vw, 5.5rem);
}

.page-home img {
  max-width: 100%;
  height: auto;
  display: block;
}

.page-home h1,
.page-home h2,
.page-home h3 {
  font-family: var(--font-display);
  line-height: 1.12;
  margin: 0;
}

.page-home h1 {
  font-size: clamp(1.95rem, 5vw, 3.4rem);
  max-width: 16ch;
  letter-spacing: 0.02em;
}

.page-home h2 {
  font-size: clamp(1.6rem, 3.4vw, 2.5rem);
  letter-spacing: 0.01em;
}

.page-home h3 {
  font-size: 1.15rem;
}

.page-home .section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.7rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  letter-spacing: 0.14em;
  color: var(--accent);
  text-transform: uppercase;
}

.page-home .section-heading {
  margin-bottom: var(--home-gap);
}

.page-home .section-heading--left {
  text-align: left;
}

.page-home .section-heading__desc {
  margin: 0.85rem 0 0;
  max-width: 58ch;
  color: var(--dim);
  line-height: 1.75;
}

.page-home .breadcrumb__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .breadcrumb__item {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--dim);
}

.page-home .breadcrumb__item + .breadcrumb__item::before {
  content: "/";
  margin-right: 0.6rem;
  color: var(--silver);
  opacity: 0.6;
}

.page-home .breadcrumb__item[aria-current="page"] {
  color: var(--accent);
}

.page-home .breadcrumb__link {
  color: var(--dim);
  text-decoration: none;
  transition: color 0.2s ease;
}

.page-home .breadcrumb__link:hover {
  color: var(--white);
}

.page-home .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.4rem;
  border-radius: 999px;
  border: 1px solid transparent;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.page-home .btn--primary {
  background: var(--accent);
  color: var(--navy-900);
  box-shadow: 0 10px 30px -12px rgba(255, 107, 53, 0.7);
}

.page-home .btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px -12px rgba(255, 107, 53, 0.8);
}

.page-home .home-hero__secondary {
  border-color: rgba(192, 192, 192, 0.4);
  color: var(--white);
}

.page-home .home-hero__secondary:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: translateY(-2px);
}

.page-home .bento-card {
  position: relative;
  overflow: hidden;
  padding: clamp(1.25rem, 2.4vw, 2rem);
  border: 1px solid var(--panel-border);
  border-radius: var(--home-radius);
  box-shadow: var(--home-panel-shadow);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.page-home .bento-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 54px -28px rgba(4, 10, 24, 0.95);
  border-color: rgba(255, 107, 53, 0.4);
}

.page-home .glass-card {
  background: rgba(30, 58, 95, 0.6);
  backdrop-filter: blur(12px);
}

.page-home .metric-card {
  padding: 1rem;
  border-left: 2px solid var(--accent);
  background: rgba(10, 20, 40, 0.48);
}

.page-home .metric-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--dim);
}

.page-home .metric-value {
  display: block;
  margin-top: 0.4rem;
  font-family: var(--font-display);
  font-size: clamp(1.45rem, 3.6vw, 2.3rem);
  line-height: 1;
  color: var(--white);
}

.page-home .home-inline-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: var(--accent);
  text-decoration: none;
  font-family: var(--font-mono);
  font-size: 0.95rem;
  border-bottom: 1px solid rgba(255, 107, 53, 0.4);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.page-home .home-inline-link::after {
  content: "→";
  margin-left: 0.15rem;
  transition: transform 0.2s ease;
}

.page-home .home-inline-link:hover {
  border-bottom-color: var(--accent);
  color: var(--white);
}

.page-home .home-inline-link:hover::after {
  transform: translateX(4px);
}

.page-home .home-hero {
  position: relative;
  overflow: hidden;
  padding: clamp(5.5rem, 10vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
  background:
    radial-gradient(circle at 84% 20%, rgba(255, 107, 53, 0.16), transparent 34%),
    linear-gradient(140deg, var(--navy-900) 0%, var(--navy-800) 55%, rgba(30, 58, 95, 0.9) 100%);
}

.page-home .home-hero::before {
  content: "";
  position: absolute;
  inset: clamp(1rem, 2vw, 2rem);
  border: 1px solid var(--panel-border);
  border-right-color: rgba(255, 107, 53, 0.4);
  border-radius: var(--home-radius);
  pointer-events: none;
}

.page-home .home-hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 42%;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  pointer-events: none;
}

.page-home .home-hero__grid {
  position: relative;
  z-index: 2;
  display: grid;
  gap: calc(var(--home-gap) * 1.3);
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: calc(var(--space) + 0.5rem);
}

.page-home .home-hero__content {
  display: grid;
  gap: 1.35rem;
}

.page-home .home-hero__kicker {
  margin-bottom: -0.5rem;
}

.page-home .home-hero__description {
  margin: 0;
  max-width: 62ch;
  font-size: clamp(0.975rem, 1.4vw, 1.075rem);
  line-height: 1.8;
  color: var(--dim);
}

.page-home .home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.page-home .home-trustline {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  max-width: 60ch;
  margin-top: 0.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--panel-border);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.55;
}

.page-home .status-dot {
  flex: 0 0 auto;
  width: 0.6rem;
  height: 0.6rem;
  border-radius: 50%;
  background: var(--success);
  box-shadow: 0 0 0 4px rgba(46, 204, 113, 0.15);
}

.page-home .home-hero__visual-frame {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--home-radius);
  background: var(--navy-900);
  box-shadow: var(--home-panel-shadow);
}

.page-home .home-hero__visual-frame::before {
  content: "";
  position: absolute;
  z-index: 3;
  top: -1px;
  right: 14%;
  width: 76px;
  height: 2px;
  background: var(--accent);
}

.page-home .home-hero__visual-frame::after {
  content: "";
  position: absolute;
  z-index: 3;
  left: -1px;
  bottom: 18%;
  width: 2px;
  height: 96px;
  background: var(--silver);
  opacity: 0.55;
}

.page-home .home-hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.page-home .home-hero__route {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.55;
}

.page-home .home-hero__scan {
  position: absolute;
  inset: 0;
  background: linear-gradient(115deg, transparent 20%, rgba(255, 107, 53, 0.16) 46%, rgba(255, 255, 255, 0.06) 52%, transparent 64%);
  mix-blend-mode: screen;
  pointer-events: none;
}

.page-home .home-hero__coords {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  z-index: 3;
  padding: 0.7rem 0.95rem;
  background: rgba(10, 20, 40, 0.82);
  border: 1px solid var(--panel-border);
  border-radius: 0.8rem;
}

.page-home .home-hero__coords .coord-display__label {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--dim);
}

.page-home .home-hero__coords .coord-display__value {
  display: block;
  margin-top: 0.2rem;
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
}

.page-home .home-calendar {
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.45), rgba(11, 27, 61, 0.1));
}

.page-home .home-calendar__grid {
  display: grid;
  gap: var(--home-gap);
}

.page-home .home-calendar__stats {
  display: grid;
  gap: 0.8rem;
  margin-bottom: 1.25rem;
}

.page-home .home-calendar__text {
  margin: 0 0 1.5rem;
  max-width: 64ch;
  color: var(--dim);
  line-height: 1.8;
}

.page-home .home-calendar__quick {
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.82), rgba(11, 27, 61, 0.9));
}

.page-home .home-calendar__quick h3 {
  margin-bottom: 1rem;
  color: var(--white);
}

.page-home .home-list {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .home-list li {
  display: flex;
  align-items: baseline;
  gap: 0.75rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--panel-border);
  color: var(--dim);
}

.page-home .home-list__num {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--accent);
}

.page-home .home-client {
  background: linear-gradient(180deg, transparent, rgba(10, 20, 40, 0.55));
}

.page-home .home-client__layout {
  display: grid;
  gap: calc(var(--home-gap) * 1.2);
  align-items: center;
}

.page-home .home-client__media {
  width: 100%;
  max-width: 300px;
  margin-inline: auto;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--home-radius);
  background: var(--navy-900);
}

.page-home .home-client__media img {
  width: 100%;
  aspect-ratio: 1 / 2;
  object-fit: cover;
}

.page-home .home-client__media figcaption {
  padding: 0.7rem 1rem;
  border-top: 1px solid var(--panel-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--dim);
}

.page-home .home-client__lead {
  margin: 0 0 1.5rem;
  max-width: 58ch;
  color: var(--dim);
  line-height: 1.8;
}

.page-home .home-feature-list {
  display: grid;
  gap: 0.9rem;
  margin: 0 0 1.75rem;
  padding: 0;
  list-style: none;
}

.page-home .home-feature-list li {
  display: grid;
  grid-template-columns: 2.5rem 1fr;
  gap: 0.9rem;
  padding: 1rem;
  background: rgba(30, 58, 95, 0.36);
  border: 1px solid var(--panel-border);
  border-left: 2px solid var(--accent);
}

.page-home .home-feature-list__num {
  font-family: var(--font-mono);
  font-size: 1rem;
  color: var(--accent);
}

.page-home .home-feature-list__body {
  display: grid;
  gap: 0.25rem;
}

.page-home .home-feature-list__body strong {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--white);
}

.page-home .home-feature-list__body small {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--dim);
  line-height: 1.4;
}

.page-home .home-casebook {
  background: linear-gradient(145deg, rgba(30, 58, 95, 0.4), transparent 62%);
}

.page-home .home-casebook__grid {
  display: grid;
  gap: var(--home-gap);
  align-items: center;
}

.page-home .home-casebook__lead {
  margin: 0 0 1.25rem;
  max-width: 62ch;
  color: var(--dim);
  line-height: 1.8;
}

.page-home .home-casebook__link {
  margin-top: 0.35rem;
}

.page-home .home-check-list {
  display: grid;
  gap: 0.8rem;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}

.page-home .home-check-list li {
  position: relative;
  padding-left: 1.6rem;
  color: var(--dim);
  line-height: 1.6;
}

.page-home .home-check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.55rem;
  height: 0.55rem;
  background: var(--accent);
  transform: rotate(45deg);
}

.page-home .home-casebook__media {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: var(--home-radius);
  background: var(--navy-900);
}

.page-home .home-casebook__media img {
  width: 100%;
  object-fit: cover;
}

.page-home .home-casebook__media figcaption {
  padding: 0.75rem 1rem;
  border-top: 1px solid var(--panel-border);
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--dim);
}

.page-home .home-performance {
  background: linear-gradient(180deg, rgba(10, 20, 40, 0.2), rgba(11, 27, 61, 0.75));
}

.page-home .home-performance__panel {
  position: relative;
  overflow: hidden;
  padding: clamp(1.5rem, 3.6vw, 2.75rem);
  border: 1px solid rgba(255, 107, 53, 0.35);
  border-radius: calc(var(--home-radius) * 1.15);
  background: linear-gradient(135deg, rgba(11, 27, 61, 0.58), rgba(30, 58, 95, 0.7));
  box-shadow: var(--home-panel-shadow);
}

.page-home .home-performance__panel::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent));
  pointer-events: none;
}

.page-home .home-performance__panel::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 13rem;
  height: 1px;
  background: linear-gradient(90deg, var(--accent), transparent);
  pointer-events: none;
}

.page-home .home-performance__stats {
  display: grid;
  gap: 0.9rem;
  margin: var(--home-gap) 0;
}

.page-home .home-performance__metric {
  background: rgba(10, 20, 40, 0.62);
}

.page-home .home-performance__art {
  overflow: hidden;
  border: 1px solid var(--panel-border);
  border-radius: calc(var(--home-radius) * 0.8);
}

.page-home .home-performance__art img {
  width: 100%;
  object-fit: cover;
}

.page-home .home-performance__note {
  margin: 1.4rem 0 0;
  max-width: 82ch;
  color: var(--dim);
  line-height: 1.8;
}

.page-home .home-clients {
  background: linear-gradient(180deg, rgba(11, 27, 61, 0.6), rgba(10, 20, 40, 0.9));
}

.page-home .home-clients__top {
  display: grid;
  gap: 1rem;
  margin-bottom: var(--home-gap);
}

.page-home .home-clients__intro {
  margin: 0;
  max-width: 62ch;
  color: var(--dim);
  line-height: 1.8;
}

.page-home .home-clients__grid {
  display: grid;
  gap: 0.95rem;
}

.page-home .home-client-card {
  display: grid;
  place-items: center;
  gap: 0.6rem;
  padding: 1.5rem 1rem;
  text-align: center;
  background: rgba(30, 58, 95, 0.34);
  border-left: 1px solid var(--panel-border);
  border-bottom: 3px solid var(--accent);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.page-home .home-client-card:hover {
  background: rgba(30, 58, 95, 0.56);
  transform: translateY(-3px);
}

.page-home .home-client-card__value {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: var(--white);
}

.page-home .home-client-card__label {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--dim);
}

.page-home .home-clients__award {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-top: 1.5rem;
  padding: 1rem 1.25rem;
  background: rgba(255, 107, 53, 0.12);
  border-left: 2px solid var(--accent);
}

.page-home .home-clients__award p {
  margin: 0;
  color: var(--white);
  line-height: 1.6;
}

.page-home .home-clients__links {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 2rem;
  align-items: center;
}

.page-home .home-clients__fee {
  margin: 1.5rem 0 0;
  padding-top: 1.5rem;
  border-top: 1px solid var(--panel-border);
  color: var(--dim);
  font-family: var(--font-mono);
  font-size: 0.9rem;
  line-height: 1.75;
}

@media (min-width: 720px) {
  .page-home .home-calendar__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-performance__stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .page-home .home-clients__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 860px) {
  .page-home .home-client__layout {
    grid-template-columns: 0.7fr 1.3fr;
  }

  .page-home .home-client__media {
    margin-inline: 0;
  }

  .page-home .home-casebook__grid {
    grid-template-columns: 1.05fr 0.95fr;
  }

  .page-home .home-clients__top {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: end;
  }

  .page-home .home-clients__grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1040px) {
  .page-home .home-hero__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    align-items: center;
  }

  .page-home .home-calendar__grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .page-home .home-calendar__grid .bento-card--wide {
    grid-column: span 4;
  }

  .page-home .home-calendar__quick {
    grid-column: span 2;
  }
}
