@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-v31-latin-ext-variable.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Montserrat";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/montserrat-v31-latin-variable.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-v24-latin-ext-400.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/poppins-v24-latin-400.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-v24-latin-ext-500.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/poppins-v24-latin-500.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-v24-latin-ext-700.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Poppins";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("../fonts/poppins-v24-latin-700.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --ink: #292f30;
  --muted: #59686a;
  --subtle: #667476;
  --paper: #ffffff;
  --soft: #f4f5f5;
  --dark: #1c1c1c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: "Poppins", sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

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

h1,
h2,
h3 {
  color: var(--ink);
  font-family: "Montserrat", sans-serif;
}

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

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

a:hover,
a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

.container {
  width: 100%;
  max-width: 1140px;
  margin-inline: auto;
  padding-inline: 12px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-inline: -12px;
}

.row > * {
  width: 100%;
  padding-inline: 12px;
}

.text-center {
  text-align: center;
}

.section-padding {
  padding-block: 96px;
}

.pb-70 {
  padding-bottom: 70px;
}

.mb-30 {
  margin-bottom: 30px;
}

.mb-50 {
  margin-bottom: 50px;
}

.header {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  overflow: hidden;
  background: #303233;
}

.header-media,
.header-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.header-media img {
  object-fit: cover;
}

.header::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background: rgba(0, 0, 0, 0.65);
}

.v-middle {
  position: absolute;
  top: 50%;
  left: 0;
  z-index: 2;
  width: 100%;
  transform: translateY(-50%);
}

.header .caption {
  color: #ffffff;
  text-align: center;
}

.header .caption > * {
  animation: reveal 0.65s ease-out both;
}

.header .caption > :nth-child(2) {
  animation-delay: 0.08s;
}

.header .caption > :nth-child(3) {
  animation-delay: 0.16s;
}

.header .caption > :nth-child(4) {
  animation-delay: 0.24s;
}

.header h1 {
  margin-bottom: 20px;
  color: #ffffff;
  font-size: 3rem;
  font-weight: 800;
  line-height: 1.05;
}

.header .roles {
  max-width: 960px;
  margin-inline: auto;
  color: #ffffff;
  font-size: 1.25rem;
  line-height: 1.5;
}

.social-icon {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.social-icon a {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 50%;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.15);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-icon a:hover,
.social-icon a:focus-visible {
  background: rgba(255, 255, 255, 0.3);
  text-decoration: none;
  transform: translateY(-2px);
}

.icon-glyph {
  display: inline-block;
  width: 1em;
  height: 1em;
  background-color: currentColor;
  -webkit-mask: var(--icon) center / contain no-repeat;
  mask: var(--icon) center / contain no-repeat;
}

.icon-linkedin {
  --icon: url("../img/icons/linkedin.svg");
}

.icon-bluesky {
  --icon: url("../img/icons/bluesky.svg");
}

.icon-twitter-x {
  --icon: url("../img/icons/twitter-x.svg");
}

.icon-rss {
  --icon: url("../img/icons/rss.svg");
}

.icon-envelope {
  --icon: url("../img/icons/envelope.svg");
}

.social-icon .icon-glyph {
  font-size: 17px;
}

.section-head {
  width: 100%;
  margin-bottom: 72px;
  text-align: center;
}

.section-head h2 {
  position: relative;
  z-index: 0;
  display: inline-block;
  margin-bottom: 0;
  font-size: 2.5rem;
  font-weight: 800;
}

.section-head h2::after {
  position: absolute;
  bottom: -10px;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 30px;
  content: "";
  background: url("../img/dots.png") repeat;
}

.hero .row {
  align-items: flex-start;
}

.hero-img {
  position: relative;
  max-width: 390px;
  padding-left: 30px;
}

.hero-img::after {
  position: absolute;
  bottom: -30px;
  left: 0;
  z-index: -1;
  width: 80%;
  height: 80%;
  content: "";
  background: url("../img/dots.png") repeat;
}

.hero-img img {
  width: 360px;
}

.hero .content h2 {
  margin-bottom: 5px;
  font-size: 2rem;
  font-weight: 800;
}

.hero .sub-title {
  display: block;
  margin-bottom: 20px;
  color: var(--subtle);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.hero .content p + p {
  margin-top: 20px;
}

.hero .skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  width: 100%;
  margin-top: 36px;
}

.hero .skill-tag {
  display: flex;
  flex: 1 1 190px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 14px;
  border: 2px solid var(--dark);
  border-radius: 6px;
  color: #ffffff;
  background: var(--dark);
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
}

.portfolio {
  overflow: hidden;
  background: #fafafa;
}

.gallery {
  display: grid;
  width: 100%;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.gallery.gallery-cert {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.gallery .items,
.gallery .items img {
  width: 100%;
}

.info {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.contact-icon-item {
  width: 25%;
  padding-inline: 15px;
}

.contact .item {
  margin-bottom: 30px;
}

.contact .icon {
  display: inline-grid;
  width: 80px;
  height: 80px;
  margin-bottom: 15px;
  place-items: center;
  border-radius: 50%;
  color: #333333;
  background: var(--soft);
  font-size: 28px;
}

.contact .item h3 {
  margin-bottom: 10px;
  color: var(--ink);
  font-size: 1rem;
  font-weight: 700;
}

.contact .item p,
.contact .item a {
  color: var(--muted);
}

footer {
  padding: 30px;
  background: var(--dark);
}

footer p {
  color: #bdc6c7;
  font-size: 0.8125rem;
  text-align: center;
}

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 16px;
  left: 16px;
  z-index: 10;
  width: auto;
  height: auto;
  padding: 12px 24px;
  margin: 0;
  overflow: visible;
  clip: auto;
  border-radius: 4px;
  color: #ffffff;
  background: var(--dark);
  font-weight: 700;
  text-decoration: none;
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 768px) {
  .col-md-5 {
    width: 41.6667%;
  }

  .col-md-7 {
    width: 58.3333%;
  }

  .col-md-12 {
    width: 100%;
  }

  .header h1 {
    font-size: 4rem;
  }

  .header .roles {
    font-size: 1.5rem;
  }
}

@media (max-width: 991px) {
  .gallery.gallery-cert {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .section-padding {
    padding-block: 76px;
  }

  .pb-70 {
    padding-bottom: 60px;
  }

  .section-head {
    margin-bottom: 56px;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .hero-img {
    margin: 0 auto 76px;
  }

  .hero .content {
    margin-bottom: 0;
  }

  .hero .skill-tag {
    flex-basis: 125px;
    padding-inline: 10px;
    font-size: 0.75rem;
  }

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

  .contact-icon-item {
    width: 50%;
  }
}

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

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