:root {
  --brand: #18c7a2;
  --ink: #12201c;
  --paper: #ecefe6;
  --sheet: #fbfaf2;
  --line: rgba(18, 32, 28, 0.2);
  --muted: #61726c;
  --deep: #22322d;
  --signal: #e3ec64;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: "Avenir Next", "Helvetica Neue", "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.5;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.site-shell {
  min-height: 100dvh;
  overflow: hidden;
}

.hero {
  min-height: 100dvh;
  padding: 24px;
  display: grid;
  grid-template-rows: auto 1fr;
  background: var(--paper);
}

.masthead {
  min-height: 72px;
  display: grid;
  grid-template-columns: 72px 1fr auto;
  align-items: center;
  min-width: 0;
  border: 1px solid var(--ink);
  border-bottom: 0;
  background: var(--sheet);
  color: var(--ink);
  font-size: 14px;
  font-weight: 780;
}

.masthead img {
  width: 72px;
  height: 72px;
  border-right: 1px solid var(--ink);
}

.masthead p,
.site-nav {
  margin: 0;
  padding: 0 24px;
}

.site-nav {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
}

.site-nav a {
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  padding: 0 16px;
  border: 1px solid rgba(18, 32, 28, 0.18);
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.site-nav a:hover,
.site-nav .is-active {
  background: var(--ink);
  color: var(--white);
}

.site-nav a:active {
  transform: scale(0.98);
}

.hero-board {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.58fr);
  min-width: 0;
  min-height: calc(100dvh - 120px);
  border: 1px solid var(--ink);
  background: var(--sheet);
}

.hero-copy {
  display: grid;
  align-content: end;
  min-width: 0;
  padding: 56px;
  border-right: 1px solid var(--ink);
}

.hero-lockup {
  width: min(680px, 100%);
  margin-bottom: 96px;
}

.kicker {
  margin: 0 0 18px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 0;
  font-family: "Arial Black", "Avenir Next", "PingFang SC", sans-serif;
  font-size: 78px;
  line-height: 1;
  letter-spacing: 0;
}

h1 span {
  display: block;
  white-space: nowrap;
}

.hero-note {
  margin: 32px 0 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: 620;
}

.interface-sheet {
  display: grid;
  align-content: space-between;
  min-width: 0;
  min-height: 100%;
  padding: 32px;
  background:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px),
    var(--brand);
  background-size: 48px 48px;
  color: var(--ink);
}

.sheet-label {
  margin: 0;
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sheet-line {
  display: grid;
  gap: 16px;
  padding: 28px;
  border: 1px solid rgba(18, 32, 28, 0.34);
  background: rgba(255, 255, 255, 0.86);
}

.sheet-line strong {
  font-family: "Arial Black", "Avenir Next", "PingFang SC", sans-serif;
  font-size: 48px;
  line-height: 1.02;
  letter-spacing: 0;
}

.sheet-line span {
  max-width: 360px;
  font-size: 24px;
  font-weight: 760;
  line-height: 1.22;
}

.interface-sheet dl {
  margin: 0;
  display: grid;
  gap: 1px;
  background: rgba(18, 32, 28, 0.34);
  border: 1px solid rgba(18, 32, 28, 0.34);
}

.interface-sheet dl div {
  display: grid;
  grid-template-columns: 0.58fr 1fr;
  gap: 16px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.82);
}

.interface-sheet dt,
.interface-sheet dd {
  margin: 0;
}

.interface-sheet dt {
  color: rgba(18, 32, 28, 0.62);
  font-size: 12px;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.interface-sheet dd {
  font-size: 15px;
  font-weight: 760;
}

.specimen {
  width: min(1220px, calc(100% - 48px));
  margin: 104px auto;
  border: 1px solid var(--ink);
  background: var(--ink);
}

.specimen-image {
  position: relative;
  margin: 0;
  background: var(--ink);
  overflow: hidden;
}

.specimen-image > img:not(.brand-overlay) {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.home-portals {
  width: min(1220px, calc(100% - 48px));
  margin: -24px auto 118px;
  display: grid;
  gap: 28px;
}

.portal-preview {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 0.72fr);
  border: 1px solid var(--ink);
  background: var(--sheet);
}

.portal-preview.is-reversed {
  grid-template-columns: minmax(360px, 0.72fr) minmax(0, 1.03fr);
}

.portal-preview.is-reversed .preview-media {
  order: -1;
}

.preview-copy {
  display: grid;
  align-content: center;
  padding: 46px;
}

.section-kicker {
  margin: 0 0 16px;
  color: var(--brand);
  font-size: 13px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.preview-copy h2 {
  margin: 0 0 22px;
  font-family: "Arial Black", "Avenir Next", "PingFang SC", sans-serif;
  font-size: 50px;
  line-height: 1.02;
  letter-spacing: 0;
}

.preview-copy p {
  max-width: 700px;
  margin: 0;
  color: var(--deep);
  font-size: 19px;
  font-weight: 560;
  line-height: 1.72;
}

.preview-tags,
.action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.preview-tags {
  margin-top: 26px;
}

.preview-tags span {
  min-height: 34px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid rgba(18, 32, 28, 0.2);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.48);
  font-size: 12px;
  font-weight: 820;
}

.mini-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  margin: 28px 0 0;
  background: var(--line);
  border: 1px solid var(--line);
}

.mini-meta div {
  min-height: 84px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.mini-meta dt,
.mini-meta dd {
  margin: 0;
}

.mini-meta dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 820;
}

.mini-meta dd {
  color: var(--ink);
  font-size: 15px;
  font-weight: 780;
}

.action-row {
  margin-top: 28px;
}

.action-row a {
  min-height: 46px;
  display: inline-grid;
  place-items: center;
  padding: 0 18px;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 15px;
  font-weight: 820;
  transition: transform 160ms ease, background-color 160ms ease, color 160ms ease;
}

.action-row a.is-primary,
.action-row a:hover {
  background: var(--ink);
  color: var(--white);
}

.action-row a:active {
  transform: scale(0.98);
}

.preview-media {
  position: relative;
  min-height: 480px;
  border-left: 1px solid var(--ink);
  background: var(--ink);
  overflow: hidden;
}

.preview-media-stack {
  min-width: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  border-left: 1px solid var(--ink);
  background: var(--ink);
}

.preview-media-stack .preview-media {
  border-left: 0;
}

.portal-preview.is-reversed .preview-media {
  border-right: 1px solid var(--ink);
  border-left: 0;
}

.preview-media > img:not(.brand-overlay) {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 360ms ease;
}

.preview-media:hover > img:not(.brand-overlay) {
  transform: scale(1.03);
}

.preview-media .media-label {
  position: absolute;
  left: 18px;
  top: 18px;
  z-index: 5;
  display: inline-grid;
  min-height: 34px;
  align-items: center;
  padding: 0 12px;
  background: var(--brand);
  color: var(--ink);
  font-size: 12px;
  font-weight: 860;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.preview-media.is-club span {
  background: var(--signal);
}

.video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.play-button {
  position: absolute;
  left: 50%;
  top: 50%;
  z-index: 6;
  width: clamp(58px, 7.5vw, 92px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(3px);
  transform: translate(-50%, -50%);
  transition: transform 180ms ease, background-color 180ms ease;
  pointer-events: none;
}

.play-button svg {
  width: 58%;
  height: 58%;
  margin-left: 4px;
  fill: rgba(255, 255, 255, 0.9);
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.28));
}

.video-poster:hover .play-button {
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%) scale(1.04);
}

.platform-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border-top: 1px solid var(--ink);
  background: var(--ink);
}

.platform-link {
  min-height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: var(--chalk, var(--sheet));
  color: var(--ink);
  font-size: 14px;
  font-weight: 860;
  transition: background-color 160ms ease, color 160ms ease, transform 160ms ease;
}

.platform-link:hover {
  background: var(--ink);
  color: var(--white);
}

.platform-link:active {
  transform: scale(0.98);
}

.platform-icon {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex: 0 0 auto;
}

.brand-overlay {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 4;
  width: clamp(42px, 4.8vw, 72px);
  height: auto;
  opacity: 0.6;
  filter: drop-shadow(0 8px 18px rgba(0, 0, 0, 0.34));
  pointer-events: none;
}

.brand-strip {
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto 118px;
  display: grid;
  grid-template-columns: minmax(260px, 0.42fr) minmax(0, 1fr);
  border: 1px solid var(--ink);
  background: var(--brand);
}

.strip-logo,
.strip-wordmark {
  min-height: 380px;
  display: grid;
  place-items: center;
  padding: 42px;
}

.strip-logo {
  border-right: 1px solid rgba(18, 32, 28, 0.36);
}

.strip-logo img {
  width: min(320px, 84%);
}

.strip-wordmark img {
  width: min(760px, 100%);
}

.footer {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 18px;
  align-items: center;
  width: min(1220px, calc(100% - 48px));
  margin: 0 auto 48px;
  padding: 28px 0 0;
  border-top: 1px solid var(--ink);
  color: var(--ink);
  background: transparent;
}

.footer img {
  width: 48px;
  height: 48px;
}

.footer p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
  font-weight: 620;
}

@media (max-width: 980px) {
  .masthead,
  .hero-board,
  .specimen,
  .portal-preview,
  .portal-preview.is-reversed,
  .brand-strip,
  .footer {
    grid-template-columns: 1fr;
  }

  .masthead {
    border-bottom: 1px solid var(--ink);
  }

  .masthead img {
    border-right: 0;
    border-bottom: 1px solid var(--ink);
  }

  .masthead p,
  .site-nav {
    padding: 16px 18px;
    border-bottom: 1px solid var(--ink);
  }

  .site-nav {
    border-bottom: 0;
    justify-content: flex-start;
  }

  .hero-copy,
  .specimen-image,
  .preview-media,
  .strip-logo {
    border-right: 0;
  }

  .hero-copy {
    padding: 42px;
    border-bottom: 1px solid var(--ink);
  }

  .portal-preview.is-reversed .preview-media {
    order: 0;
    border-right: 0;
  }

  .preview-media {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .preview-media-stack {
    border-left: 0;
    border-top: 1px solid var(--ink);
  }

  .hero-lockup {
    margin-bottom: 68px;
  }

  h1 {
    font-size: 58px;
  }

  .interface-sheet {
    min-height: 560px;
  }

  .strip-logo {
    border-bottom: 1px solid rgba(18, 32, 28, 0.36);
  }

}

@media (max-width: 560px) {
  .hero {
    min-height: auto;
    padding: 12px;
  }

  .masthead img {
    width: 58px;
    height: 58px;
  }

  .masthead p,
  .site-nav {
    padding: 12px 14px;
  }

  .site-nav {
    flex-wrap: wrap;
  }

  .site-nav a {
    min-height: 38px;
    padding: 0 12px;
    font-size: 11px;
  }

  .hero-board {
    min-height: auto;
  }

  .hero-copy {
    padding: 28px 18px 34px;
  }

  .hero-lockup {
    margin-bottom: 54px;
  }

  h1 {
    font-size: 39px;
  }

  .hero-note {
    font-size: 15px;
  }

  .interface-sheet {
    min-height: 520px;
    padding: 18px;
    background-size: 36px 36px;
  }

  .sheet-line {
    padding: 20px;
  }

  .sheet-line strong {
    font-size: 34px;
  }

  .sheet-line span {
    font-size: 21px;
  }

  .interface-sheet dl div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .specimen,
  .home-portals,
  .brand-strip {
    width: calc(100% - 24px);
  }

  .specimen {
    margin: 72px auto;
  }

  .home-portals {
    margin: -28px auto 72px;
    gap: 18px;
  }

  .specimen-image > img:not(.brand-overlay) {
    aspect-ratio: 1;
  }

  .preview-copy {
    padding: 28px 20px;
  }

  .preview-copy h2 {
    font-size: 34px;
  }

  .preview-copy p {
    font-size: 17px;
  }

  .preview-media {
    min-height: 300px;
  }

  .mini-meta {
    grid-template-columns: 1fr;
  }

  .brand-strip {
    margin-bottom: 72px;
  }

  .strip-logo,
  .strip-wordmark {
    min-height: 250px;
    padding: 24px;
  }

  .footer {
    width: calc(100% - 24px);
    margin-bottom: 32px;
    padding-top: 24px;
  }
}

@media (max-width: 360px) {
  h1 span {
    white-space: normal;
  }

  h1 {
    font-size: 34px;
  }

  .sheet-line strong {
    font-size: 30px;
  }

}

@media (prefers-reduced-motion: no-preference) {
  .hero-lockup,
  h1,
  .interface-sheet,
  .specimen,
  .brand-strip {
    animation: settle 520ms ease both;
  }

  .interface-sheet {
    animation-delay: 80ms;
  }

  .specimen,
  .brand-strip {
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }

  .portal-preview {
    animation: settle 520ms ease both;
    animation-timeline: view();
    animation-range: entry 0% cover 24%;
  }
}

@keyframes settle {
  from {
    opacity: 0;
    transform: translateY(14px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}
