.page-home {
  --home-cream: #FFFDF7;
  --home-line: rgba(201, 160, 99, .28);
  --home-deep: #143228;
  background: var(--bg);
  color: var(--ink);
}

.page-home .section__head {
  margin-bottom: 1.5rem;
}

.page-home .hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  color: var(--white);
}

.page-home .hero__blob {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(160deg, var(--primary) 0%, var(--home-deep) 90%);
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

.page-home .hero__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: .55;
}

.page-home .hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3rem;
  padding-bottom: 3.5rem;
}

.page-home .hero__crumb {
  margin: 0 0 1.25rem;
  font-size: .75rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(247, 243, 232, .72);
}

.page-home .hero__index {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.page-home .hero__index-num {
  font-family: var(--font-head);
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}

.page-home .hero__index-line {
  width: 2.5rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.page-home .hero__index-label {
  font-size: .8rem;
  letter-spacing: .12em;
  color: rgba(247, 243, 232, .78);
}

.page-home .hero__kicker {
  margin: 0 0 .75rem;
  font-size: .9rem;
  letter-spacing: .08em;
  color: var(--gold);
  font-weight: 600;
}

.page-home .hero__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.6rem, 7vw, 5.2rem);
  line-height: 1.08;
  text-wrap: balance;
}

.page-home .hero__lead {
  max-width: 36em;
  margin: 0 0 1.75rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(247, 243, 232, .88);
}

.page-home .hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.page-home .hero__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .75rem;
}

.page-home .hero__meta-text {
  font-size: .875rem;
  color: rgba(247, 243, 232, .78);
}

.page-home .hero__visual {
  position: relative;
  align-self: center;
}

.page-home .hero__img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border-radius: 4px 18px 18px 4px;
  box-shadow: 0 24px 56px rgba(43, 30, 22, .24);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 5% 100%);
}

.page-home .hero__glass {
  position: relative;
  width: fit-content;
  max-width: 90%;
  margin: -1.8rem 0 0 1.5rem;
  padding: 1.1rem 1.4rem;
  background: rgba(247, 243, 232, .84);
  border: 1px solid rgba(201, 160, 99, .55);
  border-radius: 2px 14px 14px 2px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
  transition: transform .2s ease, box-shadow .2s ease;
}

.page-home .hero__glass:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(43, 30, 22, .2);
}

.page-home .hero__glass a {
  display: grid;
  gap: .15rem;
  text-decoration: none;
  color: var(--ink);
}

.page-home .hero__glass-label {
  font-weight: 700;
  color: var(--primary);
  font-size: .95rem;
}

.page-home .hero__glass-note {
  font-size: .8rem;
  color: var(--red);
  letter-spacing: .04em;
}

.page-home .hero__link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .65rem 1.2rem;
  border: 1px solid rgba(247, 243, 232, .65);
  border-radius: var(--radius);
  color: var(--white);
  text-decoration: none;
  font-weight: 600;
  font-size: .9rem;
  background: transparent;
  transition: background .2s, border-color .2s;
}

.page-home .hero__link:hover {
  background: rgba(247, 243, 232, .14);
  border-color: var(--gold);
}

.page-home .updates {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-home .updates__lead {
  max-width: 52em;
  margin: 1rem 0 2rem;
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(43, 30, 22, .76);
}

.page-home .updates__track {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
}

.page-home .update-card {
  position: relative;
  padding: 1.4rem 1.25rem;
  background: var(--home-cream);
  border: 1px solid var(--home-line);
  border-left: 5px solid var(--gold);
  border-radius: 2px 12px 12px 2px;
  box-shadow: 0 1px 0 rgba(43, 30, 22, .04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.page-home .update-card:hover,
.page-home .update-card:focus-within {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  border-color: var(--gold);
}

.page-home .update-card:focus-visible {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.page-home .update-card__num {
  display: block;
  font-family: var(--font-head);
  font-size: 2rem;
  color: var(--gold-deep);
  line-height: 1;
  margin-bottom: .6rem;
}

.page-home .update-card__title {
  margin: 0 0 .3rem;
  font-size: 1.15rem;
  color: var(--primary);
  font-weight: 700;
}

.page-home .update-card__brief {
  margin: 0 0 .65rem;
  font-size: .8rem;
  letter-spacing: .1em;
  color: rgba(138, 51, 36, .8);
}

.page-home .update-card__summary {
  display: none;
  margin: .65rem 0 0;
  padding-top: .65rem;
  border-top: 1px dashed rgba(201, 160, 99, .4);
  font-size: .86rem;
  line-height: 1.7;
  color: rgba(43, 30, 22, .76);
}

.page-home .updates__footer {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  align-items: center;
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--primary);
  background-image: linear-gradient(120deg, rgba(201, 160, 99, .14), transparent 60%);
  border-radius: 2px 18px 18px 2px;
  color: var(--white);
}

.page-home .updates__img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px 10px 10px 2px;
}

.page-home .updates__footer-text {
  display: grid;
  gap: 1.1rem;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(247, 243, 232, .88);
}

.page-home .updates__footer-text p {
  margin: 0;
}

.page-home .member {
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.page-home .member__grid {
  display: grid;
  gap: 1.5rem;
}

.page-home .member__card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  padding: 1.75rem;
  border-radius: 2px 16px 16px 2px;
  overflow: hidden;
}

.page-home .member__card--glass {
  background: linear-gradient(145deg, rgba(247, 243, 232, .92), rgba(216, 224, 220, .72));
  border: 1px solid rgba(201, 160, 99, .4);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow);
  color: var(--ink);
}

.page-home .member__card--dark {
  background: var(--home-deep);
  color: var(--white);
  border: 1px solid rgba(201, 160, 99, .35);
  box-shadow: 0 18px 44px rgba(43, 30, 22, .2);
}

.page-home .member__icon {
  display: block;
  width: 96px;
  height: 96px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid rgba(201, 160, 99, .5);
}

.page-home .member__export-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px 10px 10px 2px;
  border: 1px solid rgba(201, 160, 99, .28);
}

.page-home .member__name {
  margin: 0;
  font-size: 1.4rem;
  font-family: var(--font-head);
  font-weight: 400;
  color: inherit;
}

.page-home .member__desc {
  margin: 0;
  font-size: .95rem;
  line-height: 1.8;
  color: inherit;
  opacity: .88;
}

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

.page-home .member__features li {
  position: relative;
  padding-left: 1.4rem;
  font-size: .9rem;
  color: inherit;
  opacity: .9;
}

.page-home .member__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: .45rem;
  width: .6rem;
  height: .6rem;
  border: 1px solid var(--gold);
  transform: rotate(45deg);
}

.page-home .member__dark-body {
  display: grid;
  gap: 1.1rem;
}

.page-home .member__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

.page-home .category {
  padding-top: 4rem;
  padding-bottom: 4rem;
  background: var(--bg-soft);
}

.page-home .category__lead {
  max-width: 46em;
  margin: 1rem 0 0;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(43, 30, 22, .78);
}

.page-home .tabs {
  margin-top: 2rem;
}

.page-home .tabs__nav {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem;
  border-bottom: 2px solid var(--primary);
  padding-bottom: .75rem;
  margin-bottom: 1.5rem;
}

.page-home .tabs__radio {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  border: 0;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}

.page-home .tabs__btn {
  padding: .55rem 1rem;
  border: 1px solid rgba(30, 61, 50, .28);
  border-radius: 999px;
  background: transparent;
  color: var(--primary);
  font-size: .85rem;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.page-home .tabs__radio:focus-visible + .tabs__btn {
  outline: 2px solid var(--neon);
  outline-offset: 2px;
}

.page-home .tabs__radio:checked + .tabs__btn {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  box-shadow: 0 0 0 1px var(--gold);
}

.page-home .tabs__panel {
  display: none;
  background: var(--home-cream);
  border-left: 4px solid var(--primary);
  border-radius: 0 12px 12px 0;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

.page-home .tabs__panel p {
  margin: 0 0 1rem;
  font-size: .95rem;
  line-height: 1.8;
  color: rgba(43, 30, 22, .8);
}

.page-home .tabs__stats {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
}

.page-home .tabs__stats span {
  padding: .4rem .75rem;
  background: var(--bg-soft);
  border: 1px solid rgba(201, 160, 99, .35);
  border-radius: 999px;
  font-size: .8rem;
  color: var(--primary);
  font-weight: 600;
}

.page-home #tab-all:checked ~ .tabs__panel[data-tab-panel="tab-all"],
.page-home #tab-classic:checked ~ .tabs__panel[data-tab-panel="tab-classic"],
.page-home #tab-bigscreen:checked ~ .tabs__panel[data-tab-panel="tab-bigscreen"],
.page-home #tab-simple:checked ~ .tabs__panel[data-tab-panel="tab-simple"] {
  display: block;
}

.page-home .contact-box {
  margin-top: 1.5rem;
  border: 1px solid rgba(138, 51, 36, .35);
  border-radius: 2px 14px 14px 2px;
  background: var(--home-cream);
  box-shadow: 0 6px 18px rgba(43, 30, 22, .06);
}

.page-home .contact-box__summary {
  display: flex;
  align-items: center;
  gap: .6rem;
  padding: 1.25rem 1.5rem;
  font-size: .95rem;
  font-weight: 700;
  color: var(--red);
  cursor: pointer;
  list-style: none;
}

.page-home .contact-box__summary::-webkit-details-marker {
  display: none;
}

.page-home .contact-box__summary svg {
  flex: 0 0 auto;
}

.page-home .contact-box[open] .contact-box__summary {
  border-bottom: 1px dashed rgba(138, 51, 36, .25);
}

.page-home .contact-box__body {
  padding: 1.25rem 1.5rem 1.5rem;
  display: grid;
  gap: .75rem;
}

.page-home .contact-box__body p {
  margin: 0;
  font-size: .92rem;
  line-height: 1.8;
  color: rgba(43, 30, 22, .82);
}

.page-home .contact-box__email {
  font-weight: 700;
  color: var(--primary);
}

.page-home .trust {
  position: relative;
  background: var(--primary);
  color: var(--white);
  overflow: hidden;
}

.page-home .trust::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, transparent 45%, rgba(63, 224, 197, .28) 46%, rgba(63, 224, 197, .28) 52%, transparent 53%);
}

.page-home .trust::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle at 30% 70%, rgba(201, 160, 99, .24), transparent 62%);
}

.page-home .trust__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem 1.5rem;
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.page-home .trust__item {
  display: grid;
  gap: .3rem;
}

.page-home .trust__num {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3.4vw, 2.6rem);
  color: var(--gold);
  line-height: 1.1;
}

.page-home .trust__label {
  font-size: .82rem;
  letter-spacing: .08em;
  color: rgba(247, 243, 232, .78);
}

.page-home .cta {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  text-align: center;
  background: var(--bg);
}

.page-home .cta::before {
  content: '';
  display: block;
  width: 80%;
  height: 2px;
  margin: 0 auto 3rem;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.page-home .cta__overline {
  display: inline-block;
  font-size: .85rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: .75rem;
}

.page-home .cta__title {
  margin: 0 0 1rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--primary);
}

.page-home .cta__text {
  max-width: 38em;
  margin: 0 auto 2rem;
  font-size: .98rem;
  line-height: 1.8;
  color: rgba(43, 30, 22, .78);
}

.page-home .cta__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

@media (min-width: 640px) {
  .page-home .updates__track {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
    align-items: start;
  }
}

@media (min-width: 860px) {
  .page-home .section__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
  }

  .page-home .hero__blob {
    width: 76%;
    clip-path: polygon(0 0, 93% 0, 68% 100%, 0 100%);
  }

  .page-home .hero__inner {
    grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr);
    align-items: center;
    gap: 3.5rem;
    min-height: calc(100vh - var(--header-h) - 1px);
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }

  .page-home .hero__visual {
    padding-right: 1rem;
  }

  .page-home .hero__glass {
    margin-left: 2.5rem;
  }

  .page-home .updates__footer {
    grid-template-columns: .9fr 1.1fr;
    gap: 2rem;
    padding: 2rem 2.5rem;
  }

  .page-home .member__grid {
    grid-template-columns: .85fr 1.15fr;
    gap: 2rem;
    align-items: stretch;
  }

  .page-home .member__card {
    padding: 2rem;
  }

  .page-home .trust__grid {
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
  }
}

@media (min-width: 1024px) {
  .page-home .updates__track {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    padding-bottom: 1.5rem;
  }

  .page-home .update-card:nth-child(even) {
    transform: translateY(1.5rem);
  }

  .page-home .update-card:nth-child(even):hover,
  .page-home .update-card:nth-child(even):focus-within {
    transform: translateY(calc(1.5rem - 4px));
  }
}

@media (hover: hover) and (pointer: fine) {
  .page-home .update-card:hover .update-card__summary,
  .page-home .update-card:focus-within .update-card__summary {
    display: block;
  }
}

@media (hover: none), (max-width: 639px) {
  .page-home .update-card__summary {
    display: block;
  }
}
