/* DavidLimon.com placeholder site */
:root {
  --page: #07101d;
  --page-deep: #040a12;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-hover: rgba(255, 255, 255, 0.09);
  --text: #f4f7fb;
  --muted: #aab5c4;
  --line: rgba(255, 255, 255, 0.13);
  --blue: #6aa9ff;
  --mint: #55dfb5;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 15% 10%, rgba(40, 117, 219, 0.2), transparent 34rem),
    radial-gradient(circle at 90% 45%, rgba(49, 196, 151, 0.11), transparent 30rem),
    linear-gradient(145deg, var(--page), var(--page-deep));
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 80%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(calc(100% - 40px), var(--max-width));
  margin-inline: auto;
}

.site-header {
  display: flex;
  min-height: 92px;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-size: 0.98rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(106, 169, 255, 0.48);
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(106, 169, 255, 0.18), rgba(85, 223, 181, 0.1));
  color: #dcebff;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
}

.header-link {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 160ms ease;
}

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

.hero {
  max-width: 950px;
  padding: clamp(82px, 12vw, 154px) 0 clamp(90px, 12vw, 145px);
}

.eyebrow,
.section-label,
.project-type {
  margin: 0;
  color: var(--mint);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

h1 {
  max-width: 930px;
  margin: 22px 0 25px;
  font-size: clamp(3rem, 8vw, 6.9rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

h1 span {
  display: block;
  color: var(--muted);
}

.intro {
  max-width: 720px;
  margin: 0;
  color: #c5ceda;
  font-size: clamp(1.08rem, 2vw, 1.34rem);
  line-height: 1.75;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 13px;
  margin-top: 38px;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 21px;
  border: 1px solid transparent;
  border-radius: 14px;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--text);
  color: #07101d;
}

.button-primary:hover,
.button-primary:focus-visible {
  background: #dfe9f7;
}

.button-secondary {
  border-color: var(--line);
  background: rgba(255, 255, 255, 0.035);
}

.button-secondary:hover,
.button-secondary:focus-visible {
  border-color: rgba(255, 255, 255, 0.27);
  background: rgba(255, 255, 255, 0.075);
}

.projects {
  padding: 0 0 clamp(90px, 12vw, 145px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 27px;
}

h2 {
  margin: 7px 0 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: -0.04em;
  line-height: 1.1;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 15px;
}

.project-card {
  display: flex;
  min-height: 285px;
  flex-direction: column;
  justify-content: space-between;
  padding: 29px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel);
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.project-card:hover,
.project-card:focus-visible {
  transform: translateY(-5px);
  border-color: rgba(106, 169, 255, 0.4);
  background: var(--panel-hover);
}

.project-card h3 {
  margin: 13px 0 11px;
  font-size: 1.42rem;
  letter-spacing: -0.025em;
}

.project-card p:not(.project-type) {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.card-arrow {
  align-self: end;
  color: var(--blue);
  font-size: 1.35rem;
}

.site-footer {
  display: flex;
  min-height: 105px;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  border-top: 1px solid var(--line);
  color: #8895a7;
  font-size: 0.84rem;
}

.site-footer p {
  margin: 0;
}

@media (max-width: 800px) {
  .project-grid {
    grid-template-columns: 1fr;
  }

  .project-card {
    min-height: 220px;
  }
}

@media (max-width: 560px) {
  .page-shell {
    width: min(calc(100% - 28px), var(--max-width));
  }

  .site-header {
    min-height: 76px;
  }

  .header-link {
    font-size: 0.84rem;
  }

  .hero {
    padding-top: 74px;
  }

  h1 {
    font-size: clamp(2.75rem, 15vw, 4.4rem);
  }

  .actions,
  .button {
    width: 100%;
  }

  .project-card {
    padding: 24px;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
