:root {
  --bg: #0b0d10;
  --bg-elevated: #14171b;
  --text: #f4f5f6;
  --text-muted: #a3a9b0;
  --accent: #d7a13c;
  --border: rgba(255, 255, 255, 0.08);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100%;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.site-header {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 24px 6vw;
}

.brand-logo {
  height: 42px;
  width: 42px;
  object-fit: contain;
  border-radius: 8px;
}

.brand-name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
}

main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 4vh 6vw 6vh;
}

.intro {
  text-align: center;
  max-width: 720px;
  margin: 2vh 0 5vh;
}

.intro h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 0 0 16px;
}

.intro p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin: 0;
}

.tiles {
  width: 100%;
  max-width: 1200px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.tile {
  position: relative;
  display: block;
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  text-decoration: none;
  color: var(--text);
  background: var(--bg-elevated);
  border: 1px solid var(--border);
  isolation: isolate;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.tile:hover,
.tile:focus-visible {
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.35);
}

.tile-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  z-index: -2;
}

.tile:hover .tile-bg {
  transform: scale(1.06);
}

.tile-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(
    to top,
    rgba(4, 5, 6, 0.94) 0%,
    rgba(4, 5, 6, 0.55) 45%,
    rgba(4, 5, 6, 0.15) 75%
  );
}

.tile-content {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 32px 28px;
}

.tile-eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}

.tile-content h2 {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0 0 10px;
}

.tile-content p {
  color: var(--text-muted);
  margin: 0 0 20px;
  max-width: 40ch;
  line-height: 1.5;
}

.tile-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 10px 18px;
  border-radius: 999px;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.tile:hover .tile-cta {
  background: var(--accent);
  border-color: var(--accent);
  color: #1a1305;
}

.site-footer {
  text-align: center;
  padding: 24px;
  color: var(--text-muted);
  font-size: 0.85rem;
  border-top: 1px solid var(--border);
}

@media (max-width: 820px) {
  .tiles {
    grid-template-columns: 1fr;
  }
  .tile {
    aspect-ratio: 16 / 11;
  }
}
