:root {
  --ink: #18202b;
  --muted: #5b6675;
  --paper: #fbfaf7;
  --line: #d9d5cc;
  --blue: #244c75;
  --teal: #1f8a91;
  --gold: #c9983e;
  --clay: #9b5a44;
  --white: #ffffff;
  --shadow: 0 22px 70px rgba(25, 32, 43, 0.12);
  font-family: "Orbitron", "Segoe UI", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    linear-gradient(rgba(251, 250, 247, 0.88), rgba(251, 250, 247, 0.92)),
    url("assets/liberty-theme.png") center center / cover fixed no-repeat,
    var(--paper);
  font-family: "Orbitron", "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: rgba(255, 255, 255, 0.16);
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  border-bottom: 1px solid rgba(24, 32, 43, 0.1);
  background: rgba(251, 250, 247, 0.88);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 15rem;
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 2.6rem;
  height: 2.6rem;
  color: var(--white);
  background:
    linear-gradient(rgba(36, 76, 117, 0.82), rgba(31, 138, 145, 0.82)),
    url("assets/organic-pattern.png") center / 230%;
  border-radius: 0.45rem;
  font-weight: 800;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.8rem;
}

.nav-tabs {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.nav-tabs a {
  padding: 0.55rem 0.7rem;
  border-radius: 0.35rem;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
}

.nav-tabs a:hover,
.nav-tabs a.active {
  color: var(--ink);
  background: rgba(36, 76, 117, 0.1);
}

main {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  overflow-x: clip;
}

.panel {
  position: relative;
  isolation: isolate;
  min-height: calc(100vh - 4.4rem);
  padding: clamp(2rem, 5vw, 4.6rem) 0;
  border-bottom: 1px solid rgba(24, 32, 43, 0.12);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0 calc((100vw - 100%) / -2);
  z-index: -1;
  background:
    linear-gradient(rgba(251, 250, 247, 0.82), rgba(251, 250, 247, 0.9)),
    url("assets/liberty-theme.png") center center / cover no-repeat;
}

.hero {
  min-height: calc(100vh - 4.5rem);
  display: grid;
  grid-template-columns: minmax(18rem, 0.95fr) minmax(18rem, 1.05fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  right: min(0rem, 2vw);
  bottom: 2rem;
  width: min(36vw, 25rem);
  height: 0.36rem;
  background: linear-gradient(90deg, var(--clay), var(--gold), rgba(31, 138, 145, 0.42));
}

.hero-media {
  min-height: 33rem;
  display: grid;
  place-items: center;
}

.portrait-frame {
  position: relative;
  width: min(100%, 31rem);
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid rgba(24, 32, 43, 0.14);
  border-radius: 0.5rem;
  background:
    linear-gradient(rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.3)),
    url("assets/liberty-theme.png") center / cover;
  box-shadow: var(--shadow);
}

.portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(24, 32, 43, 0), rgba(24, 32, 43, 0.14)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
}

.portrait-frame::after {
  content: none;
}

.portrait-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.eyebrow {
  margin: 0 0 0.75rem;
  color: var(--clay);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}

.hero-logo {
  display: block;
  width: clamp(8rem, 14vw, 11rem);
  height: auto;
  margin: 0 auto 1.25rem;
  mix-blend-mode: multiply;
}

h1 {
  max-width: none;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.1rem);
  line-height: 1;
  text-align: center;
  white-space: nowrap;
}

h2 {
  max-width: 18ch;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1;
}

h3 {
  margin-bottom: 0.45rem;
  font-size: 1.12rem;
}

.lvl-acronym {
  display: grid;
  gap: 0.7rem;
  max-width: none;
  margin-bottom: 0;
}

.lvl-acronym span {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.lvl-acronym strong {
  display: grid;
  place-items: center;
  flex: 0 0 clamp(3.4rem, 8vw, 4.8rem);
  height: clamp(3.4rem, 8vw, 4.8rem);
  border-radius: 0.45rem;
  color: var(--white);
  background:
    linear-gradient(rgba(36, 76, 117, 0.86), rgba(31, 138, 145, 0.86)),
    url("assets/organic-pattern.png") center / 230%;
  font-size: clamp(2rem, 5vw, 3.4rem);
  line-height: 1;
}

.lvl-acronym em {
  color: var(--ink);
  font-style: normal;
}

.lead {
  max-width: 40rem;
  color: var(--muted);
  font-size: 1.2rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-actions,
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-actions {
  justify-content: flex-start;
  margin-top: 1.5rem;
}

.button,
.print-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.8rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  border-radius: 0.4rem;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
}

.primary {
  color: var(--white);
  background: var(--blue);
}

.secondary,
.print-button {
  color: var(--blue);
  background: rgba(255, 255, 255, 0.62);
  border-color: rgba(36, 76, 117, 0.22);
}

.split {
  display: grid;
  grid-template-columns: minmax(16rem, 0.85fr) minmax(18rem, 1.15fr);
  gap: clamp(1.5rem, 4vw, 4rem);
}

.body-copy {
  color: var(--muted);
  font-size: 1.05rem;
}

.about-quote {
  margin: 1.75rem 0 0;
  padding: 1.25rem 1.4rem;
  border-left: 0.35rem solid var(--gold);
  border-radius: 0.45rem;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 10px 28px rgba(25, 32, 43, 0.06);
}

.about-quote p {
  margin-bottom: 0.65rem;
  color: var(--ink);
  font-size: 1.12rem;
  font-weight: 700;
}

.hero-quote p {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: clamp(0.7rem, 1.55vw, 1rem);
}

@media (max-width: 560px) {
  .hero-quote p {
    white-space: normal;
    font-size: 0.95rem;
  }
}

.about-quote cite {
  color: var(--clay);
  font-size: 0.85rem;
  font-style: normal;
  font-weight: 800;
}

.hero-quote {
  max-width: 48rem;
}

.goal-grid,
.artifact-list,
.reference-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.4rem;
}

.goal-grid article,
.artifact-list article,
.reference-grid article,
.resume-sidebar,
.timeline,
.capstone-box {
  padding: 1.25rem;
  border: 1px solid rgba(24, 32, 43, 0.12);
  border-radius: 0.5rem;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 10px 32px rgba(25, 32, 43, 0.06);
}

.goal-grid article:first-child,
.resume-sidebar,
.capstone-box {
  background:
    linear-gradient(rgba(255, 255, 255, 0.86), rgba(255, 255, 255, 0.86)),
    url("assets/organic-pattern.png") center / 26rem auto;
}

.goal-grid span {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--teal);
  font-weight: 800;
}

.goal-grid p,
.artifact-list p,
.reference-grid p,
.timeline p,
.capstone-box li {
  color: var(--muted);
}

.artifact-list {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.artifact-list article {
  display: flex;
  flex-direction: column;
}

.artifact-list a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 2.4rem;
  margin-top: auto;
  color: var(--blue);
  font: inherit;
  font-weight: 800;
  line-height: 1.2;
}

.resume-layout {
  display: grid;
  grid-template-columns: 19rem 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}

.resume-sidebar {
  align-self: start;
}

.resume-sidebar dl {
  margin: 1.5rem 0 0;
}

.resume-sidebar dt {
  color: var(--clay);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
}

.resume-sidebar dd {
  margin: 0 0 1rem;
  color: var(--muted);
}

.resume-main {
  display: grid;
  gap: 1rem;
}

.timeline-item {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 1rem;
  padding-top: 1rem;
  margin-top: 1rem;
  border-top: 1px solid rgba(24, 32, 43, 0.12);
}

.date {
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  white-space: nowrap;
}

.resume-list {
  margin: 0.4rem 0 0;
  padding-left: 1.1rem;
  color: var(--muted);
}

.resume-list li + li {
  margin-top: 0.35rem;
}

.school-entry {
  display: grid;
  grid-template-columns: 6.5rem 1fr;
  align-items: center;
  gap: 1rem;
}

.school-logo {
  display: block;
  width: 100%;
  max-height: 3.6rem;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.wgu-logo {
  max-height: 3rem;
}

.liberty-logo {
  max-width: 3.8rem;
  justify-self: center;
}

.secep-logo {
  max-width: 4.5rem;
  max-height: 3rem;
  justify-self: center;
}

.indians-logo {
  max-width: 4rem;
  max-height: 4rem;
  justify-self: center;
  mix-blend-mode: normal;
}

.with-inline-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.inline-logo {
  width: 1.6rem;
  height: 1.6rem;
  object-fit: contain;
  flex-shrink: 0;
}

.feature {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: clamp(1.5rem, 4vw, 4rem);
}

.capstone-box ul {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.deck-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.25rem;
}

.deck-viewer {
  min-height: min(78vh, 42rem);
  padding: 0;
  overflow: hidden;
}

.deck-viewer iframe {
  display: block;
  width: 100%;
  height: min(78vh, 42rem);
  border: 0;
  background: var(--white);
}

.reference-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

footer {
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 1.5rem 0 2.5rem;
  color: var(--muted);
  font-size: 0.95rem;
}

.footer-quote {
  margin: 1.25rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 0.3rem solid var(--gold);
  border-radius: 0.4rem;
  background: rgba(255, 255, 255, 0.7);
  box-shadow: 0 8px 24px rgba(25, 32, 43, 0.06);
}

.footer-quote p {
  margin: 0 0 0.5rem;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
  font-style: italic;
}

.footer-quote cite {
  color: var(--clay);
  font-size: 0.82rem;
  font-style: normal;
  font-weight: 800;
}

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

  .brand {
    min-width: 0;
  }

  .nav-tabs {
    justify-content: flex-start;
  }

  .hero,
  .split,
  .resume-layout,
  .feature {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-media {
    min-height: 22rem;
    order: -1;
  }

  .goal-grid,
  .artifact-list,
  .reference-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .deck-viewer,
  .deck-viewer iframe {
    min-height: 28rem;
    height: 28rem;
  }
}

@media (max-width: 560px) {
  main,
  footer {
    width: min(100% - 1rem, 1180px);
  }

  .nav-tabs a {
    padding: 0.45rem 0.5rem;
    font-size: 0.84rem;
  }

  h1 {
    font-size: clamp(1.55rem, 8vw, 2.2rem);
  }

  .goal-grid,
  .artifact-list,
  .reference-grid,
  .timeline-item,
  .school-entry {
    grid-template-columns: 1fr;
  }
}

@media print {
  .site-header,
  .hero,
  .print-button,
  footer {
    display: none;
  }

  body {
    background: white;
  }

  main {
    width: 100%;
  }

  .panel {
    padding: 1rem 0;
    border-bottom: 1px solid #ccc;
  }
}
