.page-home {
  --home-cut: 22px;
  --home-line: rgba(168, 184, 200, .3);
  background: var(--foam);
  color: var(--ink);
  font-family: var(--font-body);
  overflow-x: hidden;
}

.page-home a:focus-visible,
.page-home button:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 3px;
}

.page-home .shell {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

/* ---------- hero ---------- */
.page-home .hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(158deg, #061F2E 0%, #0B3C5D 60%, #14547f 100%);
  color: var(--foam);
  padding-bottom: clamp(2.5rem, 6vw, 4.5rem);
}

.page-home .hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .22;
}

.page-home .hero__veil {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(90% 70% at 85% 0%, rgba(0, 229, 255, .16), transparent 62%),
    linear-gradient(180deg, rgba(6, 31, 46, .55) 0%, rgba(6, 31, 46, .9) 78%);
}

.page-home .hero__inner {
  width: 100%;
  max-width: var(--max-wide);
  margin-inline: auto;
  padding-inline: var(--gutter);
  padding-top: clamp(1rem, 3vw, 1.75rem);
}

.page-home .hero__crumb {
  margin-bottom: clamp(1.25rem, 3vw, 2rem);
}

.page-home .hero__crumb .breadcrumb__link,
.page-home .hero__crumb .breadcrumb__current,
.page-home .hero__crumb .breadcrumb__item {
  color: var(--grey);
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .12em;
}

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

.page-home .hero__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  min-width: 0;
}

.page-home .hero__rail {
  min-width: 0;
}

.page-home .hero__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .28em;
  color: var(--cyan);
}

.page-home .hero__title {
  margin: .9rem 0 0;
  font-family: var(--font-body);
  font-weight: 200;
  font-size: clamp(2.5rem, 8.5vw, 4.6rem);
  line-height: 1.02;
  letter-spacing: .01em;
}

.page-home .hero__title em {
  font-style: normal;
  color: var(--cyan);
  font-weight: 400;
}

.page-home .hero__lede {
  margin: 1.35rem 0 0;
  max-width: 33em;
  font-size: clamp(.95rem, 1.4vw, 1.05rem);
  line-height: 1.85;
  color: #cfdde7;
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  margin-top: 1.6rem;
}

.page-home .hero__btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding-inline: 1.4rem;
  font-size: .9rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.page-home .hero__btn--ghost {
  border: 1px solid rgba(168, 184, 200, .5);
  color: var(--foam);
  background: transparent;
}

.page-home .hero__btn--ghost:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.page-home .hero__figures {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 2rem 0 0;
  background: var(--home-line);
  border-block: 1px solid var(--home-line);
}

.page-home .hero__figure {
  background: rgba(6, 31, 46, .5);
  padding: .85rem .9rem;
}

.page-home .hero__figure-label {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .66rem;
  letter-spacing: .1em;
  color: var(--grey);
}

.page-home .hero__figure-value {
  margin: .3rem 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.5rem, 4vw, 2rem);
  line-height: 1;
  color: var(--foam);
}

.page-home .hero__figure-value span {
  margin-left: .2em;
  font-size: .55em;
  font-weight: 400;
  color: var(--grey);
}

.page-home .hero__figure-value--text {
  font-size: clamp(1.15rem, 3vw, 1.45rem);
  color: var(--orange);
}

/* hero deck */
.page-home .hero__deck {
  display: grid;
  gap: .85rem;
  min-width: 0;
}

.page-home .deck__card {
  position: relative;
  min-width: 0;
  padding: 1.15rem;
  background: rgba(242, 247, 250, .06);
  border: 1px solid var(--home-line);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - var(--home-cut)), calc(100% - var(--home-cut)) 100%, 0 100%);
  transition: border-color .3s var(--ease), background .3s var(--ease);
}

.page-home .deck__card:hover {
  border-color: var(--cyan);
  background: rgba(0, 229, 255, .09);
}

.page-home .deck__card--main {
  background: linear-gradient(155deg, rgba(0, 229, 255, .13), rgba(6, 31, 46, .55) 68%);
}

.page-home .deck__card--update {
  border-color: rgba(255, 107, 53, .45);
}

.page-home .deck__tag {
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .12em;
}

.page-home .deck__title {
  margin: .7rem 0 .9rem;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  font-weight: 500;
  line-height: 1.3;
  color: var(--foam);
}

.page-home .deck__shot {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(168, 184, 200, .22);
}

.page-home .deck__views {
  list-style: none;
  margin: .9rem 0 0;
  padding: 0;
}

.page-home .view-row {
  display: grid;
  grid-template-columns: 4.2rem minmax(0, 1fr) auto;
  align-items: baseline;
  gap: .6rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(168, 184, 200, .18);
}

.page-home .view-row__name {
  font-size: .88rem;
  font-weight: 600;
  color: var(--foam);
}

.page-home .view-row__note {
  font-size: .78rem;
  line-height: 1.5;
  color: var(--grey);
}

.page-home .view-row__idx {
  font-family: var(--font-mono);
  font-size: .68rem;
  color: var(--cyan);
}

.page-home .deck__pulse {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  margin: 0;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-home .deck__pulse--violet {
  color: #b3a9ff;
}

.page-home .deck__dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  animation: home-dot 2.2s var(--ease) infinite;
}

.page-home .deck__big {
  margin: .6rem 0 0;
  font-family: var(--font-mono);
  font-weight: 700;
  font-size: clamp(1.9rem, 4.5vw, 2.5rem);
  line-height: 1;
  color: var(--foam);
}

.page-home .deck__big span {
  margin-left: .25em;
  font-size: .42em;
  font-weight: 400;
  color: var(--grey);
}

.page-home .deck__subtitle {
  margin: .55rem 0 0;
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--foam);
}

.page-home .deck__text {
  margin: .7rem 0 0;
  font-size: .84rem;
  line-height: 1.7;
  color: var(--grey);
}

.page-home .deck__link {
  display: inline-block;
  margin-top: .8rem;
  font-family: var(--font-mono);
  font-size: .74rem;
  letter-spacing: .1em;
  color: var(--orange);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
}

.page-home .deck__link:hover {
  color: var(--cyan);
}

@keyframes home-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}

/* ---------- quick ---------- */
.page-home .quick {
  padding: clamp(2.75rem, 7vw, 5rem) 0;
  background: var(--foam);
}

.page-home .quick__grid {
  display: grid;
  gap: clamp(1.75rem, 4vw, 3rem);
  align-items: center;
}

.page-home .quick__media {
  margin: 0;
  min-width: 0;
}

.page-home .quick__img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  object-fit: cover;
  aspect-ratio: 3 / 4;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%);
  border: 1px solid var(--mist);
}

.page-home .quick__caption {
  margin-top: .6rem;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .06em;
  color: var(--slate-soft);
}

.page-home .section__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .22em;
  color: var(--deep);
}

.page-home .quick__title {
  margin: .7rem 0 0;
  font-weight: 300;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  line-height: 1.22;
  letter-spacing: .01em;
  color: var(--ink);
}

.page-home .quick__lede {
  margin: 1rem 0 0;
  max-width: 36em;
  font-size: .98rem;
  line-height: 1.8;
  color: var(--slate);
}

.page-home .steps {
  list-style: none;
  margin: 1.6rem 0 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--mist);
  border-block: 1px solid var(--mist);
}

.page-home .step {
  display: grid;
  grid-template-columns: 2.4rem minmax(0, 1fr);
  gap: .9rem;
  padding: 1.05rem .2rem;
  background: var(--foam);
}

.page-home .step__num {
  font-family: var(--font-mono);
  font-size: .8rem;
  font-weight: 700;
  color: var(--deep);
  padding-top: .2rem;
}

.page-home .step__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
  color: var(--ink);
}

.page-home .step__text {
  margin: .35rem 0 0;
  font-size: .9rem;
  line-height: 1.75;
  color: var(--slate-soft);
}

.page-home .quick__note {
  margin: 1.1rem 0 0;
  padding-left: .85rem;
  border-left: 3px solid var(--cyan);
  font-size: .85rem;
  line-height: 1.7;
  color: var(--slate);
}

.page-home .quick__actions {
  display: flex;
  flex-wrap: wrap;
  gap: .7rem;
  margin-top: 1.5rem;
}

.page-home .quick__btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 1.25rem;
  font-size: .88rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

/* ---------- weekly ---------- */
.page-home .weekly {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--abyss);
  color: var(--foam);
  padding: clamp(2.75rem, 7vw, 4.5rem) 0;
}

.page-home .weekly__bg {
  position: absolute;
  inset: 0;
  z-index: -1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .18;
  filter: saturate(.6);
}

.page-home .weekly::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(115deg, rgba(6, 31, 46, .96) 30%, rgba(11, 60, 93, .78) 100%);
}

.page-home .weekly__body {
  display: grid;
  gap: clamp(1.75rem, 4vw, 2.75rem);
  position: relative;
}

.page-home .weekly__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-home .weekly__title {
  margin: .7rem 0 0;
  font-weight: 300;
  font-size: clamp(1.65rem, 4.2vw, 2.4rem);
  line-height: 1.24;
  color: var(--foam);
}

.page-home .weekly__text {
  margin: 1rem 0 0;
  font-size: .95rem;
  line-height: 1.85;
  color: #c6d5e0;
}

.page-home .weekly__meta {
  margin: .9rem 0 0;
  font-family: var(--font-mono);
  font-size: .72rem;
  letter-spacing: .08em;
  color: var(--grey);
}

.page-home .weekly__btn {
  margin-top: 1.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 1.3rem;
  font-size: .88rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.page-home .weekly__list {
  display: grid;
  gap: .6rem;
  min-width: 0;
}

.page-home .weekly__item {
  background: rgba(242, 247, 250, .06);
  border: 1px solid rgba(168, 184, 200, .26);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%);
  transition: border-color .3s var(--ease);
}

.page-home .weekly__item:hover {
  border-color: var(--cyan);
}

.page-home .weekly__item .accordion__heading {
  margin: 0;
}

.page-home .weekly__item .accordion__trigger {
  width: 100%;
  min-height: 56px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 1.4rem;
  align-items: center;
  gap: .8rem;
  padding: .9rem 1rem;
  background: transparent;
  border: 0;
  color: var(--foam);
  text-align: left;
  cursor: pointer;
}

.page-home .weekly__issue {
  display: block;
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .1em;
  color: var(--orange);
}

.page-home .weekly__subject {
  display: block;
  margin-top: .3rem;
  font-size: .98rem;
  font-weight: 500;
  line-height: 1.45;
}

.page-home .weekly__item .accordion__icon {
  position: relative;
  width: 1.4rem;
  height: 1.4rem;
  border: 1px solid rgba(168, 184, 200, .5);
}

.page-home .weekly__item .accordion__icon::before,
.page-home .weekly__item .accordion__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--cyan);
  transform: translate(-50%, -50%);
}

.page-home .weekly__item .accordion__icon::before {
  width: 9px;
  height: 1px;
}

.page-home .weekly__item .accordion__icon::after {
  width: 1px;
  height: 9px;
  transition: opacity .25s var(--ease);
}

.page-home .weekly__item [aria-expanded="true"] .accordion__icon::after {
  opacity: 0;
}

.page-home .weekly__item .accordion__panel {
  padding: 0 1rem 1.1rem;
  border-top: 1px solid rgba(168, 184, 200, .18);
  margin-top: .2rem;
}

.page-home .weekly__item .accordion__panel p {
  margin: .9rem 0 0;
  font-size: .88rem;
  line-height: 1.8;
  color: #c6d5e0;
}

/* ---------- lens ---------- */
.page-home .lens {
  padding: clamp(2.75rem, 7vw, 5rem) 0;
  background: var(--foam);
}

.page-home .lens__head {
  display: grid;
  gap: 1rem;
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.page-home .lens__title {
  margin: .7rem 0 0;
  font-weight: 300;
  font-size: clamp(1.7rem, 4.4vw, 2.5rem);
  line-height: 1.22;
  color: var(--ink);
}

.page-home .lens__note {
  margin: 0;
  font-size: .86rem;
  line-height: 1.75;
  color: var(--slate-soft);
  border-left: 3px solid var(--violet);
  padding-left: .85rem;
}

.page-home .lens__grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--mist);
  border: 1px solid var(--mist);
}

.page-home .lens__card {
  background: var(--foam);
  padding: 1.35rem 1.15rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
  transition: background .3s var(--ease), transform .3s var(--ease);
}

.page-home .lens__card:hover {
  background: #ffffff;
  transform: translateY(-2px);
}

.page-home .lens__num {
  font-family: var(--font-mono);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  color: var(--deep);
}

.page-home .lens__name {
  margin: 0;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--ink);
}

.page-home .lens__text {
  margin: 0;
  font-size: .88rem;
  line-height: 1.75;
  color: var(--slate-soft);
}

.page-home .lens__tag {
  align-self: flex-start;
  margin-top: auto;
  font-family: var(--font-mono);
  font-size: .64rem;
  letter-spacing: .1em;
}

/* ---------- shelf ---------- */
.page-home .shelf {
  padding: 0 0 clamp(2.75rem, 7vw, 5rem);
  background: var(--foam);
}

.page-home .shelf__body {
  display: grid;
  gap: clamp(1.25rem, 3vw, 2rem);
}

.page-home .shelf__panel {
  position: relative;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  background: linear-gradient(150deg, var(--deep) 0%, var(--abyss) 100%);
  color: var(--foam);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 30px), calc(100% - 30px) 100%, 0 100%);
}

.page-home .shelf__panel::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(225deg, rgba(0, 229, 255, .3), transparent 68%);
  pointer-events: none;
}

.page-home .shelf__kicker {
  margin: 0;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .2em;
  color: var(--cyan);
}

.page-home .shelf__title {
  margin: .7rem 0 0;
  font-weight: 300;
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  line-height: 1.24;
  color: var(--foam);
}

.page-home .shelf__text {
  margin: .95rem 0 0;
  font-size: .92rem;
  line-height: 1.85;
  color: #c6d5e0;
}

.page-home .shelf__btn {
  margin-top: 1.4rem;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding-inline: 1.35rem;
  font-size: .88rem;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%);
}

.page-home .shelf__nav-title {
  margin: 0 0 .6rem;
  font-family: var(--font-mono);
  font-size: .7rem;
  letter-spacing: .18em;
  color: var(--slate-soft);
}

.page-home .shelf__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1px;
  background: var(--mist);
  border-block: 1px solid var(--mist);
}

.page-home .shelf__item {
  background: var(--foam);
}

.page-home .shelf__link {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: .35rem .9rem;
  min-height: 44px;
  padding: .95rem .2rem;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: background .25s var(--ease), padding-left .25s var(--ease);
}

.page-home .shelf__link:hover {
  background: #eaf2f7;
  padding-left: .6rem;
}

.page-home .shelf__link-name {
  font-size: .98rem;
  font-weight: 600;
  color: var(--ink);
}

.page-home .shelf__link-note {
  font-family: var(--font-mono);
  font-size: .68rem;
  letter-spacing: .04em;
  color: var(--slate-soft);
}

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

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

  .page-home .deck__card--main {
    grid-row: span 2;
  }

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

  .page-home .lens__head {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr);
    align-items: end;
  }
}

@media (min-width: 900px) {
  .page-home .hero__grid {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    align-items: start;
  }

  .page-home .quick__grid {
    grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr);
    align-items: center;
  }

  .page-home .shelf__body {
    grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
    align-items: start;
  }
}

@media (min-width: 1000px) {
  .page-home .weekly__body {
    grid-template-columns: minmax(0, 4.2fr) minmax(0, 7.8fr);
    align-items: start;
  }
}

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

@media (prefers-reduced-motion: reduce) {
  .page-home .deck__dot {
    animation: none;
  }

  .page-home .deck__card,
  .page-home .lens__card,
  .page-home .shelf__link {
    transition: none;
  }
}
