.page-home {
  --hn-gap: clamp(20px, 4vw, 48px);
  --hn-line: rgba(143, 163, 191, .16);
  --hn-shadow: 0 26px 70px rgba(6, 12, 24, .55);
  display: block;
  overflow-x: hidden;
}

/* ---------- hero ---------- */

.page-home .hn-hero {
  position: relative;
  padding: clamp(26px, 6vw, 74px) 0 clamp(34px, 6vw, 84px);
  overflow: hidden;
}

.page-home .hn-hero::before {
  content: "";
  position: absolute;
  top: -22%;
  left: -14%;
  width: 72%;
  height: 124%;
  background: radial-gradient(closest-side, rgba(53, 224, 200, .15), transparent 72%);
  pointer-events: none;
}

.page-home .hn-hero::after {
  content: "";
  position: absolute;
  right: -14%;
  bottom: -32%;
  width: 62%;
  height: 92%;
  background: radial-gradient(closest-side, rgba(255, 138, 61, .13), transparent 70%);
  pointer-events: none;
}

.page-home .hn-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(30px, 6vw, 56px);
  align-items: center;
}

.page-home .hn-hero__copy {
  max-width: 34rem;
}

.page-home .hn-hero__copy .h-display {
  margin: 14px 0 0;
  font-size: var(--step-4);
  line-height: 1.14;
  letter-spacing: -.01em;
}

.page-home .hn-hero__copy .lede {
  margin: 18px 0 0;
  color: var(--mist);
  line-height: 1.8;
  max-width: 32rem;
}

.page-home .hn-hero__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin-top: 28px;
}

.page-home .hn-hero__note {
  font-size: var(--step--1);
  color: var(--mist);
  line-height: 1.6;
  max-width: 26ch;
}

.page-home .hn-hero__facts {
  list-style: none;
  margin: 30px 0 0;
  padding: 22px 0 0;
  border-top: 1px solid var(--hn-line);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 30px;
  font-size: var(--step--1);
  color: var(--mist);
  letter-spacing: .02em;
}

.page-home .hn-hero__facts .numeric {
  color: var(--cream);
  font-size: var(--step-2);
  font-weight: 700;
  margin-right: 5px;
  line-height: 1;
}

.page-home .hn-hero__visual {
  position: relative;
  min-height: clamp(270px, 82vw, 520px);
  isolation: isolate;
}

.page-home .hn-hero__shard {
  position: absolute;
  display: block;
  border-radius: var(--radius-l);
  pointer-events: none;
}

.page-home .hn-hero__shard--teal {
  inset: 2% 32% 42% -4%;
  background: linear-gradient(140deg, var(--teal), rgba(53, 224, 200, .08));
  clip-path: polygon(0 6%, 100% 0, 88% 100%, 8% 88%);
  opacity: .85;
}

.page-home .hn-hero__shard--amber {
  inset: 46% -6% 0 26%;
  background: linear-gradient(140deg, rgba(255, 138, 61, .92), rgba(217, 69, 155, .38));
  clip-path: polygon(12% 0, 100% 18%, 90% 100%, 0 86%);
  opacity: .8;
}

.page-home .hn-hero__device {
  position: absolute;
  inset: 9% 16% 7% 12%;
  margin: 0;
  border-radius: var(--radius-l);
  overflow: hidden;
  border: 1px solid rgba(143, 163, 191, .3);
  background: var(--ink-2);
  box-shadow: var(--hn-shadow);
  transform: rotate(-2.5deg);
}

.page-home .hn-hero__device img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- shared page heads ---------- */

.page-home .hn-head {
  max-width: 46rem;
}

.page-home .hn-head__text {
  margin: 14px 0 0;
  color: var(--mist);
  line-height: 1.8;
  max-width: 44rem;
}

/* ---------- category shelf ---------- */

.page-home .hn-cats .section__head {
  margin-bottom: clamp(20px, 3vw, 30px);
}

.page-home .hn-filter {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: clamp(22px, 3.4vw, 34px);
}

.page-home .chip-btn[aria-pressed="true"] {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(53, 224, 200, .1);
}

.page-home .hn-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(14px, 2.4vw, 20px);
}

.page-home .hn-cat {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: linear-gradient(158deg, rgba(20, 42, 84, .88), rgba(11, 27, 58, .6));
  transition: transform .24s var(--ease), border-color .24s var(--ease);
}

.page-home .hn-cat:hover,
.page-home .hn-cat:focus-within {
  transform: translateY(-4px);
  border-color: rgba(53, 224, 200, .5);
}

.page-home .hn-cat.is-filtered-out {
  display: none;
}

.page-home .hn-cat__no {
  font-size: var(--step--1);
  color: var(--amber);
  letter-spacing: .12em;
}

.page-home .hn-cat__title {
  margin: 0;
  font-size: var(--step-2);
  line-height: 1.25;
}

.page-home .hn-cat__title a {
  color: var(--cream);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: border-color .24s var(--ease), color .24s var(--ease);
}

.page-home .hn-cat:hover .hn-cat__title a,
.page-home .hn-cat__title a:focus-visible {
  color: var(--teal);
  border-bottom-color: rgba(53, 224, 200, .55);
}

.page-home .hn-cat__desc {
  margin: 0;
  color: var(--mist);
  line-height: 1.75;
  font-size: var(--step-0);
}

.page-home .hn-cat__branches {
  list-style: none;
  margin: 6px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.page-home .hn-cat__branches li {
  font-size: var(--step--1);
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  border: 1px solid var(--line-faint);
  color: var(--mist);
  letter-spacing: .02em;
  transition: border-color .24s var(--ease), color .24s var(--ease);
}

.page-home .hn-cat:hover .hn-cat__branches li,
.page-home .hn-cat:focus-within .hn-cat__branches li {
  border-color: rgba(53, 224, 200, .34);
  color: var(--cream);
}

/* ---------- three steps ---------- */

.page-home .hn-flow__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(26px, 5vw, 52px);
  align-items: start;
}

.page-home .hn-flow__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(6, 12, 24, .5);
}

.page-home .hn-flow__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

.page-home .hn-flow__body h2 {
  margin: 14px 0 0;
  font-size: var(--step-3);
  line-height: 1.22;
}

.page-home .hn-steps {
  list-style: none;
  margin: clamp(22px, 3.4vw, 32px) 0 0;
  padding: 0;
}

.page-home .hn-step {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr);
  gap: 16px;
  padding: 20px 0;
  border-top: 1px solid var(--line-faint);
}

.page-home .hn-step:first-child {
  border-top: 0;
  padding-top: 0;
}

.page-home .hn-step__no {
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--amber);
  line-height: 1.2;
  letter-spacing: .06em;
}

.page-home .hn-step__body h3 {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.4;
}

.page-home .hn-step__body p {
  margin: 8px 0 0;
  color: var(--mist);
  line-height: 1.78;
}

.page-home .hn-flow__tail {
  margin: 22px 0 0;
  padding-top: 18px;
  border-top: 1px solid var(--line-faint);
  font-size: var(--step--1);
  color: var(--moss);
  letter-spacing: .02em;
}

/* ---------- season snapshot ---------- */

.page-home .hn-season__list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--line-faint);
}

.page-home .hn-season__item {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  padding: clamp(18px, 3vw, 26px) 0;
  border-bottom: 1px solid var(--line-faint);
}

.page-home .hn-season__item .tag {
  justify-self: start;
}

.page-home .hn-season__text h3 {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.45;
}

.page-home .hn-season__text p {
  margin: 8px 0 0;
  color: var(--mist);
  line-height: 1.78;
}

.page-home .hn-season__more {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: clamp(24px, 4vw, 34px) 0 0;
  font-size: var(--step--1);
  color: var(--mist);
}

/* ---------- cross device ---------- */

.page-home .hn-sync__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(28px, 5vw, 48px);
  align-items: center;
}

.page-home .hn-sync__body h2 {
  margin: 14px 0 0;
  font-size: var(--step-3);
  line-height: 1.22;
}

.page-home .hn-sync__lead {
  margin: 16px 0 0;
  color: var(--mist);
  line-height: 1.8;
}

.page-home .hn-sync__list {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.page-home .hn-sync__list li {
  position: relative;
  padding-left: 22px;
  color: var(--mist);
  line-height: 1.78;
}

.page-home .hn-sync__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .72em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 0 4px rgba(53, 224, 200, .12);
}

.page-home .hn-sync__body .btn {
  margin-top: 26px;
}

.page-home .hn-sync__media {
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line-soft);
  background: rgba(6, 12, 24, .5);
}

.page-home .hn-sync__media img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
}

/* ---------- getting unstuck ---------- */

.page-home .hn-fix__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 14px;
}

.page-home .hn-fix__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 22px 20px 20px;
  border: 1px solid var(--line-soft);
  border-left: 2px solid rgba(255, 138, 61, .7);
  border-radius: var(--radius-s);
  background: rgba(20, 42, 84, .5);
  text-decoration: none;
  transition: transform .24s var(--ease), border-color .24s var(--ease), background .24s var(--ease);
}

.page-home .hn-fix__card:hover,
.page-home .hn-fix__card:focus-visible {
  transform: translateY(-3px);
  border-left-color: var(--amber);
  background: rgba(20, 42, 84, .82);
}

.page-home .hn-fix__no {
  font-size: var(--step--1);
  color: var(--amber);
  letter-spacing: .16em;
}

.page-home .hn-fix__card h3 {
  margin: 0;
  font-size: var(--step-1);
  line-height: 1.4;
  color: var(--cream);
}

.page-home .hn-fix__card p {
  margin: 0;
  color: var(--mist);
  line-height: 1.76;
}

.page-home .hn-fix__go {
  margin-top: auto;
  padding-top: 12px;
  font-size: var(--step--1);
  color: var(--teal);
  letter-spacing: .04em;
}

.page-home .hn-fix__more {
  margin: clamp(22px, 3.6vw, 30px) 0 0;
  font-size: var(--step--1);
  color: var(--mist);
  line-height: 1.9;
}

.page-home .hn-fix__more a {
  color: var(--teal);
  text-decoration: none;
  border-bottom: 1px solid rgba(53, 224, 200, .4);
}

.page-home .hn-fix__more a:hover,
.page-home .hn-fix__more a:focus-visible {
  border-bottom-color: var(--teal);
}

/* ---------- locale strip ---------- */

.page-home .hn-locale {
  margin-top: clamp(36px, 6vw, 76px);
  border-top: 1px solid var(--line-faint);
}

.page-home .hn-locale__inner {
  position: relative;
  height: clamp(130px, 24vw, 230px);
  overflow: hidden;
}

.page-home .hn-locale__inner img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: .55;
}

/* ---------- reveal fallback ---------- */

@keyframes hn-reveal {
  from { opacity: 0; transform: translateY(14px); }
  to { opacity: 1; transform: none; }
}

.page-home [data-reveal] {
  animation: hn-reveal .42s var(--ease) both;
}

.page-home [data-reveal="2"] { animation-delay: .06s; }
.page-home [data-reveal="3"] { animation-delay: .12s; }
.page-home [data-reveal="4"] { animation-delay: .18s; }
.page-home [data-reveal="5"] { animation-delay: .24s; }

@media (prefers-reduced-motion: reduce) {
  .page-home [data-reveal] {
    animation: none;
    opacity: 1;
    transform: none;
  }

  .page-home .hn-cat,
  .page-home .hn-fix__card {
    transition: none;
  }

  .page-home .hn-cat:hover,
  .page-home .hn-cat:focus-within,
  .page-home .hn-fix__card:hover,
  .page-home .hn-fix__card:focus-visible {
    transform: none;
  }
}

/* ---------- tablet ---------- */

@media (min-width: 620px) {
  .page-home .hn-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-home .hn-season__item {
    grid-template-columns: 120px minmax(0, 1fr);
    align-items: start;
    gap: 20px;
  }

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

/* ---------- desktop ---------- */

@media (min-width: 900px) {
  .page-home .hn-hero__grid {
    grid-template-columns: minmax(0, 1.02fr) minmax(0, .98fr);
  }

  .page-home .hn-hero__copy .h-display {
    font-size: var(--step-5);
  }

  .page-home .hn-flow__grid {
    grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
    align-items: center;
  }

  .page-home .hn-flow__media {
    transform: translateY(-14px);
  }

  .page-home .hn-sync__grid {
    grid-template-columns: minmax(0, 1fr) minmax(0, .88fr);
  }

  .page-home .hn-sync__media {
    transform: translateY(12px);
  }

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

@media (min-width: 1060px) {
  .page-home .hn-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
