:root {
  --ink: #171522;
  --muted: #666073;
  --paper: #f8f5ef;
  --paper-soft: #fffdf8;
  --purple: #300f77;
  --purple-deep: #16052f;
  --gold: #ddaf30;
  --blue: #55b9d8;
  --line: rgba(23, 21, 34, 0.12);
  --shadow: 0 24px 70px rgba(28, 15, 54, 0.12);
  --radius: 18px;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--paper);
  color: var(--ink);
  font-family: "Open Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.7;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

.site-nav {
  background: rgba(22, 5, 47, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 1.35rem;
  letter-spacing: 0;
}

.navbar-brand img {
  border-radius: 50%;
}

.site-nav .nav-link {
  color: rgba(255, 255, 255, 0.78);
  font-weight: 600;
}

.site-nav .nav-link:hover,
.site-nav .nav-link:focus {
  color: #fff;
}

.nav-link-contact {
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 999px;
  margin-left: 0.75rem;
  padding-inline: 1rem !important;
}

.hero {
  min-height: 88vh;
  display: flex;
  align-items: center;
  color: #fff;
  background-image:
    linear-gradient(90deg, rgba(12, 4, 32, 0.82), rgba(12, 4, 32, 0.38)),
    url("Images/airport sunset.png");
  background-position: center;
  background-size: cover;
}

.hero-content {
  max-width: 980px;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero h1,
.section h2,
.site-footer h2 {
  font-family: "Old Standard TT", Georgia, serif;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 720px;
  font-size: clamp(4rem, 11vw, 8.5rem);
  line-height: 0.9;
  margin-bottom: 1.5rem;
}

.hero-copy {
  max-width: 720px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.15rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-top: 2rem;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
  padding: 0.75rem 1.35rem;
}

.btn-light {
  color: var(--purple-deep);
  background: var(--paper-soft);
  border-color: var(--paper-soft);
}

.btn-outline-light:hover {
  color: var(--purple-deep);
}

.section {
  padding: 6rem 0;
}

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

.section h2,
.site-footer h2 {
  font-size: clamp(2.4rem, 5vw, 4.25rem);
  line-height: 1;
  margin-bottom: 1.25rem;
}

.section p {
  color: var(--muted);
  font-size: 1.04rem;
}

.intro-section {
  background: var(--paper-soft);
}

.portrait-frame {
  aspect-ratio: 1;
  border: 12px solid var(--paper);
  border-radius: 50%;
  box-shadow: var(--shadow);
  margin: 0 auto;
  max-width: 390px;
  overflow: hidden;
}

.portrait-frame img {
  aspect-ratio: 1;
  height: 100%;
  object-fit: cover;
}

.work-section {
  background-image:
    linear-gradient(rgba(248, 245, 239, 0.82), rgba(248, 245, 239, 0.9)),
    url("Images/airport sunset.png");
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

.section-heading {
  margin: 0 auto 3rem;
  max-width: 720px;
}

.info-card,
.skill-card {
  background: rgba(255, 253, 248, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem;
}

.info-card h3,
.skill-card h3,
.project-copy h3 {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 2rem;
  margin-bottom: 1rem;
}

.brand-mark {
  display: block;
  height: 72px;
  margin-bottom: 1.5rem;
  object-fit: contain;
  object-position: left center;
  width: min(190px, 100%);
}

.projects-section {
  background: var(--paper);
}

.text-link {
  color: var(--purple);
  font-weight: 800;
  text-decoration: none;
}

.text-link:hover,
.text-link:focus {
  color: var(--purple-deep);
  text-decoration: underline;
}

.project-card {
  background: var(--paper-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.project-image-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 100%;
  min-height: 420px;
}

.project-image-grid img {
  height: 100%;
  object-fit: cover;
  width: 100%;
}

.project-copy {
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.skills-section {
  background: var(--paper-soft);
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.skill-list span {
  background: rgba(48, 15, 119, 0.08);
  border: 1px solid rgba(48, 15, 119, 0.12);
  border-radius: 999px;
  color: var(--purple-deep);
  font-size: 0.95rem;
  font-weight: 700;
  padding: 0.65rem 0.9rem;
}

.certifications-section {
  background:
    linear-gradient(135deg, rgba(22, 5, 47, 0.96), rgba(48, 15, 119, 0.92)),
    var(--purple);
  color: #fff;
}

.certifications-section .section-kicker,
.site-footer .section-kicker {
  color: var(--gold);
}

.certification-panel {
  display: grid;
  gap: 3rem;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  align-items: start;
}

.certification-panel h2,
.certification-panel p {
  color: #fff;
}

.achievement-list {
  display: grid;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.achievement-list li {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 700;
  padding: 1rem 1.25rem;
}

.site-footer {
  background: var(--purple-deep);
  color: #fff;
  padding: 5rem 0 2rem;
}

.site-footer p {
  color: rgba(255, 255, 255, 0.76);
  margin-bottom: 0;
}

.footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  justify-content: flex-start;
}

.copyright {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.9rem;
  margin-top: 4rem;
  padding-top: 1.5rem;
}

@media (max-width: 991.98px) {
  .nav-link-contact {
    border: 0;
    margin-left: 0;
    padding-inline: 0 !important;
  }

  .hero {
    min-height: 760px;
  }

  .certification-panel {
    grid-template-columns: 1fr;
  }

  .footer-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 767.98px) {
  .section {
    padding: 4.5rem 0;
  }

  .hero h1 {
    font-size: clamp(3.2rem, 18vw, 5.5rem);
  }

  .hero-copy {
    font-size: 1rem;
  }

  .project-image-grid {
    min-height: 300px;
  }

  .info-card,
  .skill-card {
    padding: 1.5rem;
  }
}
