/*-----------------------------------*\
  #style.css
\*-----------------------------------*/


/**
 * copyright 2022 @codewithsadee
 */





/*-----------------------------------*\
  #CUSTOM PROPERTY
\*-----------------------------------*/

:root {

  /**
   * colors
   */

  /* gradient */

  --bg-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(240, 1%, 25%) 3%, 
    hsl(0, 0%, 19%) 97%
  );
  --bg-gradient-jet: linear-gradient(
    to bottom right, 
    hsla(240, 1%, 18%, 0.251) 0%, 
    hsla(240, 2%, 11%, 0) 100%
  ), hsl(240, 2%, 13%);
  --bg-gradient-yellow-1: linear-gradient(
    to bottom right, 
    hsl(45, 100%, 71%) 0%, 
    hsla(36, 100%, 69%, 0) 50%
  );
  --bg-gradient-yellow-2: linear-gradient(
    135deg, 
    hsla(45, 100%, 71%, 0.251) 0%, 
    hsla(35, 100%, 68%, 0) 59.86%
  ), hsl(240, 2%, 13%);
  --border-gradient-onyx: linear-gradient(
    to bottom right, 
    hsl(0, 0%, 25%) 0%, 
    hsla(0, 0%, 25%, 0) 50%
  );
  --text-gradient-yellow: linear-gradient(
    to right, 
    hsl(45, 100%, 72%), 
    hsl(35, 100%, 68%)
  );

  /* solid */

  --jet: hsl(0, 0%, 22%);
  --onyx: hsl(240, 1%, 17%);
  --eerie-black-1: hsl(240, 2%, 13%);
  --eerie-black-2: hsl(240, 2%, 12%);
  --smoky-black: hsl(0, 0%, 7%);
  --white-1: hsl(0, 0%, 100%);
  --white-2: hsl(0, 0%, 98%);
  --orange-yellow-crayola: hsl(45, 100%, 72%);
  --vegas-gold: hsl(45, 54%, 58%);
  --light-gray: hsl(0, 0%, 84%);
  --light-gray-70: hsla(0, 0%, 84%, 0.7);
  --bittersweet-shimmer: hsl(0, 43%, 51%);

  /**
   * typography
   */

  /* font-family */
  --ff-poppins: 'Poppins', sans-serif;

  /* font-size */
  --fs-1: 24px;
  --fs-2: 18px;
  --fs-3: 17px;
  --fs-4: 16px;
  --fs-5: 15px;
  --fs-6: 14px;
  --fs-7: 13px;
  --fs-8: 11px;

  /* font-weight */
  --fw-300: 300;
  --fw-400: 400;
  --fw-500: 500;
  --fw-600: 600;

  /**
   * shadow
   */
  
  --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.25);
  --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.25);
  --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.25);
  --shadow-4: 0 25px 50px hsla(0, 0%, 0%, 0.15);
  --shadow-5: 0 24px 80px hsla(0, 0%, 0%, 0.25);

  /**
   * transition
   */

  --transition-1: 0.25s ease;
  --transition-2: 0.5s ease-in-out;

}





/*-----------------------------------*\
  #RESET
\*-----------------------------------*/

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

a { text-decoration: none; }

li { list-style: none; }

img, ion-icon, a, button, time, span { display: block; }

button {
  font: inherit;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
}

input, textarea {
  display: block;
  width: 100%;
  background: none;
  font: inherit;
}

::selection {
  background: var(--orange-yellow-crayola);
  color: var(--smoky-black);
}

:focus { outline-color: var(--orange-yellow-crayola); }

html { font-family: var(--ff-poppins); }

body { background: var(--smoky-black); }





/*-----------------------------------*\
  #REUSED STYLE
\*-----------------------------------*/

.sidebar,
article {
  background: var(--eerie-black-2);
  border: 1px solid var(--jet);
  border-radius: 20px;
  padding: 15px;
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.separator {
  width: 100%;
  height: 1px;
  background: var(--jet);
  margin: 16px 0;
}

.icon-box {
  position: relative;
  background: var(--border-gradient-onyx);
  width: 30px;
  height: 30px;
  border-radius: 8px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  color: var(--orange-yellow-crayola);
  box-shadow: var(--shadow-1);
  z-index: 1;
}

.icon-box::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--eerie-black-1);
  border-radius: inherit;
  z-index: -1;
}

.icon-box ion-icon { --ionicon-stroke-width: 35px; }

article { display: none; }

article.active {
  display: block;
  animation: fade 0.5s ease backwards;
}

@keyframes fade {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.h2,
.h3,
.h4,
.h5 {
  color: var(--white-2);
  text-transform: capitalize;
}

.h2 { font-size: var(--fs-1); }

.h3 { font-size: var(--fs-2); }

.h4 { font-size: var(--fs-4); }

.h5 {
  font-size: var(--fs-7);
  font-weight: var(--fw-500);
}

.article-title {
  position: relative;
  padding-bottom: 7px;
}

.article-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 3px;
  background: var(--text-gradient-yellow);
  border-radius: 3px;
}

.has-scrollbar::-webkit-scrollbar {
  width: 5px; /* for vertical scrollbar */
  height: 5px; /* for horizontal scrollbar */
}

.has-scrollbar::-webkit-scrollbar-track {
  background: var(--onyx);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-thumb {
  background: var(--orange-yellow-crayola);
  border-radius: 5px;
}

.has-scrollbar::-webkit-scrollbar-button { width: 20px; }

.content-card {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  cursor: pointer;
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}





/*-----------------------------------*\
  #MAIN
\*-----------------------------------*/

main {
  margin: 15px 12px;
  margin-bottom: 75px;
  min-width: 259px;
}





/*-----------------------------------*\
  #SIDEBAR
\*-----------------------------------*/

.sidebar {
  margin-bottom: 15px;
  max-height: 112px;
  overflow: hidden;
  transition: var(--transition-2);
}

.sidebar.active { max-height: 405px; }

.sidebar-info {
  position: relative;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}

.avatar-box {
  background: var(--bg-gradient-onyx);
  border-radius: 20px;
}

.info-content .name {
  color: var(--white-2);
  font-size: var(--fs-3);
  font-weight: var(--fw-500);
  letter-spacing: -0.25px;
  margin-bottom: 10px;
}

.info-content .title {
  color: var(--white-1);
  background: var(--onyx);
  font-size: var(--fs-8);
  font-weight: var(--fw-300);
  width: max-content;
  padding: 3px 12px;
  border-radius: 8px;
}

.info_more-btn {
  position: absolute;
  top: -15px;
  right: -15px;
  border-radius: 0 15px;
  font-size: 13px;
  color: var(--orange-yellow-crayola);
  background: var(--border-gradient-onyx);
  padding: 10px;
  box-shadow: var(--shadow-2);
  transition: var(--transition-1);
  z-index: 1;
}

.info_more-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--bg-gradient-jet);
  transition: var(--transition-1);
  z-index: -1;
}

.info_more-btn:hover,
.info_more-btn:focus { background: var(--bg-gradient-yellow-1); }

.info_more-btn:hover::before,
.info_more-btn:focus::before { background: var(--bg-gradient-yellow-2); }

.info_more-btn span { display: none; }

.sidebar-info_more {
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-2);
}

.sidebar.active .sidebar-info_more {
  opacity: 1;
  visibility: visible;
}

.contacts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.contact-item {
  min-width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
}

.contact-info {
  max-width: calc(100% - 46px);
  width: calc(100% - 46px);
}

.contact-title {
  color: var(--light-gray-70);
  font-size: var(--fs-8);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.contact-info :is(.contact-link, time, address) {
  color: var(--white-2);
  font-size: var(--fs-7);
}

.contact-info address { font-style: normal; }

.social-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
  padding-bottom: 4px;
  padding-left: 7px;
}

.social-item .social-link {
  color: var(--light-gray-70);
  font-size: 18px;
}


.social-item .social-link:hover { color: var(--light-gray); }





/*-----------------------------------*\
  #NAVBAR
\*-----------------------------------*/

.navbar {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: hsla(240, 1%, 17%, 0.75);
  backdrop-filter: blur(10px);
  border: 1px solid var(--jet);
  border-radius: 12px 12px 0 0;
  box-shadow: var(--shadow-2);
  z-index: 5;
}

.navbar-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 0 10px;
}

.navbar-link {
  color: var(--light-gray);
  font-size: var(--fs-8);
  padding: 20px 7px;
  transition: color var(--transition-1);
}

.navbar-link:hover,
.navbar-link:focus { color: var(--light-gray-70); }

.navbar-link.active { color: var(--orange-yellow-crayola); }





/*-----------------------------------*\
  #ABOUT
\*-----------------------------------*/

.about .article-title { margin-bottom: 15px; }

.about-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}

.about-text p { margin-bottom: 15px; }



/**
 * #service 
 */

.service { margin-bottom: 35px; }

.service-title { margin-bottom: 20px; }

.service-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.service-item {
  position: relative;
  background: var(--border-gradient-onyx);
  padding: 20px;
  border-radius: 14px;
  box-shadow: var(--shadow-2);
  z-index: 1;
}

.service-item::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}

.service-icon-box { margin-bottom: 10px; }

.service-icon-box img { margin: auto; }

.service-content-box { text-align: center; }

.service-item-title { margin-bottom: 7px; }

.service-item-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-3);
  line-height: 1.6;
}


/**
 * #testimonials 
 */

.testimonials { margin-bottom: 30px; }

.testimonials-title { margin-bottom: 20px; }

.testimonials-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px 15px;
  padding-bottom: 35px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.testimonials-item {
  min-width: 100%;
  scroll-snap-align: center;
}

.testimonials-avatar-box {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(15px, -25px);
  background: var(--bg-gradient-onyx);
  border-radius: 14px;
  box-shadow: var(--shadow-1);
}

.testimonials-item-title { margin-bottom: 7px; }

.testimonials-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
  display: -webkit-box;
  line-clamp: 4;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}


/**
 * #testimonials-modal
 */

.modal-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow-y: auto;
  overscroll-behavior: contain;
  z-index: 20;
  pointer-events: none;
  visibility: hidden;
}

.modal-container::-webkit-scrollbar { display: none; }

.modal-container.active {
  pointer-events: all;
  visibility: visible;
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: hsl(0, 0%, 5%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  z-index: 1;
  transition: var(--transition-1);
}

.overlay.active {
  opacity: 0.8;
  visibility: visible;
  pointer-events: all;
}

.testimonials-modal {
  background: var(--eerie-black-2);
  position: relative;
  padding: 15px;
  margin: 15px 12px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  box-shadow: var(--shadow-5);
  transform: scale(1.2);
  opacity: 0;
  transition: var(--transition-1);
  z-index: 2;
}

.modal-container.active .testimonials-modal {
  transform: scale(1);
  opacity: 1;
}

.modal-close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--onyx);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--white-2);
  font-size: 18px;
  opacity: 0.7;
}

.modal-close-btn:hover,
.modal-close-btn:focus { opacity: 1; }

.modal-close-btn ion-icon { --ionicon-stroke-width: 50px; }

.modal-avatar-box {
  background: var(--bg-gradient-onyx);
  width: max-content;
  border-radius: 14px;
  margin-bottom: 15px;
  box-shadow: var(--shadow-2);
}

.modal-img-wrapper > img { display: none; }

.modal-title { margin-bottom: 4px; }

.modal-content time {
  font-size: var(--fs-6);
  color: var(--light-gray-70);
  font-weight: var(--fw-300);
  margin-bottom: 10px;
}

.modal-content p {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}


/**
 * #clients 
 */

.clients { margin-bottom: 15px; }

.clients-list {
  display: flex;
  justify-content: flex-start;
  align-items: flex-start;
  gap: 15px;
  margin: 0 -15px;
  padding: 25px;
  padding-bottom: 25px;
  overflow-x: auto;
  scroll-behavior: smooth;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
  scroll-padding-inline: 25px;
}

.clients-item {
  min-width: 50%;
  scroll-snap-align: start;
}

.clients-item img {
  width: 100%;
  filter: grayscale(1);
  transition: var(--transition-1);
}

.clients-item img:hover { filter: grayscale(0); }





/*-----------------------------------*\
  #RESUME
\*-----------------------------------*/

.article-title { margin-bottom: 30px; }


/**
 * education and experience 
 */

.timeline { margin-bottom: 30px; }

.timeline .title-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 25px;
}

.timeline-list {
  font-size: var(--fs-6);
  margin-left: 45px;
}

.timeline-item { position: relative; }

.timeline-item:not(:last-child) { margin-bottom: 20px; }

.timeline-item-title {
  font-size: var(--fs-6);
  line-height: 1.3;
  margin-bottom: 7px;
}

.timeline-list span {
  color: var(--vegas-gold);
  font-weight: var(--fw-400);
  line-height: 1.6;
}

.timeline-item:not(:last-child)::before {
  content: "";
  position: absolute;
  top: -25px;
  left: -30px;
  width: 1px;
  height: calc(100% + 50px);
  background: var(--jet);
}

.timeline-item::after {
  content: "";
  position: absolute;
  top: 5px;
  left: -33px;
  height: 6px;
  width: 6px;
  background: var(--text-gradient-yellow);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--jet);
}

.timeline-text {
  color: var(--light-gray);
  font-weight: var(--fw-300);
  line-height: 1.6;
}


/**
 * skills 
 */

.skills-title { margin-bottom: 20px; }

.skills-list { padding: 20px; }


.skills-item:not(:last-child) { margin-bottom: 15px; }

.skill .title-wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 8px;
}

.skill .title-wrapper data {
  color: var(--light-gray);
  font-size: var(--fs-7);
  font-weight: var(--fw-300);
}

.skill-progress-bg {
  background: var(--jet);
  width: 100%;
  height: 8px;
  border-radius: 10px;
}

.skill-progress-fill {
  background: var(--text-gradient-yellow);
  height: 100%;
  border-radius: inherit;
}





/*-----------------------------------*\
  #PORTFOLIO
\*-----------------------------------*/

.filter-list { display: none; }

.filter-select-box {
  position: relative;
  margin-bottom: 25px;
}

.filter-select {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.filter-select.active .select-icon { transform: rotate(0.5turn); }

.select-list {
  background: var(--eerie-black-2);
  position: absolute;
  top: calc(100% + 6px);
  width: 100%;
  padding: 6px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  z-index: 2;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: 0.15s ease-in-out;
}

.filter-select.active + .select-list {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}

.select-item button {
  background: var(--eerie-black-2);
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  text-transform: capitalize;
  width: 100%;
  padding: 8px 10px;
  border-radius: 8px;
}

.select-item button:hover { --eerie-black-2: hsl(240, 2%, 20%); }

.project-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-bottom: 10px;
}

.project-item { display: none; }

.project-item.active {
  display: block;
  animation: scaleUp 0.25s ease forwards;
}

@keyframes scaleUp {
  0% { transform: scale(0.5); }
  100% { transform: scale(1); }
}

.project-item > a { width: 100%; }

.project-img {
  position: relative;
  width: 100%;
  height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin-bottom: 15px;
}

.project-img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: transparent;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-img::before { background: hsla(0, 0%, 0%, 0.5); }

.project-item-icon-box {
  --scale: 0.8;

  background: var(--jet);
  color: var(--orange-yellow-crayola);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(var(--scale));
  font-size: 20px;
  padding: 18px;
  border-radius: 12px;
  opacity: 0;
  z-index: 1;
  transition: var(--transition-1);
}

.project-item > a:hover .project-item-icon-box {
  --scale: 1;
  opacity: 1;
}

.project-item-icon-box ion-icon { --ionicon-stroke-width: 50px; }

.project-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.project-item > a:hover img { transform: scale(1.1); }

.project-title,
.project-category { margin-left: 10px; }

.project-title {
  color: var(--white-2);
  font-size: var(--fs-5);
  font-weight: var(--fw-400);
  text-transform: capitalize;
  line-height: 1.3;
}

.project-category {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}





/*-----------------------------------*\
  #BLOG
\*-----------------------------------*/

.blog-posts { margin-bottom: 10px; }

.blog-posts-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.blog-post-item > a {
  position: relative;
  background: var(--border-gradient-onyx);
  height: 100%;
  box-shadow: var(--shadow-4);
  border-radius: 16px;
  z-index: 1;
}

.blog-post-item > a::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: var(--eerie-black-1);
  z-index: -1;
}

.blog-banner-box {
  width: 100%;
  height: 200px;
  border-radius: 12px;
  overflow: hidden;
}

.blog-banner-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-banner-box img { transform: scale(1.1); }

.blog-content { padding: 15px; }

.blog-meta {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 7px;
  margin-bottom: 10px;
}

.blog-meta :is(.blog-category, time) {
  color: var(--light-gray-70);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
}

.blog-meta .dot {
  background: var(--light-gray-70);
  width: 4px;
  height: 4px;
  border-radius: 4px;
}

.blog-item-title {
  margin-bottom: 10px;
  line-height: 1.3;
  transition: var(--transition-1);
}

.blog-post-item > a:hover .blog-item-title { color: var(--orange-yellow-crayola); }

.blog-text {
  color: var(--light-gray);
  font-size: var(--fs-6);
  font-weight: var(--fw-300);
  line-height: 1.6;
}





/*-----------------------------------*\
  #CONTACT
\*-----------------------------------*/

.mapbox {
  position: relative;
  height: 250px;
  width: 100%;
  border-radius: 16px;
  margin-bottom: 30px;
  border: 1px solid var(--jet);
  overflow: hidden;
}

.mapbox figure { height: 100%; }

.mapbox iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(1) invert(1);
}

.contact-form { margin-bottom: 10px; }

.form-title { margin-bottom: 20px; }

.input-wrapper {
  display: grid;
  grid-template-columns: 1fr;
  gap: 25px;
  margin-bottom: 25px;
}

.form-input {
  color: var(--white-2);
  font-size: var(--fs-6);
  font-weight: var(--fw-400);
  padding: 13px 20px;
  border: 1px solid var(--jet);
  border-radius: 14px;
  outline: none;
}

.form-input::placeholder { font-weight: var(--fw-500); }

.form-input:focus { border-color: var(--orange-yellow-crayola); }

textarea.form-input {
  min-height: 100px;
  height: 120px;
  max-height: 200px;
  resize: vertical;
  margin-bottom: 25px;
}

textarea.form-input::-webkit-resizer { display: none; }

.form-input:focus:invalid { border-color: var(--bittersweet-shimmer); }

.form-btn {
  position: relative;
  width: 100%;
  background: var(--border-gradient-onyx);
  color: var(--orange-yellow-crayola);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 13px 20px;
  border-radius: 14px;
  font-size: var(--fs-6);
  text-transform: capitalize;
  box-shadow: var(--shadow-3);
  z-index: 1;
  transition: var(--transition-1);
}

.form-btn::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
  transition: var(--transition-1);
}

.form-btn ion-icon { font-size: 16px; }

.form-btn:hover { background: var(--bg-gradient-yellow-1); }

.form-btn:hover::before { background: var(--bg-gradient-yellow-2); }

.form-btn:disabled {
  opacity: 0.7;
  cursor: not-allowed;
}

.form-btn:disabled:hover { background: var(--border-gradient-onyx); }

.form-btn:disabled:hover::before { background: var(--bg-gradient-jet); }





/*-----------------------------------*\
  #RESPONSIVE
\*-----------------------------------*/

/**
 * responsive larger than 450px screen
 */

@media (min-width: 450px) {

  /**
   * client
   */

  .clients-item { min-width: calc(33.33% - 10px); }



  /**
   * #PORTFOLIO, BLOG 
   */

  .project-img,
  .blog-banner-box { height: auto; }

}





/**
 * responsive larger than 580px screen
 */

@media (min-width: 580px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
     * typography
     */

    --fs-1: 32px;
    --fs-2: 24px;
    --fs-3: 26px;
    --fs-4: 18px;
    --fs-6: 15px;
    --fs-7: 15px;
    --fs-8: 12px;

  }



  /**
   * #REUSED STYLE
   */

  .sidebar, article {
    width: 520px;
    margin-inline: auto;
    padding: 30px;
  }

  .article-title {
    font-weight: var(--fw-600);
    padding-bottom: 15px;
  }

  .article-title::after {
    width: 40px;
    height: 5px;
  }

  .icon-box {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    font-size: 18px;
  }



  /**
   * #MAIN
   */

  main {
    margin-top: 60px;
    margin-bottom: 100px;
  }



  /**
   * #SIDEBAR
   */

  .sidebar {
    max-height: 180px;
    margin-bottom: 30px;
  }

  .sidebar.active { max-height: 584px; }

  .sidebar-info { gap: 25px; }

  .avatar-box { border-radius: 30px; }

  .avatar-box img { width: 120px; }

  .info-content .name { margin-bottom: 15px; }

  .info-content .title { padding: 5px 18px; }

  .info_more-btn {
    top: -30px;
    right: -30px;
    padding: 10px 15px;
  }

  .info_more-btn span {
    display: block;
    font-size: var(--fs-8);
  }

  .info_more-btn ion-icon { display: none; }

  .separator { margin: 32px 0; }

  .contacts-list { gap: 20px; }

  .contact-info {
    max-width: calc(100% - 64px);
    width: calc(100% - 64px);
  }



  /**
   * #NAVBAR
   */

  .navbar { border-radius: 20px 20px 0 0; }

  .navbar-list { gap: 20px; }

  .navbar-link { --fs-8: 14px; }



  /**
   * #ABOUT
   */

  .about .article-title { margin-bottom: 20px; }

  .about-text { margin-bottom: 40px; }

  /* service */

  .service-item {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 18px;
    padding: 30px;
  }

  .service-icon-box {
    margin-bottom: 0;
    margin-top: 5px;
  }

  .service-content-box { text-align: left; }

  /* testimonials */

  .testimonials-title { margin-bottom: 25px; }

  .testimonials-list {
    gap: 30px;
    margin: 0 -30px;
    padding: 30px;
    padding-bottom: 35px;
  }

  .content-card {
    padding: 30px;
    padding-top: 25px;
  }

  .testimonials-avatar-box {
    transform: translate(30px, -30px);
    border-radius: 20px;
  }

  .testimonials-avatar-box img { width: 80px; }

  .testimonials-item-title {
    margin-bottom: 10px;
    margin-left: 95px;
  }

  .testimonials-text {
    line-clamp: 2;
    -webkit-line-clamp: 2;
  }

  /* testimonials modal */

  .modal-container { padding: 20px; }

  .testimonials-modal {
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
    gap: 25px;
    padding: 30px;
    border-radius: 20px;
  }

  .modal-img-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .modal-avatar-box {
    border-radius: 18px;
    margin-bottom: 0;
  }

  .modal-avatar-box img { width: 65px; }

  .modal-img-wrapper > img {
    display: block;
    flex-grow: 1;
    width: 35px;
  }

  /* clients */

  .clients-list {
    gap: 50px;
    margin: 0 -30px;
    padding: 45px;
    scroll-padding-inline: 45px;
  }

  .clients-item { min-width: calc(33.33% - 35px); }



  /**
   * #RESUME
   */

  .timeline-list { margin-left: 65px; }

  .timeline-item:not(:last-child)::before { left: -40px; }

  .timeline-item::after {
    height: 8px;
    width: 8px;
    left: -43px;
  }

  .skills-item:not(:last-child) { margin-bottom: 25px; }



  /**
   * #PORTFOLIO, BLOG
   */

  .project-img, .blog-banner-box { border-radius: 16px; }

  .blog-posts-list { gap: 30px; }

  .blog-content { padding: 25px; }



  /**
   * #CONTACT
   */

  .mapbox {
    height: 380px;
    border-radius: 18px;
  }

  .input-wrapper {
    gap: 30px;
    margin-bottom: 30px;
  }

  .form-input { padding: 15px 20px; }

  textarea.form-input { margin-bottom: 30px; }

  .form-btn {
    --fs-6: 16px;
    padding: 16px 20px;
  }

  .form-btn ion-icon { font-size: 18px; }

}





/**
 * responsive larger than 768px screen
 */

@media (min-width: 768px) {

  /**
   * REUSED STYLE
   */

  .sidebar, article { width: 700px; }

  .has-scrollbar::-webkit-scrollbar-button { width: 100px; }



  /**
   * SIDEBAR
   */

  .contacts-list {
    grid-template-columns: 1fr 1fr;
    gap: 30px 15px;
  }



  /**
   * NAVBAR
   */

  .navbar-link { --fs-8: 15px; }



  /**
   * ABOUT
   */

  /* testimonials modal */

  .testimonials-modal {
    gap: 35px;
    max-width: 680px;
  }

  .modal-avatar-box img { width: 80px; }



  /**
   * PORTFOLIO
   */

  .article-title { padding-bottom: 20px; }

  .filter-select-box { display: none; }

  .filter-list {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 25px;
    padding-left: 5px;
    margin-bottom: 30px;
  }

  .filter-item button {
    color: var(--light-gray);
    font-size: var(--fs-5);
    transition: var(--transition-1);
  }

  .filter-item button:hover { color: var(--light-gray-70); }

  .filter-item button.active { color: var(--orange-yellow-crayola); }

  /* portfolio and blog grid */

  .project-list, .blog-posts-list { grid-template-columns: 1fr 1fr; }



  /**
   * CONTACT
   */

  .input-wrapper { grid-template-columns: 1fr 1fr; }

  .form-btn {
    width: max-content;
    margin-left: auto;
  }
  
}





/**
 * responsive larger than 1024px screen
 */

@media (min-width: 1024px) {

  /**
   * CUSTOM PROPERTY
   */

  :root {

    /**
    * shadow
    */

    --shadow-1: -4px 8px 24px hsla(0, 0%, 0%, 0.125);
    --shadow-2: 0 16px 30px hsla(0, 0%, 0%, 0.125);
    --shadow-3: 0 16px 40px hsla(0, 0%, 0%, 0.125);

  }



  /**
   * REUSED STYLE
   */

  .sidebar, article {
    width: 950px;
    box-shadow: var(--shadow-5);
  }



  /**
   * MAIN 
   */

  main { margin-bottom: 60px; }

  .main-content {
    position: relative;
    width: max-content;
    margin: auto;
  }



  /**
   * NAVBAR
   */

  .navbar {
    position: absolute;
    bottom: auto;
    top: 0;
    left: auto;
    right: 0;
    width: max-content;
    border-radius: 0 20px;
    padding: 0 20px;
    box-shadow: none;
  }

  .navbar-list {
    gap: 30px;
    padding: 0 20px;
  }

  .navbar-link { font-weight: var(--fw-500); }



  /**
   * ABOUT
   */

  /* service */

  .service-list {
    grid-template-columns: 1fr 1fr;
    gap: 20px 25px;
  }

  /* testimonials */

  .testimonials-item { min-width: calc(50% - 15px); }

  /* clients */

  .clients-item { min-width: calc(25% - 38px); }



  /**
   * PORTFOLIO
   */

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



  /**
   * BLOG
   */

  .blog-banner-box { height: 230px; }

}





/**
 * responsive larger than 1250px screen
 */

@media (min-width: 1250px) {

  /**
   * RESET
   */

  body::-webkit-scrollbar { width: 20px; }

  body::-webkit-scrollbar-track { background: var(--smoky-black); }

  body::-webkit-scrollbar-thumb {
    border: 5px solid var(--smoky-black);
    background: hsla(0, 0%, 100%, 0.1);
    border-radius: 20px;
    box-shadow: inset 1px 1px 0 hsla(0, 0%, 100%, 0.11),
                inset -1px -1px 0 hsla(0, 0%, 100%, 0.11);
  }

  body::-webkit-scrollbar-thumb:hover { background: hsla(0, 0%, 100%, 0.15); }

  body::-webkit-scrollbar-button { height: 60px; }



  /**
   * REUSED STYLE
   */

  .sidebar, article { width: auto; }

  article { min-height: 100%; }



  /**
   * MAIN
   */

  main {
    max-width: 1200px;
    margin-inline: auto;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 25px;
  }

  .main-content {
    min-width: 75%;
    width: 75%;
    margin: 0;
  }



  /**
   * SIDEBAR
   */

  .sidebar {
    position: sticky;
    top: 60px;
    max-height: max-content;
    height: 100%;
    margin-bottom: 0;
    padding-top: 60px;
    z-index: 1;
  }

  .sidebar-info { flex-direction: column; }

  .avatar-box img { width: 150px; }

  .info-content .name {
    white-space: nowrap;
    text-align: center;
  }

  .info-content .title { margin: auto; }

  .info_more-btn { display: none; }

  .sidebar-info_more {
    opacity: 1;
    visibility: visible;
  }

  .contacts-list { grid-template-columns: 1fr; }

  .contact-info :is(.contact-link) {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .contact-info :is(.contact-link, time, address) {
    --fs-7: 14px;
    font-weight: var(--fw-300);
  }

  .separator:last-of-type {
    margin: 15px 0;
    opacity: 0;
  }

  .social-list { justify-content: center; }



  /**
	 * RESUME
	 */

  .timeline-text { max-width: 700px; }

}

/* Portfolio adaptation of vCard by codewithsadee. Original MIT notice retained. */
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: 'Poppins';
  src: url('assets/fonts/Poppins-SemiBold.ttf') format('truetype');
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

:root {
  color-scheme: dark;
  --ff-poppins: 'Poppins', 'Segoe UI', sans-serif;
  --accent: #79e6ac;
  --accent-strong: #53d98f;
  --muted: #a9b0ad;
  --subtle: #7e8984;
  --line: #333a36;
  --panel: #1b1e1c;
  --smoky-black: #101311;
  --eerie-black-1: #191d1a;
  --eerie-black-2: #1b1e1c;
  --jet: #333a36;
  --orange-yellow-crayola: #79e6ac;
  --vegas-gold: #79e6ac;
  --white-1: #f5f8f6;
  --white-2: #f0f5f2;
  --light-gray: #b6beb9;
  --light-gray-70: #a9b0ad;
  --text-gradient-yellow: linear-gradient(100deg, #a5f5c9, #53d98f);
  --bg-gradient-yellow-1: linear-gradient(135deg, #79e6ac, #49c981);
  --bg-gradient-yellow-2: linear-gradient(135deg, #1f3a2c, #19261e);
  --shadow-1: 0 16px 45px #00000016;
  --shadow-2: 0 12px 35px #00000014;
  --shadow-5: 0 20px 55px #00000020;
  --fw-300: 400;
  --fw-500: 600;
}

html { scroll-behavior: smooth; scroll-padding-top: 28px; }
body {
  min-width: 280px;
  margin: 0;
  background: radial-gradient(ellipse at 7% 0, #1a2b2080, transparent 38%), #101311;
  color: var(--white-2);
  font-family: var(--ff-poppins);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
body::-webkit-scrollbar { width: 10px; }
body::-webkit-scrollbar-thumb { border: 2px solid #101311; background: #46594c; border-radius: 8px; box-shadow: none; }
body::-webkit-scrollbar-button { height: 0; }
span { display: inline; }
button, input, textarea, select { font: inherit; }
button, a, input, textarea, select { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
strong, h1, h2, h3, h4 { font-weight: 600; }
small { font-size: 12px; }
a { color: inherit; }
img { max-width: 100%; height: auto; }
button, a { touch-action: manipulation; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 5px; }
::selection { background: var(--accent); color: #101e16; }
.accent { display: inline; color: var(--accent); }
.svg-library { position: absolute; width: 0; height: 0; overflow: hidden; pointer-events: none; }
.icon { display: block; flex: 0 0 auto; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.sr-only { 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 { position: fixed; top: 10px; left: 16px; z-index: 100; padding: 12px 18px; background: var(--accent); color: #102318; border-radius: 8px; transform: translateY(-150%); }
.skip-link:focus { transform: none; }

/* Keep the original vCard sidebar-and-content composition at every size. */
.site-masthead { display: flex; align-items: center; gap: 24px; width: min(1200px, calc(100% - 48px)); margin: 34px auto 28px; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 600; letter-spacing: -.7px; }
.wordmark > .accent { margin-left: -8px; }
.wordmark-icon { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #3b7150; border-radius: 10px; background: #20452f; color: #94edb9; font-size: 16px; font-family: Consolas, monospace; }
.site-masthead > p { margin-left: auto; color: #84968b; font-size: 10px; letter-spacing: 1.6px; }
.masthead-contact { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; padding: 0 15px; border: 1px solid #3b4c41; border-radius: 9px; font-size: 12px; color: #dce8e0; transition: border-color .2s, background .2s; }
.masthead-contact .icon { width: 16px; height: 16px; }
.masthead-contact:hover { border-color: var(--accent); background: #203227; }
main.portfolio-shell { display: grid; grid-template-columns: minmax(0, 1fr); align-items: start; gap: 22px; width: min(960px, calc(100% - 48px)); min-width: 0; max-width: 1200px; margin: 0 auto 28px; }
.main-content { position: relative; min-width: 0; width: 100%; margin: 0; border: 1px solid var(--line); border-radius: 22px; background: var(--panel); box-shadow: var(--shadow-5); }
.main-content article[data-page] { display: block; width: 100%; min-height: 0; margin: 0; padding: 34px; border: 0; border-radius: 0 0 22px 22px; background: transparent; box-shadow: none; }
.main-content article[data-page] + article[data-page] { border-top: 1px solid var(--line); }
.main-content article[data-page]:focus:not(:focus-visible) { outline: none; }
.main-content article.active { animation: panel-enter .25s ease both; }
@keyframes panel-enter { from { opacity: .4; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.sidebar, .sidebar.active { position: relative; top: auto; width: 100%; height: auto; max-height: none; margin: 0; padding: 24px; border: 1px solid var(--line); border-radius: 22px; overflow: visible; background: linear-gradient(150deg, #232a25, #1b1e1c 60%); box-shadow: var(--shadow-5); }
.sidebar-info { position: relative; display: grid; grid-template-columns: 88px minmax(0, 1fr) auto; align-items: center; gap: 22px; }
.avatar-box { display: grid; place-items: center; width: 88px; height: 88px; border: 1px solid #536a59; border-radius: 22px; background: radial-gradient(circle at 25% 20%, #536e52, #263c2b 68%); overflow: hidden; }
.avatar-box img { width: 88px; height: 88px; object-fit: contain; }
.profile-eyebrow { color: #93ac9c; font-size: 10px; letter-spacing: 2px; margin-bottom: 3px; }
.info-content .name { margin: 0 0 6px; font-size: 26px; font-weight: 600; line-height: 1.3; letter-spacing: -.8px; white-space: normal; text-align: left; }
.info-content .title { display: inline-block; width: auto; margin: 0; padding: 4px 10px; border: 1px solid #414c44; border-radius: 6px; background: #2b332d; color: #d0dbd4; font-size: 12px; font-weight: 400; }
.info_more-btn { position: static; display: flex; align-items: center; justify-content: center; gap: 9px; min-width: 44px; min-height: 44px; padding: 11px 13px; border: 1px solid #47544b; border-radius: 9px; background: #2c352e; color: var(--accent); font-size: 12px; box-shadow: none; }
.info_more-btn::before { display: none; }
.info_more-btn span { display: inline; font-size: inherit; }
.info_more-btn .icon { width: 16px; height: 16px; transition: transform .2s; }
.info_more-btn[aria-expanded="true"] .icon { transform: rotate(180deg); }
.info_more-btn:hover, .info_more-btn:focus { background: #34493b; }
.sidebar-info_more, .sidebar.active .sidebar-info_more { opacity: 1; visibility: visible; }
.separator, .separator:last-of-type { height: 1px; margin: 24px 0; background: #3a443d; opacity: 1; }
.contacts-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.contact-item { display: flex; align-items: center; min-width: 0; gap: 11px; }
.icon-box { display: grid; place-items: center; flex: 0 0 auto; width: 40px; height: 40px; border: 1px solid #3b4b40; border-radius: 11px; background: linear-gradient(135deg, #2a362d, #202822); color: var(--accent); box-shadow: 0 4px 10px #00000012; }
.icon-box::before { display: none; }
.icon-box .icon { width: 18px; height: 18px; }
.contact-info { min-width: 0; width: auto; max-width: none; }
.contact-title { margin-bottom: 3px; color: #96a49c; font-size: 10px; letter-spacing: .7px; }
.contact-info :is(.contact-link, time, address, .contact-value) { display: block; color: #e1e9e4; font-size: 12px; font-weight: 400; line-height: 1.6; white-space: normal; overflow-wrap: anywhere; overflow: visible; text-overflow: clip; }
.contact-link:hover { color: var(--accent); }
.profile-availability { display: flex; align-items: center; gap: 9px; margin: 23px 0 16px; color: #b8c8bd; font-size: 12px; }
.live-dot { display: inline-block; flex: 0 0 auto; width: 6px; height: 6px; border-radius: 50%; background: #8bebaf; box-shadow: 0 0 0 4px #79e6ac10; }
.download-link { display: flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 10px 12px; border: 1px solid #48634f; border-radius: 9px; background: #23362a; color: #b1f3ca; font-size: 12px; transition: background .2s, border-color .2s; }
.download-link .icon { width: 16px; height: 16px; }
.download-link .icon:last-child { margin-left: auto; }
.download-link:hover { border-color: var(--accent); background: #2c4835; }
.profile-note { margin-top: 12px; color: #9aaba0; font-size: 10px; text-align: center; }

/* Navigation becomes a thumb-friendly bottom bar on compact screens. */
.navbar { position: relative; inset: auto; width: 100%; padding: 0 20px; border: 0; border-bottom: 1px solid #373e39; border-radius: 21px 21px 0 0; background: #242a25; box-shadow: none; backdrop-filter: none; z-index: 5; }
.navbar-list { display: flex; flex-wrap: nowrap; align-items: stretch; justify-content: space-between; gap: 8px; padding: 0; }
.navbar-item { min-width: 0; }
.navbar-link { position: relative; display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 68px; padding: 14px 12px; color: #aebbb2; font-size: 12px; font-weight: 400; line-height: 1.4; }
.navbar-link .icon { width: 16px; height: 16px; }
.navbar-link::after { position: absolute; right: 12px; bottom: -1px; left: 12px; height: 2px; border-radius: 2px; background: transparent; content: ''; }
.navbar-link.active { color: #a2f1c3; }
.navbar-link.active::after { background: #79e6ac; box-shadow: 0 -4px 16px #79e6ac30; }
.navbar-link:hover, .navbar-link:focus { color: #d0f9e1; }

/* Overview */
.panel-header { margin-bottom: 29px; }
.section-kicker { color: #8bab97; font-size: 10px; letter-spacing: 1.7px; line-height: 1.6; }
.article-title, .about .article-title { width: fit-content; max-width: 100%; margin: 7px 0 0; padding-bottom: 16px; font-size: 29px; line-height: 1.4; letter-spacing: -.8px; text-transform: none; }
.article-title::after { width: 38px; height: 3px; border-radius: 3px; background: var(--accent); }
.panel-description { max-width: 650px; margin-top: 19px; color: var(--muted); font-size: 13px; line-height: 1.9; }
.intro-hero { position: relative; display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(210px, .8fr); gap: 12px; margin-bottom: 36px; padding: 30px; border: 1px solid #35523e; border-radius: 16px; background: radial-gradient(ellipse at 90% 20%, #30563b85, transparent 62%), linear-gradient(135deg, #202e24, #18241c); overflow: hidden; }
.hero-text { position: relative; z-index: 1; }
.hero-pill { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 19px; color: #b6d9c2; font-size: 9px; letter-spacing: 1.2px; }
.hero-pill .live-dot { width: 5px; height: 5px; }
.hero-text h3 { color: #f2f9f5; font-size: clamp(34px, 3.1vw, 43px); line-height: 1.22; font-weight: 600; letter-spacing: -1.8px; }
.hero-text > p { max-width: 340px; margin: 19px 0 23px; color: #b2c5b9; font-size: 12px; line-height: 1.85; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 15px; }
.primary-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 47px; padding: 12px 17px; border: 1px solid #8ce8b5; border-radius: 8px; background: #79e6ac; color: #12261b; font-size: 12px; font-weight: 600; line-height: 1.5; text-align: center; transition: background .2s, transform .2s, box-shadow .2s; }
.primary-button .icon { width: 17px; height: 17px; }
.primary-button:hover { background: #9ff0c5; transform: translateY(-1px); box-shadow: 0 6px 20px #60df9b18; }
.quiet-link { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 44px; color: #d2e7d9; font-size: 12px; }
.quiet-link .icon { width: 15px; height: 15px; }
.quiet-link:hover { color: var(--accent); }
.hero-visual { position: relative; min-height: 292px; align-self: stretch; isolation: isolate; }
.visual-grid { position: absolute; inset: -10px; background-image: linear-gradient(#87dca711 1px, transparent 1px), linear-gradient(90deg, #87dca711 1px, transparent 1px); background-size: 28px 28px; mask-image: radial-gradient(ellipse, #000 15%, transparent 75%); transform: rotate(-12deg); }
.visual-orbit { position: absolute; top: 45%; left: 50%; width: 250px; height: 130px; border: 1px solid #77c89445; border-radius: 50%; transform: translate(-50%, -50%) rotate(-38deg); box-shadow: 0 0 22px #7cdd9e07; }
.orbit-b { width: 230px; height: 170px; transform: translate(-50%, -50%) rotate(48deg); border-color: #77c89425; }
.visual-core { position: absolute; top: 44%; left: 50%; display: grid; place-items: center; width: 124px; height: 132px; border: 1px solid #a6f5bd; border-radius: 27px; background: linear-gradient(145deg, #6ac883, #2e7549 70%); box-shadow: 12px 18px 0 #081c1260, inset 2px 2px 1px #ceffdc66, 0 0 65px #83e0a326; color: #e1ffec; font-family: Consolas, monospace; font-size: 43px; font-weight: 600; transform: translate(-50%, -50%) rotate(-13deg); }
.visual-core::before { position: absolute; inset: 8px; border: 1px solid #c7ffd53b; border-radius: 19px; content: ''; }
.code-tile { position: absolute; display: grid; place-items: center; width: 54px; height: 49px; border: 1px solid #5a8765; border-radius: 12px; background: #284c33; color: #c4f8d3; font-family: Consolas, monospace; font-size: 20px; box-shadow: 4px 8px 20px #0000002a; z-index: 2; }
.tile-html { top: 10px; left: 7px; transform: rotate(-9deg); }
.tile-js { top: 29px; right: 0; width: 46px; height: 46px; background: #4c5635; color: #e4efb2; transform: rotate(11deg); }
.tile-css { right: 5px; bottom: 67px; width: 48px; height: 48px; transform: rotate(-9deg); }
.visual-tag { position: absolute; right: 0; bottom: 0; left: 0; color: #8cad96; font-family: Consolas, monospace; font-size: 9px; letter-spacing: 1.2px; line-height: 1.9; text-align: center; }
.section-topline { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 9px 20px; margin-bottom: 18px; }
.h3 { color: #ecf4ef; font-size: 18px; line-height: 1.5; letter-spacing: -.35px; text-transform: none; }
.h4 { color: #ecf4ef; font-size: 15px; line-height: 1.55; text-transform: none; }
.section-index { color: #899d90; font-size: 9px; letter-spacing: 1px; white-space: nowrap; }
.about-section { margin-bottom: 30px; }
.about-text { margin-bottom: 0; color: #aebbb3; font-size: 13px; line-height: 1.95; font-weight: 400; }
.about-text p { margin-bottom: 13px; }
.about-text p:last-child { margin-bottom: 0; }
.service { margin-bottom: 0; }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.service-item { position: relative; display: grid; grid-template-columns: 36px minmax(0, 1fr); align-items: start; justify-content: normal; gap: 14px; padding: 22px 18px; border: 1px solid #3a463e; border-radius: 13px; background: linear-gradient(135deg, #242e27, #1e2520); box-shadow: 0 8px 22px #0000000d; }
.service-item::before { display: none; }
.service-icon-box { display: grid; place-items: center; width: 36px; height: 36px; margin: 2px 0 0; border: 1px solid #42634d; border-radius: 10px; background: #284332; color: var(--accent); }
.service-icon-box .icon { width: 20px; height: 20px; }
.service-content-box { min-width: 0; text-align: left; }
.service-item-title { margin-bottom: 7px; font-size: 14px; }
.service-item-text { color: #a6b5ab; font-size: 12px; line-height: 1.85; font-weight: 400; }
.next-panel { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-top: 33px; padding: 24px 0 0; border-top: 1px solid #343e36; color: #d8e8de; font-size: 13px; transition: color .2s; }
.next-panel > span { display: block; }
.next-panel small { display: block; margin-bottom: 4px; color: #8ba394; font-size: 9px; letter-spacing: 1.4px; }
.next-panel > .icon { width: 25px; height: 25px; padding: 2px; color: var(--accent); transition: transform .2s; }
.next-panel:hover { color: var(--accent); }
.next-panel:hover > .icon { transform: translateX(4px); }

/* Skills */
.toolkit-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.toolkit-card { position: relative; min-width: 0; padding: 25px; border: 1px solid #3a453d; border-radius: 14px; background: linear-gradient(145deg, #252d27, #202521); }
.toolkit-mark { display: grid; place-items: center; width: 53px; height: 53px; margin-bottom: 22px; border: 1px solid #635144; border-radius: 13px; background: #3c3027; color: #f0b08b; font-family: Consolas, monospace; font-size: 23px; font-weight: 600; }
.blue-mark { border-color: #39586a; background: #253640; color: #8dcaef; }
.yellow-mark { border-color: #625f37; background: #3a3926; color: #e8e39b; }
.purple-mark { border-color: #594769; background: #352b42; color: #d0a9f0; }
.toolkit-mark .icon { width: 25px; height: 25px; }
.toolkit-label { display: block; color: #8ca595; font-size: 9px; letter-spacing: 1.4px; }
.toolkit-card h3 { margin: 5px 0 10px; color: #f0f6f2; font-size: 19px; letter-spacing: -.4px; }
.toolkit-card p { min-height: 66px; color: #aebbb3; font-size: 12px; line-height: 1.85; }
.tag-list { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.tag-list span { display: inline-flex; align-items: center; min-height: 26px; padding: 4px 8px; border: 1px solid #3b4c40; border-radius: 5px; background: #2a362d; color: #b7cabc; font-size: 10px; line-height: 1.6; }
.working-style { display: flex; align-items: center; gap: 17px; margin-top: 23px; padding: 21px 23px; border: 1px solid #3b5944; border-radius: 13px; background: linear-gradient(100deg, #263b2c, #202a23); }
.working-style .h4 { margin-bottom: 5px; font-size: 14px; }
.working-style p { color: #aac1b2; font-size: 12px; line-height: 1.8; }

/* Academic timeline */
.sample-label { margin: 0 0 24px; color: #9aaca1; font-size: 10px; letter-spacing: .8px; line-height: 1.8; }
.timeline { margin-bottom: 0; }
.timeline .title-wrapper { display: flex; align-items: center; gap: 15px; margin-bottom: 27px; }
.timeline-list { margin-left: 20px; padding-left: 33px; border-left: 1px solid #3f5145; }
.timeline-item { position: relative; padding: 0 0 36px; }
.timeline-item:not(:last-child) { margin: 0; }
.timeline-item:not(:last-child)::before { display: none; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-item::after { top: 7px; left: -37px; width: 7px; height: 7px; border: 0; border-radius: 50%; background: #8bedb4; box-shadow: 0 0 0 5px #2b3b30; }
.timeline-date { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 9px; color: var(--accent); font-size: 12px; }
.timeline-list .tiny-label { display: inline-block; padding: 3px 7px; border: 1px solid #405345; border-radius: 4px; color: #a3bcad; background: #28382d; font-size: 8px; letter-spacing: .7px; line-height: 1.6; }
.timeline-item-title { margin-bottom: 5px; font-size: 16px; line-height: 1.6; }
.school-name { margin-bottom: 10px; color: #c2d1c7; font-size: 13px; }
.timeline-text { max-width: 650px; color: #a8b7ad; font-size: 12px; font-weight: 400; line-height: 1.9; }

/* Awards, certificates, badges, and credentials share one achievement panel. */
.achievement-nav { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 21px; padding: 5px; border: 1px solid #3c4840; border-radius: 10px; background: #202822; }
.achievement-nav a { display: flex; align-items: center; justify-content: center; flex: 1 1 auto; min-height: 42px; padding: 9px 12px; border-radius: 6px; color: #bdd0c3; font-size: 12px; transition: background .2s, color .2s; }
.achievement-nav a:hover { background: #2d4233; color: #b8f6d1; }
.achievement-section { margin: 0 0 37px; scroll-margin-top: 25px; }
.achievement-section:last-of-type { margin-bottom: 0; }
.award-list { display: grid; gap: 11px; }
.award-item { display: grid; grid-template-columns: 48px minmax(0, 1fr) auto 18px; align-items: center; gap: 16px; width: 100%; padding: 19px; border: 1px solid #3b4840; border-radius: 12px; background: linear-gradient(110deg, #252f28, #202622); transition: border-color .2s, background .2s; }
.award-icon { display: grid; place-items: center; width: 48px; height: 48px; border: 1px solid #516847; border-radius: 11px; background: #34462e; color: #c3dfa1; }
.award-icon .icon { width: 23px; height: 23px; }
.award-content { display: block; min-width: 0; }
.award-content small { display: block; margin-bottom: 4px; color: #96b59f; font-size: 8px; letter-spacing: 1px; }
.award-content strong { display: block; margin-bottom: 4px; color: #eff6f1; font-size: 15px; }
.award-content > span { display: block; color: #a0b2a6; font-size: 11px; }
.award-date { color: #b6cabd; font-size: 11px; }
.award-item > .icon { width: 18px; height: 18px; color: #92c7a3; }
.award-item:hover { border-color: #6b9476; background: #29382d; }
.certificate-filters { display: flex; flex-wrap: wrap; gap: 7px; margin: -2px 0 18px; }
.filter-button { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 13px; border: 1px solid #3e4b41; border-radius: 7px; color: #a9bdb0; font-size: 11px; transition: background .2s, color .2s, border-color .2s; }
.filter-button.active { border-color: #4b805c; background: #294b34; color: #b9f5ce; }
.filter-button:hover { border-color: #7eaa8a; color: #d6f8e1; }
.certificates-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-items: stretch; gap: 14px; }
.certificate-card { min-width: 0; border: 1px solid #3d4e42; border-radius: 12px; background: #222a24; overflow: hidden; transition: border-color .2s, transform .2s; }
.certificate-card:hover { transform: translateY(-3px); border-color: #739d7e; }
.certificate-cover { position: relative; isolation: isolate; display: flex; flex-direction: column; min-height: 181px; padding: 18px 17px 15px; background: linear-gradient(125deg, #345c41, #1e3827); color: #b6edc7; overflow: hidden; }
.certificate-cover::before, .certificate-cover::after { position: absolute; z-index: -1; width: 190px; height: 190px; border: 1px solid currentColor; border-radius: 50%; opacity: .12; content: ''; }
.certificate-cover::before { top: -104px; right: -85px; box-shadow: 0 0 0 16px #ffffff04, 0 0 0 32px #ffffff04, 0 0 0 48px #ffffff04; }
.certificate-cover::after { bottom: -153px; left: -40px; width: 270px; height: 270px; }
.certificate-id { display: block; color: inherit; font-size: 8px; letter-spacing: 1px; }
.cover-symbol { display: grid; align-items: center; flex: 1; margin: 13px 0 7px; font-family: Consolas, monospace; font-size: 36px; font-weight: 600; line-height: 1.2; }
.cover-symbol .icon { width: 36px; height: 36px; }
.cover-caption { display: block; margin-bottom: 17px; font-size: 8px; letter-spacing: .8px; }
.cover-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 4px; padding-top: 10px; border-top: 1px solid #d6ffe128; font-size: 7px; letter-spacing: 1px; }
.cover-foot > span { font-size: 7px; opacity: .7; }
.cover-js { background: linear-gradient(125deg, #5c5830, #39381f); color: #e3dfa5; }
.cover-ux { background: linear-gradient(125deg, #51415f, #33293f); color: #d8bfea; }
.certificate-information { display: block; padding: 17px 15px 15px; }
.certificate-information small { display: block; margin-bottom: 8px; color: #97b39f; font-size: 8px; letter-spacing: .8px; }
.certificate-information strong { display: block; min-height: 42px; margin-bottom: 13px; color: #e9f2ec; font-size: 13px; line-height: 1.6; }
.certificate-information > span { display: flex; align-items: center; justify-content: space-between; gap: 8px; color: #a1b6a8; font-size: 10px; }
.certificate-information .icon { width: 15px; height: 15px; color: #9bd7af; }
.badges-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.badge-card { display: flex; flex-direction: column; align-items: center; min-width: 0; padding: 21px 10px 17px; border: 1px solid #3b4a40; border-radius: 12px; background: linear-gradient(140deg, #27332b, #202622); text-align: center; transition: border-color .2s, transform .2s; }
.badge-card:hover { transform: translateY(-3px); border-color: #7ba487; }
.badge-medal { --medal-color: #73d99c; --medal-bg: #284c32; position: relative; isolation: isolate; display: grid; place-items: center; width: 66px; height: 74px; margin-bottom: 17px; background: linear-gradient(140deg, var(--medal-color), var(--medal-bg)); color: var(--medal-color); font-family: Consolas, monospace; font-size: 23px; font-weight: 600; clip-path: polygon(50% 0, 94% 25%, 94% 75%, 50% 100%, 6% 75%, 6% 25%); }
.badge-medal::before { position: absolute; z-index: -1; inset: 2px; background: #243a2d; clip-path: inherit; content: ''; }
.badge-medal .icon { width: 28px; height: 28px; }
.medal-yellow { --medal-color: #dfda8e; --medal-bg: #6b6234; }
.medal-yellow::before { background: #3c3b27; }
.medal-purple { --medal-color: #c7a2e5; --medal-bg: #604071; }
.medal-purple::before { background: #392d46; }
.medal-blue { --medal-color: #98cceb; --medal-bg: #365e75; }
.medal-blue::before { background: #263b47; }
.badge-card strong { display: block; margin-bottom: 5px; color: #e9f4ed; font-size: 12px; line-height: 1.6; }
.badge-card small { display: block; color: #a3baab; font-size: 10px; }
.badge-hint { display: block; margin-top: 13px; color: #97c4a5; font-size: 9px; }
.credential-search { display: flex; align-items: center; gap: 12px; margin-bottom: 15px; padding: 0 15px; border: 1px solid #425447; border-radius: 9px; background: #171f19; }
.credential-search > .icon { width: 18px; height: 18px; color: #91aa9a; }
.credential-search input { width: 100%; min-width: 0; min-height: 48px; padding: 13px 0; border: 0; background: transparent; color: #eef7f1; font-size: 12px; }
.credential-search input::placeholder { color: #8eaa97; opacity: 1; }
.credential-search:focus-within { border-color: var(--accent); }
.credentials-list { display: grid; gap: 9px; }
.credential-row { display: grid; grid-template-columns: 34px minmax(0, 1fr) 18px; align-items: center; gap: 13px; width: 100%; padding: 16px; border: 1px solid #394a3e; border-radius: 10px; background: #212b24; transition: background .2s, border-color .2s; }
.credential-row:hover { border-color: #6a9777; background: #29392e; }
.credential-check { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #486b53; border-radius: 50%; background: #294a34; color: #a6e9be; }
.credential-check .icon { width: 17px; height: 17px; }
.credential-row > span:nth-child(2) { display: block; min-width: 0; }
.credential-row strong { display: block; margin-bottom: 3px; color: #e4f0e8; font-size: 13px; }
.credential-row small { display: block; color: #9bb6a4; font-size: 11px; }
.credential-row > .icon { width: 17px; height: 17px; color: #9ccbad; }
.search-empty { margin-top: 15px; padding: 20px; border: 1px dashed #48604f; border-radius: 9px; color: #b6ccbd; font-size: 12px; }
#search-status { margin: 15px 0 0; text-transform: none; letter-spacing: .2px; }

/* Contact */
.contact-banner { display: grid; grid-template-columns: 52px minmax(0, 1fr) auto; align-items: center; gap: 17px; padding: 24px; border: 1px solid #3e644b; border-radius: 14px; background: radial-gradient(ellipse at 95% 0, #3d71484d, transparent 70%), #253a2c; }
.contact-banner-icon { display: grid; place-items: center; width: 52px; height: 52px; border: 1px solid #5f996f; border-radius: 13px; background: #355c40; color: #b9efcc; }
.contact-banner-icon .icon { width: 25px; height: 25px; }
.contact-banner > div:nth-child(2) { min-width: 0; }
.contact-banner p { margin-bottom: 4px; color: #a2c8af; font-size: 9px; letter-spacing: 1.7px; }
.contact-banner a { display: inline-block; margin-bottom: 4px; color: #effbf3; font-size: 19px; font-weight: 600; letter-spacing: -.5px; overflow-wrap: anywhere; }
.contact-banner a:hover { color: var(--accent); }
.contact-banner small { display: block; color: #a5bfae; font-size: 10px; }
.copy-button { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; min-width: 78px; padding: 10px 12px; border: 1px solid #5a7b63; border-radius: 7px; background: #304d38; color: #cfebd8; font-size: 11px; }
.copy-button .icon { width: 15px; height: 15px; }
.copy-button:hover { border-color: #a4dfb7; background: #3b6045; }
.inline-status { min-height: 0; margin: 12px 0 0; color: #b6e7c6; font-size: 12px; overflow-wrap: anywhere; }
.inline-status:empty { display: none; }
.contact-form { margin: 32px 0 0; }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; margin-bottom: 22px; }
.field { min-width: 0; margin-bottom: 22px; }
.form-grid .field { margin-bottom: 0; }
.field label { display: block; margin-bottom: 9px; color: #d4e4d9; font-size: 12px; }
.field label span { display: inline; margin-left: 2px; color: #8cdbab; }
.field :is(input, select, textarea) { display: block; width: 100%; min-width: 0; min-height: 49px; padding: 13px 14px; border: 1px solid #425448; border-radius: 9px; background: #171f19; color: #e8f4ec; font-size: 12px; line-height: 1.7; transition: border-color .2s, box-shadow .2s; }
.field :is(input, select, textarea)::placeholder { color: #93aa9b; opacity: 1; }
.field :is(input, select, textarea):focus { border-color: #7cd8a0; box-shadow: 0 0 0 3px #79e6ac0b; }
.field select { padding-right: 28px; cursor: pointer; }
.field option { background: #1c2920; color: #eff6f1; }
.field textarea { min-height: 150px; max-height: 500px; resize: vertical; }
.form-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 16px; padding-top: 2px; }
.form-footer p { color: #9eb2a5; font-size: 11px; line-height: 1.9; }

/* Footer and native achievement dialog. */
.site-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 8px 25px; width: min(1200px, calc(100% - 48px)); margin: 0 auto 35px; padding-top: 9px; color: #8fa497; font-size: 10px; line-height: 1.8; }
.site-footer span, .site-footer a { display: inline; }
.site-footer a { color: #b8d4c2; text-decoration: underline; text-decoration-color: #476551; text-underline-offset: 3px; }
.site-footer a:hover { color: var(--accent); }
.template-note { width: 100%; color: #82998a; font-size: 9px; }
.record-dialog { width: min(550px, calc(100% - 32px)); max-width: none; max-height: calc(100dvh - 40px); margin: auto; padding: 27px; border: 1px solid #57735f; border-radius: 20px; background: #1d2821; color: #eaf6ee; box-shadow: 0 35px 150px #00000080; overflow-y: auto; }
.record-dialog::backdrop { background: #07130ccc; backdrop-filter: blur(6px); }
.dialog-header { display: flex; align-items: center; justify-content: space-between; gap: 15px; margin: -7px -7px 23px 0; color: #9bb3a3; font-size: 9px; letter-spacing: 1.2px; }
.dialog-close { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid #4a6553; border-radius: 9px; background: #2c3d31; color: #c9e6d3; font-family: Arial, sans-serif; font-size: 27px; line-height: 1; }
.dialog-close:hover { background: #3d5d47; border-color: var(--accent); }
.dialog-icon { display: grid; place-items: center; width: 55px; height: 55px; margin-bottom: 20px; border: 1px solid #638153; border-radius: 13px; background: #3e5134; color: #d0e5ae; }
.dialog-icon .icon { width: 27px; height: 27px; }
.record-dialog .section-kicker { color: #9cd3b0; font-size: 9px; }
.record-dialog h2 { margin: 7px 0 13px; font-size: 25px; letter-spacing: -.7px; line-height: 1.45; }
#dialog-description { color: #b2c8ba; font-size: 13px; line-height: 1.9; }
.dialog-metadata { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 23px 0 18px; }
.dialog-metadata > div { min-width: 0; padding: 13px; border: 1px solid #3b5443; border-radius: 9px; background: #233429; }
.dialog-metadata dt { margin-bottom: 5px; color: #9ab6a3; font-size: 10px; }
.dialog-metadata dd { margin: 0; color: #e0f0e6; font-size: 12px; overflow-wrap: anywhere; }
.dialog-disclaimer { padding: 13px 14px; border-left: 2px solid #829a6f; background: #34402b; color: #c0d0ae; font-size: 11px; line-height: 1.9; }
.dialog-done { width: 100%; margin-top: 23px; }
.noscript-note { width: min(1200px, calc(100% - 48px)); margin: 20px auto 35px; padding: 16px 20px; border: 1px solid #426c4f; border-radius: 9px; background: #23392b; color: #c0dfcb; font-size: 12px; }

@media (min-width: 1200px) {
  main.portfolio-shell { grid-template-columns: 270px minmax(0, 1fr); width: min(1200px, calc(100% - 64px)); gap: 24px; }
  .site-masthead, .site-footer { width: min(1200px, calc(100% - 64px)); }
  .sidebar { position: sticky; top: 28px; padding: 30px 23px 23px; }
  .sidebar-info { display: flex; flex-direction: column; gap: 18px; }
  .avatar-box { width: 152px; height: 152px; border-radius: 28px; box-shadow: inset 0 1px 0 #9fc6a722; }
  .avatar-box img { width: 150px; height: 147px; }
  .info-content { width: 100%; text-align: center; }
  .profile-eyebrow { margin-bottom: 6px; }
  .info-content .name { margin-bottom: 10px; font-size: 27px; text-align: center; }
  .info-content .title { max-width: 100%; margin: 0 auto; font-size: 10px; padding: 5px 9px; }
  .info_more-btn { display: none; }
  .contacts-list { grid-template-columns: minmax(0, 1fr); gap: 21px; }
  .profile-availability { align-items: flex-start; gap: 8px; margin: 24px 0 20px; padding: 14px 0 0; border-top: 1px solid #3b4b40; font-size: 10px; }
  .profile-availability .live-dot { margin-top: 6px; }
  .download-link { gap: 8px; min-height: 46px; padding: 10px; font-size: 11px; }
  .profile-note { font-size: 9px; }
  .main-content article[data-page] { padding: 33px; }
  .navbar { padding: 0 23px; }
  .navbar-list { justify-content: flex-end; gap: 18px; }
  .navbar-link { min-height: 67px; padding-right: 8px; padding-left: 8px; }
  .navbar-link::after { right: 8px; left: 8px; }
  .intro-hero { padding: 29px; }
  .hero-text h3 { font-size: 40px; }
  .hero-visual { min-height: 297px; }
}

@media (max-width: 1199px) {
  .site-masthead { width: min(960px, calc(100% - 48px)); }
  .site-footer { width: min(960px, calc(100% - 48px)); }
  .profile-availability { display: inline-flex; margin-right: 22px; vertical-align: middle; }
  .download-link { display: inline-flex; min-width: 220px; vertical-align: middle; }
  .download-link .icon:last-child { margin-left: 10px; }
  .profile-note { text-align: left; }
}

@media (max-width: 799px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom, 0px)); }
  .site-masthead { width: calc(100% - 32px); margin: 24px auto 20px; gap: 16px; }
  .site-masthead > p { display: none; }
  .masthead-contact { margin-left: auto; }
  main.portfolio-shell { width: calc(100% - 32px); gap: 18px; margin-bottom: 22px; }
  .sidebar, .sidebar.active { padding: 22px; border-radius: 18px; }
  .sidebar-info { grid-template-columns: 76px minmax(0, 1fr) auto; gap: 17px; }
  .avatar-box { width: 76px; height: 76px; border-radius: 18px; }
  .avatar-box img { width: 76px; height: 76px; }
  .info-content .name { font-size: 24px; }
  .info-content .title { font-size: 10px; }
  .contacts-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
  .contact-item { gap: 10px; }
  .contact-item:last-child { grid-column: 1 / -1; }
  .main-content { border-radius: 18px; }
  .main-content article[data-page] { padding: 29px; border-radius: 18px; }
  .navbar { position: fixed; top: auto; right: 0; bottom: 0; left: 0; width: 100%; padding: 0 max(10px, env(safe-area-inset-right, 0px)) env(safe-area-inset-bottom, 0px) max(10px, env(safe-area-inset-left, 0px)); border: 1px solid #405147; border-bottom: 0; border-radius: 17px 17px 0 0; background: #1e2a23f5; box-shadow: 0 -6px 30px #00000030; backdrop-filter: blur(16px); }
  .navbar-list { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 0; padding: 0; }
  .navbar-link { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; min-height: 70px; padding: 12px 2px 11px; font-size: 10px; }
  .navbar-link .icon { width: 21px; height: 21px; }
  .navbar-link > span { display: block; max-width: 100%; }
  .navbar-link::after { top: 0; right: calc(50% - 15px); bottom: auto; left: calc(50% - 15px); height: 2px; }
  .navbar-link.active { color: #acfacb; }
  .intro-hero { grid-template-columns: minmax(0, 1.2fr) minmax(150px, .8fr); padding: 25px; gap: 3px; }
  .hero-text h3 { font-size: 34px; letter-spacing: -1.5px; }
  .hero-pill { font-size: 8px; letter-spacing: .7px; }
  .hero-text > p { font-size: 12px; }
  .hero-actions { gap: 9px 13px; }
  .hero-actions .primary-button { font-size: 11px; padding: 11px 13px; }
  .hero-visual { min-height: 290px; }
  .visual-core { width: 105px; height: 114px; border-radius: 22px; font-size: 36px; }
  .visual-core::before { border-radius: 15px; }
  .visual-orbit { width: 190px; height: 115px; }
  .orbit-b { width: 170px; height: 155px; }
  .code-tile { width: 43px; height: 42px; font-size: 16px; }
  .tile-html { top: 25px; left: 0; }
  .tile-js { top: 60px; right: -4px; }
  .tile-css { right: 0; bottom: 58px; }
  .visual-tag { font-size: 8px; letter-spacing: .5px; }
  .certificates-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .certificate-cover { min-height: 190px; }
  .badges-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .badge-card { padding-inline: 7px; }
  .site-footer { width: calc(100% - 32px); margin-bottom: 20px; }
  .noscript-note { width: calc(100% - 32px); }
}

@media (max-width: 599px) {
  html { scroll-padding-top: 18px; }
  .site-masthead { margin-top: 18px; margin-bottom: 16px; }
  .wordmark { gap: 8px; font-size: 18px; }
  .wordmark-icon { width: 31px; height: 31px; font-size: 15px; }
  .masthead-contact { min-height: 44px; padding: 8px 10px; font-size: 10px; }
  .masthead-contact .icon { width: 14px; height: 14px; }
  .sidebar, .sidebar.active { padding: 20px 17px; }
  .sidebar-info { grid-template-columns: 65px minmax(0, 1fr) 44px; gap: 12px; }
  .avatar-box { width: 65px; height: 65px; border-radius: 16px; }
  .avatar-box img { width: 65px; height: 65px; }
  .profile-eyebrow { font-size: 8px; letter-spacing: 1.4px; }
  .info-content .name { margin-bottom: 5px; font-size: 21px; letter-spacing: -.7px; }
  .info-content .title { padding: 3px 6px; font-size: 8px; line-height: 1.65; }
  .info_more-btn { min-width: 44px; padding: 11px; border-radius: 9px; }
  .info_more-btn span { display: none; }
  .contacts-list { grid-template-columns: minmax(0, 1fr); gap: 19px; }
  .contact-item:last-child { grid-column: auto; }
  .contact-info :is(.contact-link, address, .contact-value) { font-size: 12px; }
  .profile-availability { display: flex; margin: 23px 0 17px; font-size: 11px; }
  .download-link { display: flex; min-width: 0; min-height: 47px; }
  .download-link .icon:last-child { margin-left: auto; }
  .profile-note { text-align: center; }
  .separator, .separator:last-of-type { margin: 23px 0; }
  .main-content article[data-page] { padding: 23px 20px 25px; }
  .panel-header { margin-bottom: 23px; }
  .section-kicker { font-size: 8px; letter-spacing: 1.2px; }
  .article-title, .about .article-title { margin-top: 7px; padding-bottom: 14px; font-size: 25px; letter-spacing: -.8px; }
  .panel-description { margin-top: 17px; font-size: 12px; line-height: 1.9; }
  .intro-hero { grid-template-columns: minmax(0, 1fr); gap: 8px; margin-bottom: 29px; padding: 23px; border-radius: 13px; }
  .hero-pill { margin-bottom: 19px; font-size: 8px; letter-spacing: .8px; }
  .hero-text h3 { font-size: clamp(28px, 8vw, 39px); line-height: 1.23; letter-spacing: -1.4px; }
  .hero-text > p { max-width: 100%; margin: 17px 0 20px; font-size: 12px; }
  .hero-actions { gap: 10px 17px; }
  .hero-actions .primary-button { min-height: 46px; padding: 11px 13px; font-size: 11px; }
  .quiet-link { min-height: 44px; font-size: 11px; }
  .hero-visual { min-height: 235px; margin: 5px 0 -2px; }
  .visual-core { top: 42%; width: 112px; height: 120px; border-radius: 25px; font-size: 38px; }
  .visual-core::before { border-radius: 17px; }
  .visual-orbit { top: 43%; width: 230px; height: 120px; }
  .orbit-b { width: 210px; height: 160px; }
  .tile-html { top: 10px; left: calc(50% - 113px); }
  .tile-js { top: 32px; right: calc(50% - 114px); }
  .tile-css { right: calc(50% - 112px); bottom: 45px; }
  .visual-tag { bottom: 0; font-size: 8px; letter-spacing: .8px; }
  .section-topline { gap: 7px 14px; margin-bottom: 15px; }
  .h3 { font-size: 17px; line-height: 1.55; }
  .section-index { font-size: 8px; letter-spacing: .7px; }
  .about-text { font-size: 12px; line-height: 1.95; }
  .about-section { margin-bottom: 27px; }
  .service-list { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .service-item { grid-template-columns: 36px minmax(0, 1fr); padding: 18px 16px; gap: 13px; }
  .service-item-title { font-size: 14px; }
  .service-item-text { font-size: 12px; }
  .next-panel { margin-top: 27px; padding-top: 22px; font-size: 12px; }
  .toolkit-grid { grid-template-columns: minmax(0, 1fr); gap: 14px; }
  .toolkit-card { padding: 22px; }
  .toolkit-mark { width: 48px; height: 48px; margin-bottom: 19px; }
  .toolkit-card h3 { font-size: 19px; }
  .toolkit-card p { min-height: 0; font-size: 12px; }
  .working-style { align-items: flex-start; gap: 13px; margin-top: 19px; padding: 19px 16px; }
  .working-style .icon-box { width: 35px; height: 35px; border-radius: 9px; }
  .working-style .h4 { font-size: 13px; }
  .working-style p { font-size: 12px; }
  .sample-label { font-size: 8px; letter-spacing: .5px; }
  .timeline-list { margin-left: 17px; padding-left: 25px; }
  .timeline-item::after { left: -29px; }
  .timeline-item-title { font-size: 14px; }
  .timeline-date { gap: 8px; font-size: 11px; }
  .timeline-list .tiny-label { font-size: 7px; letter-spacing: .3px; }
  .school-name { font-size: 12px; }
  .timeline-text { font-size: 12px; }
  .achievement-nav { gap: 4px; padding: 5px; }
  .achievement-nav a { flex: 1 1 calc(50% - 4px); min-height: 44px; padding: 9px; font-size: 11px; }
  .achievement-section { margin-bottom: 30px; scroll-margin-top: 18px; }
  .award-item { grid-template-columns: 40px minmax(0, 1fr) 17px; gap: 3px 12px; padding: 16px 13px; }
  .award-icon { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 44px; border-radius: 10px; }
  .award-content { grid-column: 2; grid-row: 1; }
  .award-content small { font-size: 7px; letter-spacing: .6px; }
  .award-content strong { font-size: 13px; }
  .award-content > span { font-size: 10px; }
  .award-date { grid-column: 2; grid-row: 2; margin-top: 4px; font-size: 10px; }
  .award-item > .icon { grid-column: 3; grid-row: 1 / span 2; width: 17px; height: 17px; }
  .certificate-filters { gap: 6px; margin-bottom: 16px; }
  .filter-button { min-height: 44px; padding: 8px 10px; font-size: 10px; }
  .certificates-grid { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .certificate-cover { min-height: 209px; padding: 21px 22px 17px; }
  .certificate-id { font-size: 9px; }
  .cover-symbol { margin: 15px 0 8px; font-size: 45px; }
  .cover-symbol .icon { width: 42px; height: 42px; }
  .cover-caption { margin-bottom: 17px; font-size: 9px; }
  .cover-foot, .cover-foot > span { font-size: 8px; }
  .certificate-information { padding: 19px; }
  .certificate-information small { font-size: 9px; }
  .certificate-information strong { min-height: 0; margin-bottom: 12px; font-size: 14px; }
  .certificate-information > span { font-size: 11px; }
  .badges-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
  .badge-card { padding: 21px 8px 17px; }
  .badge-card strong { font-size: 12px; }
  .badge-card small { font-size: 10px; }
  .badge-hint { margin-top: 12px; font-size: 8px; }
  .credential-row { grid-template-columns: 30px minmax(0, 1fr) 15px; gap: 10px; padding: 14px 12px; }
  .credential-check { width: 30px; height: 30px; }
  .credential-row strong { font-size: 12px; }
  .credential-row small { font-size: 10px; }
  .credential-row > .icon { width: 15px; height: 15px; }
  .contact-banner { grid-template-columns: 40px minmax(0, 1fr); gap: 12px; padding: 19px 16px; }
  .contact-banner-icon { width: 40px; height: 43px; border-radius: 10px; }
  .contact-banner-icon .icon { width: 21px; height: 21px; }
  .contact-banner p { font-size: 8px; letter-spacing: 1px; }
  .contact-banner a { font-size: 15px; letter-spacing: -.4px; }
  .contact-banner small { font-size: 9px; line-height: 1.8; }
  .copy-button { grid-column: 2; justify-self: start; min-height: 44px; margin-top: 2px; font-size: 10px; }
  .contact-form { margin-top: 27px; }
  .form-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; margin-bottom: 20px; }
  .field { margin-bottom: 20px; }
  .field label { font-size: 12px; }
  .field :is(input, select, textarea) { font-size: 16px; }
  .field :is(input, textarea)::placeholder { font-size: 12px; }
  .field select { font-size: 16px; }
  .form-footer { gap: 18px; }
  .form-footer p { width: 100%; font-size: 11px; }
  .form-footer .primary-button { width: 100%; min-height: 49px; font-size: 12px; }
  .site-footer { display: block; margin-top: 4px; font-size: 9px; line-height: 1.9; }
  .site-footer p { margin-bottom: 7px; }
  .template-note { font-size: 8px; }
  .record-dialog { max-height: calc(100dvh - 28px); padding: 21px; border-radius: 16px; }
  .dialog-header { margin-bottom: 18px; font-size: 8px; letter-spacing: .8px; }
  .record-dialog h2 { font-size: 22px; }
  #dialog-description { font-size: 12px; }
  .dialog-metadata { gap: 8px; }
  .dialog-metadata > div { padding: 11px; }
  .dialog-metadata dd { font-size: 11px; }
  .dialog-disclaimer { font-size: 10px; }
}

@media (max-width: 359px) {
  .site-masthead, main.portfolio-shell, .site-footer, .noscript-note { width: calc(100% - 24px); }
  .masthead-contact { gap: 5px; padding-inline: 8px; font-size: 9px; }
  .wordmark { font-size: 17px; }
  .sidebar, .sidebar.active { padding: 17px 14px; }
  .sidebar-info { grid-template-columns: 54px minmax(0, 1fr) 44px; gap: 9px; }
  .avatar-box, .avatar-box img { width: 54px; height: 58px; }
  .avatar-box { border-radius: 14px; }
  .info-content .name { font-size: 19px; }
  .info-content .title { padding-inline: 5px; font-size: 7px; }
  .main-content article[data-page] { padding: 22px 16px; }
  .article-title, .about .article-title { font-size: 23px; }
  .intro-hero { padding: 21px 18px; }
  .hero-text h3 { font-size: 27px; letter-spacing: -1.4px; }
  .hero-pill { font-size: 7px; letter-spacing: .5px; }
  .hero-actions { gap: 7px 12px; }
  .hero-actions .primary-button { padding-inline: 11px; font-size: 10px; }
  .quiet-link { font-size: 10px; }
  .hero-visual { min-height: 218px; }
  .visual-core { width: 103px; height: 111px; font-size: 34px; }
  .visual-orbit { width: 211px; height: 112px; }
  .orbit-b { width: 190px; height: 146px; }
  .tile-html { left: 0; }
  .tile-js { right: -2px; }
  .tile-css { right: -1px; bottom: 42px; }
  .hero-text > p { font-size: 12px; }
  .h3 { font-size: 16px; }
  .navbar-link { min-height: 68px; font-size: 8px; }
  .navbar-link .icon { width: 20px; height: 20px; }
  .section-index { font-size: 7px; }
  .filter-button { flex: 1 1 auto; padding: 8px; font-size: 9px; }
  .contact-banner { gap: 10px; padding-inline: 13px; }
  .contact-banner a { font-size: 14px; }
  .badge-card strong { font-size: 11px; }
  .badge-card small { font-size: 10px; }
  .badge-hint { font-size: 8px; }
  .credential-row { grid-template-columns: 28px minmax(0, 1fr) 14px; gap: 8px; padding-inline: 10px; }
  .credential-check { width: 28px; height: 28px; }
  .credential-row strong { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}
@media print {
  body { padding: 0; background: #fff; color: #111; }
  .site-masthead, .sidebar, .navbar, .site-footer, .next-panel, .hero-actions, .achievement-nav, .certificate-filters, .credential-search, .contact-form, .copy-button { display: none !important; }
  main.portfolio-shell { display: block; width: 100%; margin: 0; }
  .main-content { width: 100%; border: 0; box-shadow: none; }
  .main-content article[data-page] { display: block !important; color: #111; break-inside: avoid; }
}
[hidden] { display: none !important; }

/* Final legibility pass: compact layouts retain readable labels and metadata. */
body.dialog-open { overflow: hidden; }
.section-kicker, .profile-eyebrow, .toolkit-label, .section-index,
.sample-label, .certificate-id, .cover-caption, .cover-foot,
.cover-foot > span, .certificate-information small,
.award-content small, .contact-banner p, .contact-banner small,
.badge-hint, .dialog-header, .record-dialog .section-kicker,
.profile-note, .site-footer, .template-note { font-size: 10px; }
.hero-pill { font-size: 9px; letter-spacing: .7px; }
.visual-tag { font-size: 9px; letter-spacing: .7px; }
.info-content .title { max-width: 100%; font-size: 11px; }
.badge-card strong, .credential-row strong { font-size: 12px; }
.badge-card small, .credential-row small { font-size: 11px; }
.award-content > span { font-size: 12px; }
.timeline-list .tiny-label { font-size: 9px; }
@media (max-width: 599px) {
  .info-content .title { max-width: 100%; padding: 3px 5px; font-size: 11px; line-height: 1.5; }
  .hero-pill { flex-wrap: wrap; font-size: 9px; }
  .info-content .name { font-size: 21px; }
  .navbar-link { font-size: 10px; }
  .navbar-link > span { font-size: 10px; letter-spacing: -.3px; }
}
@media (max-width: 359px) {
  .info-content .name { font-size: 19px; }
  .profile-eyebrow { font-size: 9px; letter-spacing: 1px; }
  .section-index { font-size: 9px; }
  .hero-pill { font-size: 8px; letter-spacing: .5px; }
}

/* Social accounts — local brand logos, keyboard and touch friendly. */
.profile-socials { margin-top: 24px; padding-top: 21px; border-top: 1px solid var(--line); }
.social-eyebrow { margin-bottom: 12px; color: #a9bcb0; font-size: 10px; letter-spacing: 1px; }
.social-account-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.profile-socials .social-account-grid { grid-template-columns: minmax(0, 1fr); gap: 9px; }
.account-action { display: flex; align-items: center; gap: 11px; width: 100%; min-width: 0; min-height: 72px; padding: 14px; border: 1px solid #405248; border-radius: 11px; background: #202c24; color: #edf6f0; text-align: left; transition: background .2s, border-color .2s; }
.account-action:hover { background: #2b3c30; border-color: #79e6ac; }
.account-action:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.account-logo { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border-radius: 9px; }
.linkedin-logo { background: #0a66c2; }
.discord-logo { background: #5865f2; }
.account-logo img { display: block; width: 20px; height: 20px; object-fit: contain; }
.discord-logo img { width: 23px; }
.account-text { display: block; flex: 1; min-width: 0; }
.account-text strong { display: block; font-size: 12px; line-height: 1.5; }
.account-meta { display: block; margin-top: 3px; color: #b0c3b7; font-size: 11px; line-height: 1.6; overflow-wrap: anywhere; }
.account-action > .icon { width: 15px; height: 15px; color: #a4c6b0; }
.profile-socials .account-action { padding: 12px 10px; gap: 9px; }
.profile-socials .account-logo { flex-basis: 31px; width: 31px; height: 33px; }
.profile-socials .account-meta { font-size: 10px; }
.social-copy-status { margin-top: 10px; color: #b6e7c6; font-size: 12px; line-height: 1.7; overflow-wrap: anywhere; }
.social-copy-status:empty { display: none; }
.social-contact { margin-top: 30px; }
.social-description { margin: 8px 0 17px; color: var(--muted); font-size: 12px; line-height: 1.8; }
@media (max-width: 599px) {
  .social-account-grid { grid-template-columns: minmax(0, 1fr); }
  .account-action { min-height: 74px; }
  .profile-socials .account-meta { font-size: 11px; }
}
