/* ========================================
   OPRAH FASULO — IT PORTFOLIO
======================================== */

/* ========================================
   ROOT VARIABLES
======================================== */

:root {
  --color-background: #f7f8fa;
  --color-surface: #ffffff;
  --color-surface-soft: #f1f3f6;

  --color-text: #1b1f23;
  --color-text-secondary: #5e6673;
  --color-text-light: #7a8491;

  --color-accent: #1e4d8c;
  --color-accent-dark: #163b6d;
  --color-accent-soft: #e8eef7;

  --color-border: #e3e7eb;
  --color-border-dark: #cfd5dc;

  --font-heading: "IBM Plex Serif", Georgia, serif;
  --font-body: "IBM Plex Sans", Arial, sans-serif;

  --container-width: 1240px;
  --container-padding: 32px;

  --section-spacing: 140px;

  --shadow-soft:
    0 20px 60px rgba(22, 35, 50, 0.08);

  --shadow-card:
    0 12px 36px rgba(22, 35, 50, 0.06);

  --transition:
    220ms ease;
}

/* ========================================
   RESET
======================================== */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;

  background: var(--color-background);
  color: var(--color-text);

  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;

  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img {
  display: block;
  width: 100%;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

button {
  color: inherit;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 500;
  line-height: 1.12;
  letter-spacing: -0.025em;
}

h1 {
  margin-bottom: 28px;
  font-size: clamp(3rem, 5.7vw, 5.8rem);
}

h2 {
  margin-bottom: 24px;
  font-size: clamp(2.3rem, 4vw, 4.35rem);
}

h3 {
  margin-bottom: 18px;
  font-size: clamp(1.5rem, 2.2vw, 2.15rem);
}

p {
  margin-bottom: 22px;
}

p:last-child {
  margin-bottom: 0;
}

::selection {
  background: var(--color-accent);
  color: #ffffff;
}

/* ========================================
   ACCESSIBILITY
======================================== */

:focus-visible {
  outline: 3px solid rgba(30, 77, 140, 0.35);
  outline-offset: 4px;
}

@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;
  }
}

/* ========================================
   SHARED LAYOUT
======================================== */

.site-container {
  width: min(
    calc(100% - (var(--container-padding) * 2)),
    var(--container-width)
  );
  margin-inline: auto;
}

.section-eyebrow {
  margin-bottom: 20px;

  color: var(--color-accent);

  font-size: 0.76rem;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.section-heading {
  max-width: 760px;
}

.section-heading-centered {
  margin-inline: auto;
  text-align: center;
}

.section-heading h2 {
  margin-bottom: 0;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 54px;
  padding: 14px 25px;

  border: 1px solid transparent;

  font-size: 0.91rem;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.01em;

  transition:
    background-color var(--transition),
    border-color var(--transition),
    color var(--transition),
    transform var(--transition),
    box-shadow var(--transition);
}

.button:hover {
  transform: translateY(-2px);
}

.button-primary {
  background: var(--color-accent);
  color: #ffffff;
  box-shadow: 0 12px 28px rgba(30, 77, 140, 0.2);
}

.button-primary:hover {
  background: var(--color-accent-dark);
  box-shadow: 0 15px 34px rgba(30, 77, 140, 0.26);
}

.button-secondary {
  border-color: var(--color-border-dark);
  background: transparent;
  color: var(--color-text);
}

.button-secondary:hover {
  border-color: var(--color-accent);
  background: var(--color-surface);
  color: var(--color-accent);
}



/* ========================================
   SITE HEADER
======================================== */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;

  background: rgba(247, 248, 250, 0.88);
  border-bottom: 1px solid transparent;

  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  transition:
    background-color var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: var(--color-border);
  box-shadow: 0 10px 35px rgba(22, 35, 50, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;

  min-height: 82px;
}

.site-logo {
  position: relative;
  z-index: 1002;

  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 500;
  letter-spacing: -0.02em;
}

.primary-navigation {
  display: flex;
  align-items: center;
  gap: 31px;
}

.primary-navigation a {
  position: relative;

  color: var(--color-text-secondary);

  font-size: 0.86rem;
  font-weight: 500;
  letter-spacing: 0.01em;

  transition: color var(--transition);
}

.primary-navigation a:not(.navigation-contact)::after {
  content: "";

  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;

  height: 1px;

  background: var(--color-accent);

  transform: scaleX(0);
  transform-origin: right;

  transition: transform var(--transition);
}

.primary-navigation a:hover {
  color: var(--color-text);
}

.primary-navigation a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.navigation-contact {
  padding: 10px 17px;

  border: 1px solid var(--color-border-dark);
  color: var(--color-text) !important;
}

.navigation-contact:hover {
  border-color: var(--color-accent);
  color: var(--color-accent) !important;
}

.menu-toggle {
  display: none;
  width: 45px;
  height: 45px;
  padding: 0;

  border: 0;
  background: transparent;

  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 23px;
  height: 1px;
  margin: 7px auto;

  background: var(--color-text);

  transition:
    transform var(--transition),
    opacity var(--transition);
}

/* ========================================
   HERO
======================================== */

.hero-section {
  display: flex;
  align-items: center;

  min-height: 100vh;
  padding: 150px 0 90px;

  background:
    linear-gradient(
      110deg,
      rgba(255, 255, 255, 0.45),
      rgba(247, 248, 250, 0)
    );
}

.hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 1.06fr);
  align-items: center;
  gap: clamp(60px, 7vw, 110px);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  max-width: 750px;
}

.hero-introduction {
  max-width: 670px;
  margin-bottom: 22px;

  color: var(--color-text-secondary);

  font-size: clamp(1.02rem, 1.5vw, 1.19rem);
  line-height: 1.8;
}

.hero-statement {
  max-width: 600px;
  margin-bottom: 34px;

  color: var(--color-text);

  font-size: 1.03rem;
  font-weight: 500;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.hero-visual {
  position: relative;

  min-height: 640px;
  overflow: hidden;

  background: var(--color-surface-soft);
  box-shadow: var(--shadow-soft);
}

.hero-visual::before {
  content: "";

  position: absolute;
  z-index: 1;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, 0.45);

  pointer-events: none;
}

.hero-visual img {
  width: 100%;
  height: 100%;
  min-height: 640px;

  object-fit: cover;
  object-position: center;
}

/* ========================================
   PROFESSIONAL OVERVIEW
======================================== */

.overview-section {
  padding: var(--section-spacing) 0;

  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.overview-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(70px, 9vw, 150px);
}

.overview-content {
  max-width: 690px;
  padding-top: 8px;

  color: var(--color-text-secondary);
}

.overview-lead {
  color: var(--color-text);

  font-family: var(--font-heading);
  font-size: clamp(1.35rem, 2.15vw, 2rem);
  line-height: 1.55;
  letter-spacing: -0.018em;
}

/* ========================================
   CAPABILITIES
======================================== */

.capabilities-section {
  padding: var(--section-spacing) 0;
}

.capabilities-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;

  margin-top: 76px;
}

.capability-card {
  position: relative;

  min-height: 420px;
  padding: clamp(42px, 4vw, 52px);

  background: var(--color-surface);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);

  transition:
    transform var(--transition),
    border-color var(--transition),
    box-shadow var(--transition);
}

.capability-card:hover {
  border-color: var(--color-border-dark);
  box-shadow: 0 20px 48px rgba(22, 35, 50, 0.08);
  transform: translateY(-4px);
}



.capability-card h3 {
  max-width: 320px;
}

.capability-card > p {
  max-width: 500px;

  color: var(--color-text-secondary);
}

.capability-card ul {
  display: grid;
  gap: 10px;

  margin-top: 26px;
  padding-top: 24px;

  border-top: 1px solid var(--color-border);
}

.capability-card li {
  position: relative;

  padding-left: 18px;

  color: var(--color-text-secondary);

  font-size: 0.91rem;
}

.capability-card li::before {
  content: "";

  position: absolute;
  top: 0.72em;
  left: 0;

  width: 5px;
  height: 5px;

  background: var(--color-accent);
  border-radius: 50%;
}

/* ========================================
   FEATURED PROJECTS
======================================== */

.projects-section {
  padding: var(--section-spacing) 0;

  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.projects-heading {
  margin-bottom: 100px;
}

.project-feature {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
  align-items: center;
  gap: clamp(55px, 8vw, 120px);

  padding: 100px 0;

  border-top: 1px solid var(--color-border);
}

.project-feature:first-of-type {
  padding-top: 0;
  border-top: 0;
}

.project-feature:last-child {
  padding-bottom: 0;
}

.project-feature-reverse .project-image {
  order: 2;
}

.project-feature-reverse .project-content {
  order: 1;
}

.project-image {
  position: relative;

  min-height: 470px;
  overflow: hidden;

  background: var(--color-surface-soft);
  box-shadow: var(--shadow-soft);
}

.project-image::after {
  content: "";

  position: absolute;
  inset: 0;

  border: 1px solid rgba(255, 255, 255, 0.35);

  pointer-events: none;
}

.project-image img {
  width: 100%;
  height: 100%;
  min-height: 470px;

  object-fit: cover;

  transition: transform 700ms ease;
}

.project-feature:hover .project-image img {
  transform: scale(1.025);
}

.project-content {
  max-width: 510px;
}

.project-category {
  margin-bottom: 20px;

  color: var(--color-accent);

  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 8px;
  font-size: clamp(2.2rem, 3.7vw, 4rem);
}

.project-subtitle {
  margin-bottom: 26px;

  color: var(--color-text-light);

  font-size: 0.93rem;
  font-weight: 500;
}

.project-content > p:not(.project-category, .project-subtitle) {
  color: var(--color-text-secondary);
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;

  margin: 28px 0 25px;
}

.project-tags span {
  padding: 7px 11px;

  background: var(--color-accent-soft);
  border: 1px solid rgba(30, 77, 140, 0.09);
  color: var(--color-accent-dark);

  font-size: 0.73rem;
  font-weight: 500;
}

/* ========================================
   TECHNICAL APPROACH
======================================== */

.approach-section {
  padding: var(--section-spacing) 0;
}

.approach-section .section-heading {
  margin-bottom: 75px;
}

.approach-list {
  border-top: 1px solid var(--color-border-dark);
}

.approach-item {
  padding: 38px 0;

  border-bottom: 1px solid var(--color-border);

  transition:
    background-color var(--transition),
    padding var(--transition);
}

.approach-item:hover {
  padding-right: 25px;
  padding-left: 25px;

  background: var(--color-surface);
}


.approach-item > div {
  display: grid;
  grid-template-columns: minmax(240px, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(35px, 7vw, 100px);
}

.approach-item h3 {
  margin-bottom: 0;
  font-size: clamp(1.45rem, 2.3vw, 2.2rem);
}

.approach-item p {
  max-width: 650px;
  margin-bottom: 0;

  color: var(--color-text-secondary);
}

/* ========================================
   CERTIFICATIONS
======================================== */

.certifications-section {
  padding: var(--section-spacing) 0;

  background: #17202b;
  color: #ffffff;
}

.certifications-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(70px, 9vw, 140px);
}

.certifications-section .section-eyebrow {
  color: #8baedc;
}

.certifications-section .section-heading h2 {
  color: #ffffff;
}

.certification-grid {
  display: grid;
  gap: 16px;
}

.certification-card {
  padding: 32px 34px;

  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);

  transition:
    background-color var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.certification-card:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.17);
  transform: translateX(4px);
}

.certification-label {
  margin-bottom: 12px;

  color: #8baedc;

  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.certification-card h3 {
  margin-bottom: 13px;

  color: #ffffff;
  font-size: 1.55rem;
}

.certification-card p:last-child {
  color: #b8c0cb;
  font-size: 0.92rem;
}

/* ========================================
   CONTACT
======================================== */

.contact-section {
  padding: 120px 0;

  background: var(--color-surface);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 60px;
}

.contact-layout h2 {
  max-width: 850px;
  margin-bottom: 0;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 13px;
}

/* ========================================
   FOOTER
======================================== */

.site-footer {
  padding: 28px 0;

  background: var(--color-surface);
  border-top: 1px solid var(--color-border);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}

.footer-inner p {
  margin-bottom: 0;

  color: var(--color-text-light);

  font-size: 0.78rem;
}

/* ========================================
   REVEAL ANIMATION
======================================== */

.reveal {
  opacity: 0;
  transform: translateY(28px);

  transition:
    opacity 750ms ease,
    transform 750ms ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TABLET
======================================== */

@media (max-width: 1050px) {
  :root {
    --section-spacing: 110px;
  }

  .hero-layout {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .hero-section {
    min-height: auto;
    padding-top: 150px;
  }

  .hero-content {
    max-width: 850px;
  }

  .hero-visual {
    min-height: 560px;
  }

  .hero-visual img {
    min-height: 560px;
  }

  .overview-layout,
  .certifications-layout {
    grid-template-columns: 1fr;
    gap: 55px;
  }

  .project-feature,
  .project-feature-reverse {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .project-feature-reverse .project-image,
  .project-feature-reverse .project-content {
    order: initial;
  }

  .project-content {
    max-width: 760px;
  }

  .approach-item > div {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .contact-actions {
    justify-content: flex-start;
  }
}

/* ========================================
   MOBILE NAVIGATION
======================================== */

@media (max-width: 820px) {
  :root {
    --container-padding: 22px;
  }

  .menu-toggle {
    position: relative;
    z-index: 1002;

    display: block;
  }

  .menu-toggle.active span:first-child {
    transform: translateY(4px) rotate(45deg);
  }

  .menu-toggle.active span:last-child {
    transform: translateY(-4px) rotate(-45deg);
  }

  .primary-navigation {
    position: fixed;
    z-index: 1001;
    inset: 0;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 25px;

    padding: 100px 35px 50px;

    background: rgba(247, 248, 250, 0.985);

    opacity: 0;
    pointer-events: none;
    transform: translateY(-15px);

    transition:
      opacity var(--transition),
      transform var(--transition);
  }

  .primary-navigation.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
  }

  .primary-navigation a {
    color: var(--color-text);
    font-family: var(--font-heading);
    font-size: 2rem;
  }

  .primary-navigation a::after {
    display: none;
  }

  .navigation-contact {
    margin-top: 12px;
    padding: 13px 19px;

    font-family: var(--font-body) !important;
    font-size: 0.95rem !important;
  }

  body.menu-open {
    overflow: hidden;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
  }

  
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* ========================================
   SMALL MOBILE
======================================== */

@media (max-width: 600px) {
  :root {
    --container-padding: 18px;
    --section-spacing: 88px;
  }

  body {
    font-size: 16px;
  }

  .header-inner {
    min-height: 72px;
  }

  .site-logo {
    font-size: 1.15rem;
  }

  .hero-section {
    padding: 125px 0 70px;
  }

  .hero-layout {
    gap: 45px;
  }

  .hero-content h1 {
    font-size: clamp(2.65rem, 13vw, 4.3rem);
  }

  .hero-introduction {
    font-size: 1rem;
  }

  .hero-actions {
    flex-direction: column;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-visual {
    min-height: 390px;
  }

  .hero-visual img {
    min-height: 390px;
  }

  .overview-layout {
    gap: 38px;
  }

  .capabilities-grid {
    margin-top: 50px;
  }

  .capability-card {
    min-height: auto;
    padding: 29px 25px;
  }


  .projects-heading {
    margin-bottom: 65px;
  }

  .project-feature {
    gap: 32px;
    padding: 75px 0;
  }

  .project-image,
  .project-image img {
    min-height: 330px;
  }

  .project-content h3 {
    font-size: 2.25rem;
  }

  .approach-section .section-heading {
    margin-bottom: 50px;
  }

  .approach-item {
  padding: 30px 0;
}

  .approach-item:hover {
    padding-right: 0;
    padding-left: 0;

    background: transparent;
  }

  .certification-card {
    padding: 26px 23px;
  }

  .contact-section {
    padding: 88px 0;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }
}

/* ========================================
   STREAMLINED MOBILE HOMEPAGE
======================================== */

@media (max-width: 600px) {

  /* ----------------------------------------
     GLOBAL
  ---------------------------------------- */

  :root {
    --container-padding: 18px;
    --section-spacing: 62px;
  }

  body {
    font-size: 16px;
    line-height: 1.55;
  }

  h1 {
    font-size: clamp(2.35rem, 11vw, 3.45rem);
    line-height: 1.04;
  }

  h2 {
    font-size: clamp(1.9rem, 8.5vw, 2.55rem);
    line-height: 1.08;
  }

  h3 {
    font-size: 1.35rem;
  }

  .section-eyebrow {
    margin-bottom: 12px;
    font-size: 0.66rem;
    letter-spacing: 0.15em;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  /* ----------------------------------------
     HEADER
  ---------------------------------------- */

  .header-inner {
    min-height: 66px;
  }

  .site-logo {
    font-size: 1.1rem;
  }

  /* ----------------------------------------
     HERO
  ---------------------------------------- */

  .hero-section {
    min-height: auto;
    padding: 100px 0 48px;
  }

  .hero-layout {
    gap: 28px;
  }

  .hero-content h1 {
    margin-bottom: 20px;
  }

  .hero-introduction {
    margin-bottom: 14px;
    font-size: 0.94rem;
    line-height: 1.6;
  }

  .hero-statement {
    margin-bottom: 23px;
    font-size: 0.92rem;
  }

  .hero-actions {
    flex-direction: column;
    gap: 9px;
  }

  .hero-actions .button {
    width: 100%;
    min-height: 48px;
  }

  .hero-visual {
    min-height: 240px;
    max-height: 240px;
  }

  .hero-visual img {
    height: 240px;
    min-height: 240px;
    object-position: 64% center;
  }

  /* ----------------------------------------
     PROFESSIONAL OVERVIEW
  ---------------------------------------- */

  .overview-section {
    padding: 62px 0;
  }

  .overview-layout {
    gap: 23px;
  }

  .overview-content {
    padding-top: 0;
  }

  .overview-lead {
    margin-bottom: 15px;
    font-size: 1.17rem;
    line-height: 1.45;
  }

  .overview-content p {
    margin-bottom: 14px;
  }

  /*
    The final paragraph repeats ideas already
    established by the first two paragraphs.
  */

  .overview-content p:last-child {
    display: none;
  }

  /* ----------------------------------------
     CAPABILITIES
  ---------------------------------------- */

  .capabilities-section {
    padding: 62px 0;
  }

  .capabilities-grid {
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 34px;
  }

  .capability-card {
    min-height: auto;
    padding: 21px 19px;
    box-shadow: none;
  }

  .capability-card:hover {
    transform: none;
    box-shadow: none;
  }

  .capability-number {
    margin-bottom: 13px;
  }

  .capability-card h3 {
    margin-bottom: 8px;
  }

  .capability-card > p:not(.capability-number) {
    margin-bottom: 0;
    font-size: 0.88rem;
    line-height: 1.5;
  }

  /*
    Detailed skill lists are available through
    the desktop version and deeper project pages.
  */

  .capability-card ul {
    display: none;
  }

  /* ----------------------------------------
     FEATURED PROJECTS
  ---------------------------------------- */

  .projects-section {
    padding: 62px 0;
  }

  .projects-heading {
    margin-bottom: 38px;
  }

  .project-feature {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 48px 0;
  }

  .project-feature-reverse .project-image,
  .project-feature-reverse .project-content {
    order: initial;
  }

  .project-image {
    min-height: 220px;
    height: 220px;
  }

  .project-image img {
    min-height: 220px;
    height: 220px;
    object-position: center;
  }

  .project-category {
    margin-bottom: 10px;
    font-size: 0.62rem;
  }

  .project-content h3 {
    margin-bottom: 5px;
    font-size: 1.9rem;
  }

  .project-subtitle {
    margin-bottom: 13px;
    font-size: 0.8rem;
  }

  /*
    Hide the longer project descriptions on mobile.
    The title, subtitle, image, and link provide
    a cleaner project preview.
  */

  .project-content > p:not(.project-category):not(.project-subtitle) {
    display: none;
  }

  .project-tags {
    display: none;
  }

  .text-link {
    margin-top: 4px;
    font-size: 0.88rem;
  }

  /* ----------------------------------------
     TECHNICAL APPROACH
  ---------------------------------------- */

  .approach-section {
    padding: 62px 0;
  }

  .approach-section .section-heading {
    margin-bottom: 32px;
  }

  .approach-list {
    border-top: 1px solid var(--color-border-dark);
  }

  .approach-item {
    grid-template-columns: 32px minmax(0, 1fr);
    gap: 12px;
    padding: 20px 0;
  }

  .approach-item:hover {
    padding-right: 0;
    padding-left: 0;
    background: transparent;
  }

  .approach-item > div {
    display: block;
  }

  .approach-item h3 {
    margin-bottom: 0;
    font-size: 1.16rem;
  }

  /*
    On mobile, show the complete five-step method
    as a concise list of headings.
  */

  .approach-item p {
    display: none;
  }

  /* ----------------------------------------
     CERTIFICATIONS
  ---------------------------------------- */

  .certifications-section {
    padding: 62px 0;
  }

  .certifications-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .certification-grid {
    gap: 9px;
  }

  .certification-card {
    padding: 19px 18px;
  }

  .certification-card:hover {
    transform: none;
  }

  .certification-label {
    margin-bottom: 5px;
    font-size: 0.6rem;
  }

  .certification-card h3 {
    margin-bottom: 0;
    font-size: 1.22rem;
  }

  /*
    Certification descriptions add length but
    are not necessary on a small screen.
  */

  .certification-card p:last-child {
    display: none;
  }

  /* ----------------------------------------
     CONTACT
  ---------------------------------------- */

  .contact-section {
    padding: 62px 0;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .contact-layout h2 {
    font-size: 1.9rem;
  }

  .contact-actions {
    width: 100%;
    flex-direction: column;
  }

  .contact-actions .button {
    width: 100%;
  }

  /* ----------------------------------------
     FOOTER
  ---------------------------------------- */

  .site-footer {
    padding: 21px 0;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .footer-inner p:last-child {
    display: none;
  }
}