.home-page {
  --home-surface: rgba(8, 12, 20, 0.78);
  --home-border: rgba(255, 255, 255, 0.13);
  --home-lime: #d8ff63;
  background:
    linear-gradient(90deg, rgba(3, 6, 12, 0.92) 0%, rgba(3, 6, 12, 0.57) 49%, rgba(3, 6, 12, 0.78) 100%),
    linear-gradient(180deg, rgba(3, 6, 12, 0.14), #03060c 30%, #03060c 100%),
    var(--site-bg-image) center top / cover no-repeat,
    #03060c !important;
}

.home {
  position: relative;
  z-index: 1;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
}

.home-section {
  padding: 96px 0;
}

.hero {
  isolation: isolate;
  min-height: calc(100svh - 64px);
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  gap: clamp(36px, 7vw, 92px);
  align-items: center;
  padding: 64px 0 78px;
}

.hero-copy {
  max-width: 680px;
}

.hero-intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-bottom: 22px;
}

.hero-kicker,
.section-kicker,
.card-kicker {
  margin: 0 0 14px;
  color: var(--home-lime);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero-intro .hero-kicker {
  margin: 0;
}

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.76rem;
  font-weight: 750;
}

.hero-status i {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--home-lime);
  box-shadow: 0 0 16px rgba(216, 255, 99, 0.76);
}

.hero-title {
  margin: 0;
  font-size: clamp(4.1rem, 9.5vw, 8.6rem);
  line-height: 0.78;
  letter-spacing: -0.075em;
  text-wrap: balance;
  text-shadow: 0 12px 64px rgba(0, 0, 0, 0.48);
}

.hero-title span {
  display: block;
  margin: 0 0 0.22em 0.08em;
  color: rgba(255, 255, 255, 0.64);
  font-family: var(--font-body);
  font-size: 0.19em;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 600px;
  margin: 30px 0 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: clamp(1.06rem, 2vw, 1.27rem);
  line-height: 1.65;
}

.hero-actions,
.offer-actions,
.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.home-button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 20px;
  border: 1px solid var(--home-border);
  border-radius: 999px;
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.92rem;
  font-weight: 800;
  text-decoration: none;
  backdrop-filter: blur(14px);
}

.home-button::after {
  content: '\2197';
  font-size: 0.98rem;
}

.home-button.internal::after {
  content: '\2193';
}

.home-button.primary {
  border-color: transparent;
  color: #06101a;
  background: var(--home-lime);
  box-shadow: 0 16px 50px rgba(216, 255, 99, 0.18);
}

.home-button:hover,
.home-button:focus-visible {
  opacity: 1;
  outline: none;
  transform: translateY(-3px);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.32);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  margin: 28px 0 0;
  padding: 0;
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.82rem;
  font-weight: 700;
  list-style: none;
}

.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.hero-proof li::before {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: '';
  background: var(--home-lime);
  box-shadow: 0 0 16px rgba(216, 255, 99, 0.7);
}

.hero-art {
  position: relative;
  min-height: 570px;
  display: grid;
  place-items: center;
}

.hero-art::before {
  position: absolute;
  width: 78%;
  aspect-ratio: 1;
  border-radius: 50%;
  content: '';
  background: rgba(0, 200, 255, 0.18);
  filter: blur(72px);
}

.art-card {
  position: absolute;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #07101a;
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.58);
}

.art-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.art-card.album {
  z-index: 2;
  width: min(390px, 82%);
  aspect-ratio: 1;
  border-radius: 22px;
  transform: rotate(2.5deg);
}

.art-card.book {
  z-index: 3;
  right: -1%;
  bottom: 18px;
  width: 168px;
  aspect-ratio: 0.8;
  border-radius: 14px;
  transform: rotate(8deg);
}

.art-card figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 42px 14px 13px;
  color: #fff;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.84));
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.art-card figcaption span,
.art-card figcaption strong {
  display: block;
}

.art-card figcaption span {
  color: var(--home-lime);
}

.art-card figcaption strong {
  margin-top: 4px;
  font-size: 0.78rem;
}

/* Editorial hero */
.hero {
  position: relative;
  isolation: isolate;
  min-height: min(820px, calc(100svh - 34px));
  grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.42fr);
  grid-template-rows: auto 1fr auto;
  gap: 36px clamp(30px, 5vw, 72px);
  align-items: end;
  margin-top: 20px;
  padding: clamp(24px, 3.6vw, 46px);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  background: url('../img/home-bg.webp') center 22% / cover no-repeat;
  box-shadow: 0 34px 100px rgba(0, 0, 0, 0.38);
}

.hero::before {
  position: absolute;
  z-index: -2;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, rgba(3, 7, 13, 0.98) 0%, rgba(3, 7, 13, 0.85) 36%, rgba(3, 7, 13, 0.2) 72%, rgba(3, 7, 13, 0.38) 100%),
    linear-gradient(180deg, rgba(3, 7, 13, 0.1), rgba(3, 7, 13, 0.78)),
    url('../img/home-bg.webp') 73% 28% / cover no-repeat;
}

.hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: '';
  background:
    linear-gradient(90deg, transparent 49.85%, rgba(255, 255, 255, 0.08) 50%, transparent 50.15%),
    linear-gradient(180deg, transparent 69.85%, rgba(255, 255, 255, 0.08) 70%, transparent 70.15%);
  pointer-events: none;
}

.hero-rail {
  grid-column: 1 / -1;
  align-self: start;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
  color: rgba(255, 255, 255, 0.63);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-copy {
  z-index: 2;
  max-width: 770px;
  align-self: end;
  padding: clamp(40px, 8vh, 94px) 0 24px;
}

.hero-copy .hero-kicker {
  margin-bottom: 20px;
  color: var(--home-lime);
}

.hero-title {
  font-size: clamp(5.2rem, 11vw, 10rem);
  line-height: 0.72;
  letter-spacing: -0.08em;
  text-transform: uppercase;
}

.hero-title span {
  margin: 0 0 0.28em 0.06em;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.17em;
  letter-spacing: 0.33em;
}

.hero-lead {
  max-width: 570px;
  margin-top: 34px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.04rem, 1.6vw, 1.2rem);
}

.hero-actions {
  margin-top: 28px;
}

.hero-feature {
  z-index: 3;
  width: min(100%, 300px);
  justify-self: end;
  align-self: end;
  margin-bottom: 24px;
}

.hero-feature > a {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr);
  gap: 15px;
  align-items: center;
  padding: 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  color: #fff;
  background: rgba(4, 8, 14, 0.78);
  box-shadow: 0 20px 54px rgba(0, 0, 0, 0.38);
  text-decoration: none;
  backdrop-filter: blur(18px);
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.hero-feature > a:hover,
.hero-feature > a:focus-visible {
  border-color: rgba(216, 255, 99, 0.52);
  outline: none;
  background: rgba(8, 14, 22, 0.94);
  transform: translateY(-4px);
}

.hero-feature figure {
  width: 88px;
  aspect-ratio: 1;
  margin: 0;
  overflow: hidden;
  border-radius: 10px;
}

.hero-feature img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-feature-copy {
  min-width: 0;
}

.hero-feature-copy small,
.hero-feature-copy strong,
.hero-feature-copy em {
  display: block;
}

.hero-feature-copy small {
  color: var(--home-lime);
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero-feature-copy strong {
  margin-top: 5px;
  font-size: 1.05rem;
}

.hero-feature-copy em {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.58);
  font-size: 0.7rem;
  font-style: normal;
  font-weight: 700;
}

.hero-disciplines {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.17);
}

.hero-disciplines span {
  padding-top: 19px;
  color: rgba(255, 255, 255, 0.56);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-disciplines span:not(:first-child) {
  padding-left: 18px;
  border-left: 1px solid rgba(255, 255, 255, 0.13);
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-block: 1px solid var(--home-border);
}

.signal-strip span {
  min-height: 82px;
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-align: center;
  text-transform: uppercase;
}

.signal-strip span + span {
  border-left: 1px solid var(--home-border);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 38px;
}

.section-heading h2,
.service-copy h2,
.list-copy h2 {
  margin: 0;
  font-size: clamp(2.7rem, 6vw, 5.2rem);
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.section-heading p,
.service-copy > p,
.list-copy > p {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--text-dim);
  line-height: 1.7;
}

.portal-grid,
.offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.portal-card,
.offer-card {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid var(--home-border);
  border-radius: 18px;
  color: #fff;
  background: var(--home-surface);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
}

.portal-card img {
  width: 100%;
  height: 100%;
  position: absolute;
  inset: 0;
  display: block;
  object-fit: cover;
  opacity: 0.72;
  transition: transform 0.55s ease, opacity 0.55s ease;
}

.portal-card--rodeo img {
  object-position: right center;
  transform: scale(1.14);
  transform-origin: right center;
}

.portal-card::after {
  position: absolute;
  inset: 0;
  content: '';
  background: linear-gradient(180deg, rgba(2, 5, 10, 0.06) 20%, rgba(2, 5, 10, 0.94) 90%);
}

.portal-card__body {
  position: absolute;
  z-index: 2;
  inset: auto 0 0;
  padding: 28px;
}

.portal-card h3,
.offer-card h3 {
  margin: 0;
  font-size: clamp(1.75rem, 3vw, 2.55rem);
  line-height: 1;
}

.portal-card p,
.offer-card p {
  margin: 12px 0 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.portal-card:hover,
.portal-card:focus-visible {
  opacity: 1;
  outline: none;
  border-color: rgba(216, 255, 99, 0.5);
  transform: translateY(-7px);
}

.portal-card:hover img,
.portal-card:focus-visible img {
  opacity: 0.9;
  transform: scale(1.045);
}

.portal-card--rodeo:hover img,
.portal-card--rodeo:focus-visible img {
  transform: scale(1.19);
}

.portal-link {
  display: inline-flex;
  gap: 8px;
  margin-top: 18px;
  color: var(--home-lime);
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
}

.portal-link::after {
  content: '\2192';
}

.offers-section {
  padding-top: 34px;
}

.offer-card {
  min-height: 350px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
}

.offer-card:nth-child(2) {
  background:
    radial-gradient(circle at 80% 10%, rgba(216, 255, 99, 0.16), transparent 40%),
    var(--home-surface);
}

.offer-card:nth-child(3) {
  background:
    radial-gradient(circle at 80% 10%, rgba(0, 200, 255, 0.2), transparent 42%),
    var(--home-surface);
}

.offer-number {
  color: rgba(255, 255, 255, 0.28);
  font-size: 0.82rem;
  font-weight: 800;
}

.offer-card .home-button {
  width: fit-content;
  margin-top: 24px;
}

.service-panel,
.list-panel {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
  gap: 44px;
  align-items: center;
  padding: clamp(28px, 6vw, 68px);
  border: 1px solid var(--home-border);
  border-radius: 22px;
  background:
    radial-gradient(circle at 95% 12%, rgba(0, 200, 255, 0.2), transparent 34%),
    rgba(4, 8, 16, 0.82);
  box-shadow: 0 34px 90px rgba(0, 0, 0, 0.3);
}

.service-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-list li {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 14px;
  padding: 18px 0;
  border-bottom: 1px solid var(--home-border);
}

.service-list li:last-child {
  border-bottom: 0;
}

.service-list span {
  color: var(--home-lime);
  font-size: 0.75rem;
  font-weight: 900;
}

.service-list strong {
  display: block;
  margin-bottom: 5px;
}

.service-list small {
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

.list-section {
  padding-top: 22px;
}

.list-panel {
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: clamp(36px, 6vw, 76px);
  background:
    radial-gradient(circle at 8% 10%, rgba(216, 255, 99, 0.13), transparent 34%),
    linear-gradient(120deg, rgba(216, 255, 99, 0.05), transparent 52%),
    rgba(4, 8, 16, 0.82);
}

.list-panel .home-button {
  min-width: 190px;
}

.list-benefits {
  display: grid;
  gap: 13px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.list-benefits li {
  display: grid;
  grid-template-columns: 22px 1fr;
  gap: 11px;
  align-items: start;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.92rem;
  line-height: 1.5;
}

.list-benefits li::before {
  display: grid;
  width: 20px;
  height: 20px;
  place-items: center;
  border: 1px solid rgba(216, 255, 99, 0.35);
  border-radius: 50%;
  color: var(--home-lime);
  content: '\2713';
  font-size: 0.68rem;
  font-weight: 900;
}

.list-frequency {
  margin-top: 28px !important;
  color: rgba(255, 255, 255, 0.45) !important;
  font-size: 0.78rem;
}

.newsletter-card {
  padding: clamp(24px, 4vw, 36px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 18px;
  background: rgba(2, 6, 12, 0.72);
  box-shadow: 0 26px 70px rgba(0, 0, 0, 0.28);
}

.newsletter-heading {
  display: grid;
  gap: 7px;
  margin-bottom: 24px;
}

.newsletter-heading span {
  color: var(--home-lime);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.newsletter-heading strong {
  max-width: 420px;
  font-size: 1.22rem;
  line-height: 1.35;
}

.newsletter-form,
.form-field {
  display: grid;
  gap: 9px;
}

.newsletter-form {
  gap: 18px;
}

.form-row {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: 14px;
}

.form-row > :only-child {
  grid-column: 1 / -1;
}

.form-field label {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.75rem;
  font-weight: 800;
}

.req {
  color: var(--home-lime);
}

.form-field input {
  width: 100%;
  min-height: 52px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 10px;
  outline: 0;
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
  font: inherit;
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.form-field input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-field input:hover {
  border-color: rgba(255, 255, 255, 0.26);
}

.form-field input:focus {
  border-color: rgba(216, 255, 99, 0.68);
  background: rgba(255, 255, 255, 0.075);
  box-shadow: 0 0 0 3px rgba(216, 255, 99, 0.09);
}

.consent-label {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: rgba(255, 255, 255, 0.54);
  font-size: 0.75rem;
  line-height: 1.5;
  cursor: pointer;
}

.consent-label input {
  width: 17px;
  height: 17px;
  margin: 1px 0 0;
  accent-color: var(--home-lime);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

.newsletter-form .home-button {
  border: 0;
  cursor: pointer;
}

.newsletter-form .home-button::after {
  content: '\2192';
}

.newsletter-form .home-button:disabled {
  opacity: 0.65;
  cursor: wait;
  transform: none;
}

.form-status {
  flex: 1 1 190px;
  min-height: 1.4em;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.76rem;
  line-height: 1.45;
}

.form-status[data-state='success'] {
  color: var(--home-lime);
}

.form-status[data-state='error'] {
  color: #ff9f9f;
}

.home-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: end;
  padding: 52px 0 40px;
  border-top: 1px solid var(--home-border);
  text-align: left;
}

.footer-brand {
  margin: 0 0 8px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 800;
}

.home-footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 14px 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.82rem;
  font-weight: 700;
}

@media (max-width: 940px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto auto;
    min-height: 760px;
    padding: 28px;
  }

  .hero::before {
    background:
      linear-gradient(90deg, rgba(3, 7, 13, 0.98) 0%, rgba(3, 7, 13, 0.75) 58%, rgba(3, 7, 13, 0.38) 100%),
      linear-gradient(180deg, rgba(3, 7, 13, 0.12), rgba(3, 7, 13, 0.9)),
      url('../img/home-bg.webp') 66% 28% / cover no-repeat;
  }

  .hero-copy {
    grid-column: 1;
    max-width: 760px;
    padding: 76px 0 10px;
  }

  .hero-feature {
    grid-column: 1;
    width: min(100%, 300px);
    justify-self: start;
    margin: 0;
  }

  .hero-art {
    width: min(620px, 100%);
    min-height: 540px;
    margin: 0 auto;
  }

  .portal-grid,
  .offer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .portal-card:last-child,
  .offer-card:last-child {
    grid-column: 1 / -1;
  }

  .service-panel {
    grid-template-columns: 1fr;
  }

  .list-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .home {
    width: min(100% - 24px, 1180px);
  }

  .home-section {
    padding: 72px 0;
  }

  .hero {
    min-height: 0;
    gap: 24px;
    margin-top: 12px;
    padding: 20px;
    border-radius: 20px;
  }

  .hero-title {
    font-size: clamp(4.2rem, 23vw, 6.5rem);
  }

  .hero-rail {
    flex-wrap: wrap;
    padding-bottom: 16px;
  }

  .hero-rail span:last-child {
    display: none;
  }

  .hero-copy {
    padding: 92px 0 8px;
  }

  .hero-lead {
    margin-top: 25px;
  }

  .hero-actions {
    display: grid;
  }

  .hero-actions .home-button {
    width: 100%;
  }

  .hero-feature {
    width: 100%;
  }

  .hero-feature > a {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .hero-feature figure {
    width: 72px;
  }

  .hero-disciplines {
    grid-template-columns: 1fr 1fr;
  }

  .hero-disciplines span {
    padding: 13px 8px 0 0;
  }

  .hero-disciplines span:nth-child(3),
  .hero-disciplines span:nth-child(4) {
    margin-top: 13px;
    border-top: 1px solid rgba(255, 255, 255, 0.13);
  }

  .hero-disciplines span:nth-child(3) {
    padding-left: 0;
    border-left: 0;
  }

  .hero-art {
    min-height: 410px;
  }

  .art-card.album {
    width: min(330px, 84%);
  }

  .art-card.book {
    right: 0;
    bottom: 0;
    width: 126px;
  }

  .signal-strip {
    grid-template-columns: 1fr 1fr;
  }

  .signal-strip span:nth-child(3),
  .signal-strip span:nth-child(4) {
    border-top: 1px solid var(--home-border);
  }

  .signal-strip span:nth-child(3) {
    border-left: 0;
  }

  .portal-grid,
  .offer-grid {
    grid-template-columns: 1fr;
  }

  .portal-card,
  .portal-card:last-child,
  .offer-card:last-child {
    grid-column: auto;
  }

  .portal-card {
    min-height: 410px;
  }

  .list-panel,
  .home-footer {
    grid-template-columns: 1fr;
  }

  .list-panel .home-button {
    width: 100%;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-links {
    justify-content: flex-start;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page *,
  .home-page *::before,
  .home-page *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Refined compact hero */
.hero {
  width: 100vw;
  min-height: calc(100svh - 64px);
  grid-template-columns: minmax(0, 0.95fr) minmax(340px, 0.75fr);
  grid-template-rows: 1fr;
  gap: clamp(42px, 8vw, 112px);
  align-items: center;
  margin-left: calc(50% - 50vw);
  padding: 64px max(24px, calc((100vw - 1180px) / 2)) 78px;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #070b11 url('../img/home-bg.webp') center 22% / cover no-repeat;
  box-shadow: 0 32px 90px rgba(0, 0, 0, 0.3);
}

.hero::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  display: block;
  content: '';
  background:
    linear-gradient(90deg, rgba(3, 6, 12, 0.9) 0%, rgba(3, 6, 12, 0.66) 42%, rgba(3, 6, 12, 0.08) 73%, rgba(3, 6, 12, 0.3) 100%),
    linear-gradient(180deg, rgba(3, 6, 12, 0.02), rgba(3, 6, 12, 0.42));
}

.hero::after {
  display: none;
}

.home-hero-video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.35s ease;
}

.hero-visual.video-ready .home-hero-video {
  opacity: 1;
}

.hero-visual.video-fallback .home-hero-video {
  display: none;
}

.home-hero-sound {
  position: absolute;
  z-index: 5;
  top: 14px;
  right: 14px;
  min-height: 43px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  color: #fff;
  background: rgba(3, 6, 12, 0.62);
  font: inherit;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.home-hero-sound:hover,
.home-hero-sound:focus-visible {
  border-color: rgba(216, 255, 99, 0.66);
  outline: none;
  background: rgba(3, 6, 12, 0.84);
}

.hero-copy {
  max-width: 650px;
  align-self: center;
  padding: 0;
}

.hero-copy .hero-kicker {
  margin-bottom: 21px;
  color: rgba(255, 255, 255, 0.58);
}

.hero-title {
  max-width: none;
  font-size: clamp(4.3rem, 7.7vw, 7.4rem);
  line-height: 0.79;
  letter-spacing: -0.075em;
  white-space: nowrap;
  text-transform: uppercase;
}

.hero-lead {
  max-width: 470px;
  margin-top: 28px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(1.08rem, 1.8vw, 1.28rem);
  line-height: 1.55;
}

.hero-actions {
  flex-wrap: nowrap;
  margin-top: 28px;
}

.hero-actions .home-button {
  min-width: 0;
  padding-inline: 17px;
  white-space: nowrap;
  cursor: pointer;
}

.cta-short {
  display: none;
}

.hero-actions .open-platforms-trigger::after {
  content: '\2197';
}

.hero-actions .visuals-cta::after {
  content: '\2192';
}

.hero-visual {
  position: relative;
  width: min(100%, 500px);
  margin: 0;
  color: inherit;
  text-decoration: none;
  justify-self: end;
  transition: transform 0.3s ease;
}

.hero-visual:hover,
.hero-visual:focus-visible {
  outline: none;
  transform: translateY(-6px);
}

.hero-visual-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.hero-visual:focus-within {
  transform: translateY(-6px);
}

.hero-visual-link:focus-visible {
  outline: 2px solid var(--home-lime);
  outline-offset: 6px;
  border-radius: 20px;
}

.hero-visual::before {
  position: absolute;
  z-index: -1;
  inset: 11% -7% -8% 15%;
  border-radius: 50%;
  content: '';
  background: rgba(0, 200, 255, 0.18);
  filter: blur(70px);
}

.hero-visual-frame {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: #07101a url('https://drive.google.com/thumbnail?id=1R6HGjhGqyeTGkaU_GEAxLlT8aRAf5x3F&sz=w1600') center / cover no-repeat;
  box-shadow: 0 38px 100px rgba(0, 0, 0, 0.52);
}

.hero-visual-frame img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.hero-visual-caption {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-top: 5px;
  padding: 0 2px;
  color: rgba(255, 255, 255, 0.48);
  background: none;
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.hero-visual-caption strong {
  color: #fff;
}

@media (max-width: 940px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr 0.72fr;
    grid-template-rows: 1fr;
    gap: 38px;
    padding: 70px max(24px, calc((100vw - 1180px) / 2));
  }

  .hero-copy {
    grid-column: auto;
    padding: 0;
  }

  .hero-visual {
    grid-column: auto;
    width: 100%;
  }

}

@media (max-width: 680px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 54px 12px 64px;
    border-radius: 0;
  }

  .hero-title {
    font-size: clamp(2.8rem, 13vw, 4.8rem);
  }

  .hero-copy {
    padding: 0;
  }

  .hero-actions {
    display: flex;
    flex-wrap: nowrap;
    gap: 7px;
  }

  .hero-actions .home-button {
    width: auto;
    min-height: 46px;
    flex: 1 1 0;
    padding-inline: 6px;
    font-size: 0.78rem;
  }

  .hero-actions .cta-full {
    display: none;
  }

  .hero-actions .cta-short {
    display: inline;
  }

  .hero-visual {
    width: min(100%, 390px);
    justify-self: center;
  }

  .home-hero-sound {
    top: 14px;
    right: 14px;
    min-height: 39px;
    padding-inline: 12px;
  }

}
