@font-face {
  font-family: "Source Sans 3";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url("/fonts/SourceSans3-Latin.woff2") format("woff2");
}

:root {
  color-scheme: dark;
  --panel: rgba(10, 10, 12, 0.42);
  --panel-strong: rgba(15, 15, 17, 0.78);
  --text: #f7f2ea;
  --text-muted: rgba(247, 242, 234, 0.84);
  --border: rgba(255, 255, 255, 0.24);
  --shadow: 0 18px 60px rgba(0, 0, 0, 0.35);
  --accent: #efe0c8;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  min-height: 100vh;
  font-family: "Source Sans 3", sans-serif;
  color: var(--text);
  background: #080808 url("/images/LeadingPicture.jpg") center center / cover no-repeat fixed;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.48)),
    radial-gradient(circle at top left, rgba(255, 255, 255, 0.12), transparent 38%),
    radial-gradient(circle at bottom right, rgba(0, 0, 0, 0.15), transparent 45%);
}

.hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, 760px);
  padding: 2rem;
  display: grid;
  place-items: center;
}

.button-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--panel);
  backdrop-filter: blur(14px);
  box-shadow: var(--shadow);
}

.action-button {
  appearance: none;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0.95rem 1.45rem;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: lowercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease, color 180ms ease;
}

.action-button:hover,
.action-button:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.action-button--ghost {
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.18);
}

.action-button--ghost:hover,
.action-button--ghost:focus-visible {
  background: rgba(255, 255, 255, 0.14);
}

.action-button--solid {
  color: #17120f;
  background: var(--accent);
}

.action-button--solid:hover,
.action-button--solid:focus-visible {
  background: #f6ead8;
}

.contact-modal {
  border: none;
  padding: 0;
  background: transparent;
  color: var(--text);
}

.contact-modal::backdrop {
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(6px);
}

.contact-modal__panel {
  min-width: min(92vw, 420px);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 1.5rem;
  background: var(--panel-strong);
  box-shadow: var(--shadow);
  text-align: center;
}

.contact-modal__panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.4rem;
  letter-spacing: 0.08em;
  text-transform: lowercase;
}

.contact-modal__email {
  margin: 0 0 1.25rem;
  font-size: 1rem;
  color: var(--text-muted);
  word-break: break-word;
}

@media (max-width: 640px) {
  body {
    background-size: auto 100dvh;
    background-position: center center;
    background-attachment: scroll;
  }

  .hero__content {
    padding: 1rem;
  }

  .button-row {
    width: 100%;
    border-radius: 28px;
  }

  .action-button {
    width: 100%;
    justify-content: center;
  }
}
