:root {
  color-scheme: dark;
  --bg: #07111f;
  --panel: rgba(13, 24, 39, 0.78);
  --line: rgba(148, 163, 184, 0.22);
  --text: #f8fafc;
  --muted: #a8b3c3;
  --accent: #38bdf8;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-height: 100vh;
  background:
    radial-gradient(circle at 20% 10%, rgba(56, 189, 248, 0.2), transparent 32rem),
    radial-gradient(circle at 85% 0%, rgba(245, 158, 11, 0.12), transparent 28rem),
    linear-gradient(145deg, #06111f 0%, #101827 48%, #08111d 100%);
  color: var(--text);
  font-family: Arial, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  line-height: 1.5;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.72), transparent 72%);
  pointer-events: none;
}

a {
  color: inherit;
}

.page {
  position: relative;
  z-index: 1;
  width: min(1100px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 36px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 72px;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(56, 189, 248, 0.45);
  border-radius: 8px;
  background: rgba(14, 165, 233, 0.14);
  color: var(--accent);
  box-shadow: 0 0 26px rgba(56, 189, 248, 0.18);
  font-size: 18px;
}

.intro {
  max-width: 720px;
  margin-bottom: 34px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(38px, 6vw, 64px);
  line-height: 1.07;
  letter-spacing: 0;
}

.intro p {
  color: var(--muted);
  font-size: 18px;
}

.site-list {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.site-link {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px;
  align-items: center;
  overflow: hidden;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 24px;
  background: var(--panel);
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.site-link:hover,
.site-link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(56, 189, 248, 0.62);
  background: rgba(18, 31, 50, 0.92);
  outline: none;
}

.site-link::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 34%;
  min-width: 220px;
  margin-left: auto;
  background-position: center;
  background-size: cover;
  opacity: 0.22;
  filter: saturate(0.9);
  pointer-events: none;
}

.site-link.ampersand::before {
  background-image: url("./ampersand/images/hero-tech-business.jpg");
}

.site-link.whacostech::before {
  background-image: url("./whacostech/assets/images/hero.jpg");
}

.site-link.s-luggage::before {
  background:
    linear-gradient(90deg, rgba(7, 24, 50, 0.28), rgba(27, 117, 255, 0.06)),
    url("./s-luggage/assets/images/hero-lockers.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.site-link.s-door::before {
  background:
    linear-gradient(90deg, rgba(6, 22, 40, 0.3), rgba(37, 99, 235, 0.08)),
    url("./s-door/assets/images/hero-access.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.3;
}

.site-link.s-door2::before {
  background:
    linear-gradient(90deg, rgba(6, 22, 40, 0.34), rgba(16, 185, 129, 0.1)),
    url("./s-door2/assets/images/hero-access.png");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  opacity: 0.32;
}

.site-link.enchant::before {
  background-image: url("./assets/images/enchant-card.png");
}

.site-link.pingpong::before {
  background-image: url("./assets/images/pingpong-card.png");
}

.site-info {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.site-type {
  display: inline-flex;
  min-height: 26px;
  align-items: center;
  margin-bottom: 12px;
  border: 1px solid rgba(148, 163, 184, 0.28);
  border-radius: 8px;
  padding: 0 10px;
  background: rgba(15, 23, 42, 0.72);
  color: #dbeafe;
  font-size: 12px;
  font-weight: 700;
}

.site-title {
  margin-bottom: 8px;
  font-size: 28px;
  line-height: 1.15;
}

.site-desc {
  color: #cbd5e1;
  font-size: 15px;
}

.arrow {
  position: relative;
  z-index: 1;
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  place-items: center;
  border-radius: 8px;
  background: rgba(56, 189, 248, 0.16);
  color: var(--accent);
  font-size: 18px;
}

.footer {
  margin-top: 36px;
  border-top: 1px solid var(--line);
  padding-top: 22px;
  color: #7f8da3;
  font-size: 13px;
}

@media (max-width: 760px) {
  .page {
    width: min(100% - 28px, 1100px);
    padding-top: 30px;
  }

  .brand {
    margin-bottom: 46px;
  }

  .site-link {
    grid-template-columns: 1fr;
    min-height: 190px;
    padding: 22px;
  }

  .site-link::before {
    width: 100%;
    min-width: 0;
    opacity: 0.2;
  }

  .site-title {
    font-size: 24px;
  }

}
