:root {
  --navy: #061327;
  --navy-2: #0b1e3a;
  --navy-3: #10294c;
  --ink: #f7fbff;
  --muted: #b9c9dd;
  --soft: #dce7f5;
  --temple: #9d2235;
  --gold: #f5b84b;
  --line: rgba(255, 255, 255, 0.14);
  --panel: rgba(255, 255, 255, 0.07);
  --panel-strong: rgba(255, 255, 255, 0.11);
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(157, 34, 53, 0.24), transparent 30rem),
    linear-gradient(135deg, var(--navy) 0%, #071b34 52%, #09162b 100%);
}

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

a {
  color: inherit;
  text-decoration: none;
}

p {
  color: var(--muted);
  line-height: 1.7;
}

ul {
  margin: 0;
  padding-left: 1.2rem;
}

li {
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 0.45rem;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 18px 0;
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand::before {
  content: "DL";
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: linear-gradient(135deg, var(--temple), var(--navy-3));
  border-radius: 8px;
  color: white;
  font-size: 0.9rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 6px;
  border: 1px solid var(--line);
  background: rgba(4, 16, 33, 0.72);
  border-radius: 999px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.18);
}

.nav-links a {
  padding: 0.72rem 1rem;
  border-radius: 999px;
  color: var(--soft);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav-links a:hover,
.nav-links a.active {
  background: rgba(255, 255, 255, 0.12);
  color: white;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.48;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 19, 39, 0.97) 0%, rgba(6, 19, 39, 0.82) 44%, rgba(6, 19, 39, 0.55) 100%),
    linear-gradient(to top, rgba(6, 19, 39, 1) 0%, transparent 42%);
}

.hero-content {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 390px);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 6rem 0;
}

.eyebrow,
.section-kicker,
.project-type {
  margin: 0 0 0.85rem;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero h1,
.page-heading h1 {
  margin: 0;
  max-width: 850px;
  color: white;
  font-size: clamp(3rem, 7vw, 6.8rem);
  line-height: 0.95;
  letter-spacing: 0;
}

.intro {
  max-width: 680px;
  margin: 1.35rem 0 0;
  color: #e9f2ff;
  font-size: clamp(1.06rem, 2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0.85rem 1.15rem;
  border-radius: 8px;
  font-weight: 800;
  transition: transform 160ms ease, background 160ms ease, border-color 160ms ease;
}

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

.button.primary {
  background: var(--gold);
  color: #111827;
}

.button.secondary {
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(255, 255, 255, 0.08);
  color: white;
}

.headshot {
  width: min(100%, 390px);
  aspect-ratio: 1;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.content-band,
.highlights,
.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.content-band {
  padding: 5.5rem 0 3.5rem;
}

.section-grid {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(2rem, 7vw, 6rem);
  align-items: start;
}

.section-grid h2,
.resume-section h2,
.sidebar-block h2 {
  margin: 0;
  color: white;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
  line-height: 1.08;
  letter-spacing: 0;
}

.stacked-copy p:first-child {
  margin-top: 0;
}

.contact-line a {
  color: var(--gold);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  padding: 1rem 0 5.5rem;
}

.highlight-card,
.project-card,
.resume-sidebar,
.resume-main {
  border: 1px solid var(--line);
  background: linear-gradient(180deg, var(--panel-strong), rgba(255, 255, 255, 0.045));
  border-radius: 8px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.16);
}

.highlight-card {
  padding: 1.25rem;
}

.metric {
  display: inline-grid;
  place-items: center;
  width: 58px;
  height: 34px;
  margin-bottom: 1.15rem;
  border: 1px solid rgba(245, 184, 75, 0.34);
  border-radius: 999px;
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 900;
}

.highlight-card h3,
.project-card h2,
.timeline-item h3 {
  margin: 0 0 0.65rem;
  color: white;
  letter-spacing: 0;
}

.highlight-card p,
.project-card p {
  margin-bottom: 0;
}

.page-shell {
  padding: 4rem 0 5rem;
}

.page-heading {
  margin-bottom: 2rem;
  padding: clamp(2rem, 5vw, 4rem);
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(157, 34, 53, 0.24), transparent 44%),
    rgba(255, 255, 255, 0.055);
  border-radius: 8px;
}

.page-heading p {
  max-width: 720px;
  margin: 1rem 0 1.5rem;
  font-size: 1.05rem;
}

.resume-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 1rem;
  align-items: start;
}

.resume-sidebar {
  position: sticky;
  top: 92px;
  padding: 1.35rem;
}

.sidebar-block + .sidebar-block {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}

.sidebar-block h2 {
  margin-bottom: 1rem;
  font-size: 1rem;
  text-transform: uppercase;
  color: var(--gold);
}

.sidebar-block p {
  margin: 0 0 1rem;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0;
  list-style: none;
}

.tag-list li {
  margin: 0;
  padding: 0.45rem 0.62rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #edf6ff;
  font-size: 0.88rem;
}

.resume-main {
  padding: clamp(1.25rem, 3vw, 2.35rem);
}

.resume-section + .resume-section {
  margin-top: 2.6rem;
  padding-top: 2.6rem;
  border-top: 1px solid var(--line);
}

.resume-section h2 {
  margin-bottom: 1rem;
  font-size: clamp(1.35rem, 3vw, 2rem);
}

.resume-section p {
  margin-top: 0;
}

.check-list {
  padding-left: 1.1rem;
}

.timeline-item {
  padding: 1.25rem 0;
}

.timeline-item + .timeline-item {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.timeline-meta {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.45rem;
  color: var(--soft);
}

.timeline-meta span {
  color: var(--muted);
  text-align: right;
}

.project-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 430px);
  gap: 1.5rem;
  align-items: center;
}

.project-heading img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.22);
}

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

.project-card {
  display: flex;
  min-height: 320px;
  flex-direction: column;
  padding: 1.35rem;
}

.project-card ul {
  margin-top: auto;
  padding-top: 1.2rem;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 1.4rem 0 2.4rem;
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font-size: 0.9rem;
}

@media (max-width: 900px) {
  .hero-content,
  .section-grid,
  .resume-layout,
  .project-heading {
    grid-template-columns: 1fr;
  }

  .headshot {
    width: min(100%, 340px);
  }

  .highlights,
  .project-grid {
    grid-template-columns: 1fr 1fr;
  }

  .resume-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-links {
    width: 100%;
    justify-content: space-between;
    border-radius: 8px;
  }

  .nav-links a {
    flex: 1;
    padding: 0.7rem 0.5rem;
    text-align: center;
    font-size: 0.86rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3.75rem 0 4.25rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .highlights,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .timeline-meta {
    flex-direction: column;
  }

  .timeline-meta span {
    text-align: left;
  }
}
