@font-face {
  font-family: "FGroup Text";
  src: url("../fonts/FGroup-TextMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FGroup Text";
  src: url("../fonts/FGroup-TextBold.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "FGroup Mono";
  src: url("../fonts/FGroup-MonoMedium.otf") format("opentype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

:root,
[data-theme="light"] {
  --page-bg: #efefef;
  --page-ink: #111111;
  --page-desc: rgba(17, 17, 17, 0.8);
  --page-line: #d0d0d0;
  --page-btn: #a8a8a8;
  --page-btn-ink: #111111;
  --page-media-bg: #ffffff;
  --gap: 12px;
}

[data-theme="dark"] {
  --page-bg: #000000;
  --page-ink: #ffffff;
  --page-desc: rgba(255, 255, 255, 0.8);
  --page-line: #2a2a2a;
  --page-btn: #a8a8a8;
  --page-btn-ink: #111111;
  --page-media-bg: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body.landing {
  margin: 0;
  background: var(--page-bg);
  color: var(--page-ink);
  font-family: "FGroup Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
}

.landing-wrap {
  max-width: 720px;
  margin: 0 auto;
  padding: 48px 40px 64px;
}

/* Title — FGroup Text Bold 44 / 0% */
.landing-title,
.landing-heading {
  margin: 0 0 18px;
  font-family: "FGroup Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 44px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--page-ink);
}

.landing-heading {
  margin-top: 32px;
}

/* Body — FGroup Text Medium 18 / 2% */
.landing-body {
  margin: 0 0 16px;
  font-family: "FGroup Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--page-ink);
  white-space: pre-wrap;
}

/* Description — FGroup Mono Medium 12 / 2% / 80% */
.landing-description {
  margin: 0 0 20px;
  font-family: "FGroup Mono", ui-monospace, monospace;
  font-size: 12px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--page-desc);
  white-space: pre-wrap;
}

.landing-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 22px;
}

/* Button — FGroup Mono Medium 10 / 2% */
.landing-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 6px 10px;
  border: 0;
  border-radius: 6px;
  background: var(--page-btn);
  color: var(--page-btn-ink);
  text-decoration: none;
  font-family: "FGroup Mono", ui-monospace, monospace;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none;
  opacity: 0.72;
  transform-origin: center center;
  transition: opacity 0.22s ease-out, transform 0.28s ease-out;
}

.landing-btn:hover {
  opacity: 1;
  transform: scale(1.04);
  transition: opacity 0.01s ease-out, transform 0.01s ease-out;
}

.landing-row {
  display: grid;
  gap: var(--gap);
  margin: 0 0 24px;
}

.landing-row--1 {
  grid-template-columns: minmax(0, 1fr);
}

.landing-row--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.landing-cell {
  min-width: 0;
}

.landing-cell--text .landing-title,
.landing-cell--text .landing-heading,
.landing-cell--text .landing-body,
.landing-cell--text .landing-description {
  margin-top: 0;
}

.landing-title:empty,
.landing-heading:empty {
  min-height: 1.1em;
}

.landing-body:empty,
.landing-description:empty {
  min-height: 1.45em;
}

.landing-image {
  display: block;
  width: 100%;
  height: auto;
  background: transparent;
  cursor: zoom-in;
}

.landing-video {
  cursor: default;
  background: #000000;
  object-fit: cover;
}

.landing-caption {
  margin: 8px 0 0;
  font-family: "FGroup Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  color: var(--page-desc);
  white-space: pre-wrap;
  -webkit-user-select: text;
  user-select: text;
  cursor: text;
}

.landing-dash {
  margin: 28px 0;
  border: 0;
  border-top: 1px solid var(--page-line);
}

[data-theme="light"] .landing-dash {
  mix-blend-mode: multiply;
}

[data-theme="dark"] .landing-dash {
  mix-blend-mode: screen;
}

.landing-footer {
  margin-top: 40px;
  padding-top: 16px;
  border-top: 1px solid var(--page-line);
  font-family: "FGroup Mono", ui-monospace, monospace;
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--page-desc);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(0, 0, 0, 0.92);
  cursor: zoom-out;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(96vw, 1600px);
  max-height: 94vh;
  width: auto;
  height: auto;
  object-fit: contain;
  cursor: zoom-out;
}

