:root {
  color-scheme: dark;
  --bg: #111111;
  --bg-soft: #1b1b1b;
  --panel: rgba(255, 255, 255, 0.05);
  --panel-strong: rgba(255, 248, 233, 0.09);
  --line: rgba(255, 255, 255, 0.1);
  --text: #f5f0e8;
  --muted: #b9b1a5;
  --accent: #f0a54a;
  --accent-soft: rgba(240, 165, 74, 0.15);
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.35);
  --display-font: Georgia, "Times New Roman", serif;
  --body-font: "Trebuchet MS", "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at top left, rgba(202, 119, 17, 0.16), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 255, 255, 0.07), transparent 28%),
    linear-gradient(180deg, #181818 0%, #0c0c0c 100%);
  color: var(--text);
  font-family: var(--body-font);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.6), transparent 90%);
  pointer-events: none;
}

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 28px 0 40px;
}

.site-header,
.site-footer,
.info-grid {
  position: relative;
  z-index: 1;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 8px 0 32px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
}

.brand-text {
  font-size: 0.95rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.site-nav {
  display: inline-flex;
  gap: 24px;
}

.site-nav a,
.text-link {
  color: var(--muted);
  text-decoration: none;
}

.site-nav a:hover,
.text-link:hover,
.site-nav a:focus-visible,
.text-link:focus-visible {
  color: var(--text);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  position: relative;
  z-index: 1;
  min-height: 520px;
  padding: 56px 0 44px;
  overflow: hidden;
}

.hero-copy-block {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero-art {
  position: absolute;
  top: 50%;
  right: 24px;
  width: min(24vw, 320px);
  transform: translateY(-50%);
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 22%,
    #000000 58%,
    #000000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.72) 22%,
    #000000 58%,
    #000000 100%
  );
}

.hero-logo {
  width: 100%;
  height: auto;
  opacity: 0.62;
  filter: drop-shadow(0 30px 70px rgba(0, 0, 0, 0.45));
}

.eyebrow,
.panel-label {
  margin: 0 0 14px;
  color: var(--accent);
  font-size: 0.82rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.panel h2 {
  margin: 0;
  font-family: var(--display-font);
  font-weight: 600;
  line-height: 0.95;
}

.hero h1 {
  max-width: 10ch;
  font-size: clamp(3.6rem, 10vw, 6.5rem);
}

.hero-copy,
.panel p {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 320px));
  gap: 18px;
  margin-top: 26px;
}

.panel {
  padding: 28px;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.link-panel {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  position: relative;
  isolation: isolate;
  color: inherit;
  text-decoration: none;
  overflow: hidden;
  background-position: center;
  background-size: cover;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease;
}

.link-panel::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background:
    linear-gradient(180deg, rgba(12, 12, 12, 0.18), rgba(12, 12, 12, 0.72)),
    var(--panel-image),
    var(--panel);
  background-position: center;
  background-size: cover;
}

.link-panel:hover,
.link-panel:focus-visible {
  transform: translateY(-3px);
  border-color: rgba(240, 165, 74, 0.28);
}

.link-panel-label {
  position: relative;
  z-index: 1;
  color: var(--text);
  font-family: var(--display-font);
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 26px;
  margin-top: 22px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 860px) {
  .site-header,
  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero {
    min-height: 460px;
  }

  .hero-art {
    right: 12px;
    width: min(30vw, 240px);
  }

  .info-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(100% - 20px, 1120px);
    padding-top: 20px;
  }

  .site-nav {
    gap: 16px;
    flex-wrap: wrap;
  }

  .hero {
    min-height: 0;
    padding-top: 30px;
  }

  .hero h1 {
    max-width: 12ch;
    line-height: 1;
  }

  .hero-art {
    position: relative;
    top: auto;
    right: auto;
    width: min(44vw, 180px);
    margin: 26px 0 0 auto;
    transform: none;
  }

  .panel {
    padding: 22px;
  }
}
