:where(body:not(.construction-page)),
:where(body:not(.construction-page)) * {
  margin: 0;
  padding: 0;
  font-family: "poppins", sans-serif;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body:where(:not(.construction-page)) {
  /* background: #080808; */
  color: #fff;
}
:where(body:not(.construction-page)) #header {
  width: 100%;
  height: 100vh;
  background-image: url(./images/home.webp);
  background-size: cover;
  background-position: center;
}
:where(body:not(.construction-page)) #header img {
  width: 8%;
}
:where(body:not(.construction-page)) .container {
  padding: 10px 10%;
}
:where(body:not(.construction-page)) nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}
:where(body:not(.construction-page)) nav ul li {
  display: inline-block;
  list-style: none;
  margin: 10px 20px;
}
:where(body:not(.construction-page)) nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  position: relative;
}
:where(body:not(.construction-page)) nav ul li a::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ffba31;
  position: absolute;
  left: 0;
  bottom: -6px;
}
:where(body:not(.construction-page)) nav ul li a:hover::after {
  width: 100%;
  transition: 0.5s;
}
:where(body:not(.construction-page)) .header-text {
  margin-top: 15%;
  font-size: 30px;
}
:where(body:not(.construction-page)) .header-text h1 {
  font-size: 60px;
  margin-top: 20px;
}
:where(body:not(.construction-page)) .header-text h1 span {
  color: #ffba31;
}

/*--------------About----------------*/
:where(body:not(.construction-page)) #about {
  padding: 80px 0;
  color: #ababab;
  background-color: #312f30;
}
:where(body:not(.construction-page)) .row {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}
:where(body:not(.construction-page)) .about-col-1 {
  flex-basis: 35%;
}
:where(body:not(.construction-page)) .about-col-1 img {
  width: 90%;
  border-radius: 15px;
}

:where(body:not(.construction-page)) .about-col-2 {
  flex-basis: 60%;
  padding-left: 60px;
}

:where(body:not(.construction-page)) .sub-title {
  font-size: 60px;
  font-weight: 600;
  color: #fff;
}
:where(body:not(.construction-page)) .tab-titles {
  display: flex;
  margin: 20px 0 40px;
}

:where(body:not(.construction-page)) .tab-links {
  margin-right: 50px;
  font-size: 20px;
  font-weight: 500;
  cursor: pointer;
  position: relative;
}

:where(body:not(.construction-page)) .tab-links::after {
  content: "";
  width: 0;
  height: 3px;
  background: #ffba31;
  position: absolute;
  left: 0;
  bottom: -8px;
  transition: 0.5s;
}

:where(body:not(.construction-page)) .tab-links.active-link::after {
  width: 50%;
}

:where(body:not(.construction-page)) .tab-contents ul li {
  list-style: none;
  margin: 10px 0;
}

:where(body:not(.construction-page)) .tab-contents ul li span {
  color: #ffba31;
  font-size: 20px;
}

:where(body:not(.construction-page)) .tab-contents {
  display: none;
}

:where(body:not(.construction-page)) .tab-contents.active-tab {
  display: block;
}

/*---------------------------Services-------------*/
:where(body:not(.construction-page)) #services {
  padding: 30px 0;
  background-color: #333333;
}
:where(body:not(.construction-page)) .services-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
:where(body:not(.construction-page)) .services-list div {
  background: #262020;
  padding: 40px;
  font-size: 13px;
  font-weight: 300;
  border-radius: 10px;
  transition:
    background 0.5s,
    transform 0.5s;
}
:where(body:not(.construction-page)) .services-list div i {
  font-size: 50px;
  margin-bottom: 30px;
}
:where(body:not(.construction-page)) .services-list div h2 {
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 15px;
}
:where(body:not(.construction-page)) .services-list div a {
  text-decoration: none;
  color: #fff;
  font-size: 12px;
  margin-top: 20px;
  display: inline-block;
}
:where(body:not(.construction-page)) .services-list div:hover {
  background: #ffba31;
  transform: translate(-10px);
}
/*--------------Portfolio--------------*/
:where(body:not(.construction-page)) #portfolio {
  padding: 50px 0;
  background-color: #312f30;
}
:where(body:not(.construction-page)) .worklist {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 40px;
  margin-top: 50px;
}
:where(body:not(.construction-page)) .work {
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}
:where(body:not(.construction-page)) .work img {
  width: 100%;
  border-radius: 10px;
  display: block;
  transition: transform 0.5s;
}
:where(body:not(.construction-page)) .layer {
  width: 100%;
  height: 0;
  background: linear-gradient(rgba(0, 0, 0, 0.6), #ffba31);
  border-radius: 10px;
  position: absolute;
  left: 0;
  bottom: 0;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 0 40px;
  text-align: center;
  font-size: 14px;
  transition: height 0.5s;
}
:where(body:not(.construction-page)) .layer h3 {
  font-weight: 500;
  margin-bottom: 20px;
}
:where(body:not(.construction-page)) .layer a {
  margin-top: 20px;
  color: #ff004f;
  text-decoration: none;
  font-size: 18px;
  line-height: 60px;
  background: #fff;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-align: center;
}
@media (hover: hover) {
  :where(body:not(.construction-page)) .work:hover img {
    transform: scale(1.1);
  }
  :where(body:not(.construction-page)) .work:hover .layer {
    height: 100%;
  }
}
:where(body:not(.construction-page)) .btn {
  display: block;
  margin: 50px auto;
  width: fit-content;
  border: 1px solid #ffba31;
  padding: 14px 50px;
  border-radius: 6px;
  text-decoration: none;
  color: #fff;
  transition: background 0.5s;
}
:where(body:not(.construction-page)) .btn:hover {
  background: #ffba31;
}
/*-----------CONTACT--------------*/
:where(body:not(.construction-page)) #contact {
  background-color: #333333;
}
:where(body:not(.construction-page)) .contact-left {
  flex-basis: 35%;
}
:where(body:not(.construction-page)) .contact-right {
  flex-basis: 60%;
}
:where(body:not(.construction-page)) .contact-left p {
  margin-top: 30px;
}
:where(body:not(.construction-page)) .contact-left p i {
  color: #ffba31;
  margin-right: 15px;
  font-size: 25px;
}
:where(body:not(.construction-page)) .social-icons {
  margin-top: 30px;
}
:where(body:not(.construction-page)) .social-icons a {
  text-decoration: none;
  font-size: 30px;
  margin-right: 15px;
  color: #ababab;
  display: inline-block;
  transition: transform 0.5s;
}
:where(body:not(.construction-page)) .social-icons a:hover {
  color: #ffba31;
  transform: translateY(-5px);
}
:where(body:not(.construction-page)) .btn.btn2 {
  display: inline-block;
  background: #ffba31;
}
:where(body:not(.construction-page)) .contact-right form {
  width: 100%;
}
:where(body:not(.construction-page)) form input,
:where(body:not(.construction-page)) form textarea {
  width: 100%;
  border: 0;
  outline: none;
  background: #262626;
  padding: 15px;
  margin: 15px 0;
  color: #fff;
  font-size: 18px;
  border-radius: 6px;
}
:where(body:not(.construction-page)) form .btn2 {
  padding: 14px 60px;
  font-size: 18px;
  margin-top: 20px;
  cursor: pointer;
}
:where(body:not(.construction-page)) .copyright {
  width: 100%;
  text-align: center;
  padding: 25px 0;
  background: #262626;
  font-weight: 300;
  margin-top: 20px;
}
:where(body:not(.construction-page)) nav .fas {
  display: none;
}

/*-------------for small screen---------*/

@media only screen and (max-width: 600px) {
  :where(body:not(.construction-page)) #header {
    background-image: url(images/for-phone.webp);
  }
  :where(body:not(.construction-page)) .header-text {
    margin-top: 100%;
    font-size: 16px;
  }
  :where(body:not(.construction-page)) .header-text h1 {
    font-size: 30px;
  }
  :where(body:not(.construction-page)) nav .fa-solid {
    display: block;
    font-size: 25px;
  }
  :where(body:not(.construction-page)) nav ul {
    background: #ffba31;
    position: fixed;
    top: 0;
    right: -200px;
    width: 200px;
    height: 100vh;
    padding-top: 50px;
    z-index: 2;
    transition: right 0.5s;
  }
  :where(body:not(.construction-page)) nav ul li {
    display: block;
    margin: 25px;
  }
  :where(body:not(.construction-page)) nav ul .fa-solid {
    position: absolute;
    top: 25px;
    left: 25px;
    cursor: pointer;
  }
  :where(body:not(.construction-page)) .sub-title {
    font-size: 14px;
  }
  :where(body:not(.construction-page)) .about-col-1,
  :where(body:not(.construction-page)) .about-col-2 {
    flex-basis: 100%;
  }
  :where(body:not(.construction-page)) .about-col-1 {
    margin-bottom: 30px;
  }
  :where(body:not(.construction-page)) .about-col-2 {
    font-size: 14px;
    padding-left: 0px;
    padding-top: 25px;
  }
  :where(body:not(.construction-page)) .tab-links {
    font-size: 16px;
    margin-right: 20px;
  }
  :where(body:not(.construction-page)) .contact-left,
  :where(body:not(.construction-page)) .contact-right {
    flex-basis: 100%;
  }
  :where(body:not(.construction-page)) .copyright {
    font-size: 14px;
  }
  :where(body:not(.construction-page)) .openbtn {
    color: #ffba31;
  }
  :where(body:not(.construction-page)) #header img {
    width: 18%;
  }
}
:where(body:not(.construction-page)) #msg {
  color: #61b752;
  margin-top: -40px;
  display: block;
}

/* Responsive navigation, pinned hero artwork and portfolio footer. */
body:not(.construction-page) #header {
  position: relative;
  isolation: isolate;
  clip-path: inset(0);
  height: 100svh;
  min-height: 560px;
  background: none;
}
body:not(.construction-page) #header::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url("./images/home.webp") center / cover no-repeat;
}
body:not(.construction-page) .site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  min-height: 80px;
  padding: 12px 10%;
  flex-wrap: nowrap;
  gap: 24px;
  border-bottom: 1px solid transparent;
  transition:
    background 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
}
body:not(.construction-page) .site-nav.is-scrolled {
  background: rgba(24, 23, 25, 0.95);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-color: rgba(255, 186, 49, 0.25);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
}
body:not(.construction-page) .brand {
  display: flex;
  flex-shrink: 0;
}
body:not(.construction-page) .brand img {
  width: clamp(48px, 5vw, 64px);
  height: 52px;
  object-fit: contain;
}
body:not(.construction-page) .site-nav ul {
  display: flex;
  gap: clamp(16px, 2.5vw, 36px);
}
body:not(.construction-page) .site-nav ul li {
  margin: 0;
}
body:not(.construction-page) .site-nav ul li a {
  font-size: 14px;
  letter-spacing: 0.06em;
}
body:not(.construction-page) .menu-toggle {
  display: none;
}
body:not(.construction-page) .hero-content {
  height: 100%;
  display: flex;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 48px;
}
body:not(.construction-page) .header-text {
  margin-top: 0;
}
body:not(.construction-page) .hero-role {
  min-height: 1.5em;
}
body:not(.construction-page) .typing-caret {
  color: #ffba31;
  animation: caret-blink 0.8s step-end infinite;
}
@keyframes caret-blink {
  50% {
    opacity: 0;
  }
}
body:not(.construction-page) :is(#about, #services, #portfolio, #contact) {
  scroll-margin-top: 84px;
}
body:not(.construction-page) .site-footer {
  /* background: #1c1b1d; */
  background-image: url("images/footer-background.webp");
  background-size: cover;
  background-position: center;
}
body:not(.construction-page) .footer-main {
  display: flex;
  justify-content: space-between;
  gap: 36px;
  padding-bottom: 36px;
}
body:not(.construction-page) .site-footer a {
  color: #eee;
  text-decoration: none;
}
body:not(.construction-page) .site-footer a:hover {
  color: #ffba31;
}
body:not(.construction-page) .footer-brand {
  font-size: 26px;
  font-weight: 700;
}
body:not(.construction-page) .footer-brand span {
  color: #ffba31;
}
body:not(.construction-page) .site-footer p {
  color: #b5b2b5;
  font-size: 14px;
  line-height: 1.8;
  margin-top: 10px;
}
body:not(.construction-page) .footer-connect h2 {
  font-size: 20px;
  margin-bottom: 14px;
}
body:not(.construction-page) .footer-connect > a {
  color: #ffba31;
}
body:not(.construction-page) .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 22px;
  font-size: 14px;
}
body:not(.construction-page) .footer-bottom {
  border-top: 1px solid #393639;
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
}
body:not(.construction-page) .footer-bottom p {
  margin: 0;
}
body:not(.construction-page) :is(.site-nav, .site-footer) a:focus-visible,
body:not(.construction-page) .menu-toggle:focus-visible {
  outline: 2px solid #ffba31;
  outline-offset: 5px;
}
@media (max-width: 900px) {
  body:not(.construction-page) .site-nav {
    padding-inline: 6%;
  }
  body:not(.construction-page) .menu-toggle {
    display: block;
    background: none;
    border: 0;
    color: #ffba31;
    font-size: 28px;
    cursor: pointer;
    width: 44px;
    height: 44px;
  }
  body:not(.construction-page) .site-nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    padding: 20px 6% 28px;
    background: rgba(32, 31, 33, 0.84);
    border-bottom: 1px solid #675334;
  }
  body:not(.construction-page) .site-nav ul.is-open {
    display: flex;
    flex-direction: column;
    gap: 24px;
  }
  body:not(.construction-page) .site-nav ul li {
    display: block;
    margin: 0;
  }
  body:not(.construction-page) .footer-main {
    flex-direction: column;
  }
}
@media (max-width: 600px) {
  body:not(.construction-page) #header::before {
    background-image: url("./images/for-phone.webp");
  }
  body:not(.construction-page) .site-nav {
    min-height: 72px;
    padding-block: 10px;
  }
  body:not(.construction-page) .brand img {
    width: 48px;
    height: 48px;
  }
  body:not(.construction-page) .hero-content {
    align-items: flex-end;
    padding-bottom: max(12svh, 56px);
  }
  body:not(.construction-page) .header-text {
    font-size: clamp(16px, 4vw, 22px);
  }
  body:not(.construction-page) .header-text h1 {
    font-size: clamp(30px, 8vw, 46px);
  }
  body:not(.construction-page) .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  body:not(.construction-page) .typing-caret {
    display: none;
  }
  body:not(.construction-page) .site-nav {
    transition: none;
  }
}

/* Fluid type and layouts across phones, tablets and compact laptops. */
body:not(.construction-page) .container {
  max-width: 1600px;
  margin-inline: auto;
  padding-inline: clamp(20px, 6vw, 120px);
}
body:not(.construction-page) .header-text h1 {
  font-size: clamp(30px, 5.5vw, 60px);
  line-height: 1.15;
}
body:not(.construction-page) .header-text {
  font-size: clamp(16px, 2.5vw, 30px);
  max-width: 100%;
}
body:not(.construction-page) .sub-title {
  font-size: clamp(28px, 4.5vw, 60px);
  line-height: 1.2;
}
body:not(.construction-page) .services-list,
body:not(.construction-page) .worklist {
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: clamp(20px, 3vw, 40px);
}
body:not(.construction-page) .services-list div {
  padding: clamp(24px, 3vw, 40px);
}
body:not(.construction-page) .services-list div h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  overflow-wrap: anywhere;
}
body:not(.construction-page) .row > *,
body:not(.construction-page) .footer-main > * {
  min-width: 0;
}
body:not(.construction-page) .about-col-2 {
  padding-left: clamp(0px, 3vw, 60px);
}
body:not(.construction-page) .contact-left p {
  overflow-wrap: anywhere;
  line-height: 1.6;
}
body:not(.construction-page) .tab-titles {
  flex-wrap: wrap;
  gap: 18px 24px;
}
body:not(.construction-page) .tab-links {
  margin-right: 0;
}
body:not(.construction-page) .site-footer {
  padding-inline: clamp(20px, 6vw, 120px);
}
body:not(.construction-page) .back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-height: 44px;
  white-space: nowrap;
}
body:not(.construction-page) .back-to-top-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid #ffba31;
  border-radius: 50%;
  color: #ffba31;
}
body:not(.construction-page) .back-to-top-icon svg {
  width: 20px;
  height: 20px;
  animation: back-to-top-float 2s ease-in-out infinite;
}
@keyframes back-to-top-float {
  0%,
  100% {
    transform: translateY(2px);
  }
  50% {
    transform: translateY(-3px);
  }
}
@media (max-width: 1000px) {
  body:not(.construction-page) .contact-left,
  body:not(.construction-page) .contact-right {
    flex-basis: 100%;
  }
  body:not(.construction-page) .contact-right {
    margin-top: 12px;
  }
}
@media (max-width: 900px) {
  body:not(.construction-page) .about-col-1,
  body:not(.construction-page) .about-col-2 {
    flex-basis: 100%;
  }
  body:not(.construction-page) .about-col-1 img {
    width: min(100%, 380px);
  }
  body:not(.construction-page) .about-col-2 {
    padding: 28px 0 0;
  }
  body:not(.construction-page) .site-nav ul {
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }
  body:not(.construction-page) .site-nav ul li a {
    display: block;
    padding-block: 10px;
  }
  body:not(.construction-page) .site-nav ul.is-open {
    gap: 4px;
  }
}
@media (max-width: 600px) {
  body:not(.construction-page) .header-text h1 {
    font-size: clamp(30px, 8vw, 46px);
  }
  body:not(.construction-page) .hero-role {
    font-size: clamp(15px, 4vw, 22px);
  }
  body:not(.construction-page) #about {
    padding-block: 48px;
  }
  body:not(.construction-page) .layer {
    padding-inline: 20px;
  }
}
@media (max-height: 500px) and (min-width: 601px) {
  body:not(.construction-page) #header {
    min-height: 420px;
  }
  body:not(.construction-page) .header-text h1 {
    font-size: clamp(30px, 5vw, 44px);
  }
  body:not(.construction-page) .header-text {
    font-size: 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
  body:not(.construction-page) .back-to-top-icon svg {
    animation: none;
  }
}
body.construction-page {
  margin: 0;
  padding: 24px;
}
body.construction-page h1 {
  font-size: clamp(30px, 7vw, 70px);
  overflow-wrap: anywhere;
}
body.construction-page h2 {
  font-size: clamp(18px, 3vw, 24px);
  line-height: 1.5;
}
body:not(.construction-page) .header-text h1 {
  font-size: clamp(30px, 5.5vw, 60px);
}
body:not(.construction-page) :is(.about-col-2, .services-list, .layer) p,
body:not(.construction-page) .tab-contents li {
  line-height: 1.65;
}
@media (max-width: 900px) and (orientation: portrait) {
  body:not(.construction-page) #header::before {
    background-image: url("./images/for-phone.webp");
  }
}

/* Keep the existing card reveal available to touch and keyboard users. */
body:not(.construction-page) .work.is-revealed img,
body:not(.construction-page) .work:focus-within img {
  transform: scale(1.1);
}
body:not(.construction-page) .work.is-revealed .layer,
body:not(.construction-page) .work:focus-within .layer {
  height: 100%;
}
body:not(.construction-page) #about .row {
  align-items: center;
}
body:not(.construction-page) .about-col-1 {
  display: flex;
  justify-content: center;
}
body:not(.construction-page) .about-col-1 img {
  display: block;
}
/* Anchor the desk artwork to its right-hand focal point on narrow screens. */
body:not(.construction-page) .site-footer {
  background-position: right center;
  background-repeat: no-repeat;
}
