/* ===== Responsive-1024.css Master Order =====
   Media range: max-width 1024px.
   
*/
:root {
  --r-shell: clamp(12px, 2.2vw, 28px);
  --r-content: min(calc(100vw - (var(--r-shell) * 2)), 1120px);
  --r-hero-title: clamp(40px, 8vw, 92px);
  --r-hero-copy: clamp(18px, 3.2vw, 34px);
  --r-copy: clamp(11px, 1.6vw, 14px);
  --r-small-btn: clamp(12px, 1.5vw, 16px);
  --r-title: clamp(36px, 5.8vw, 80px);
  --r-portfolio: clamp(30px, 5.2vw, 60px);
  --r-who-side: clamp(96px, 18vw, 190px);
  --r-who-center: clamp(120px, 22vw, 240px);
  --r-who-gap: clamp(12px, 2vw, 24px);
  --r-who-word: clamp(80px, 5vw, 58px);
  --r-service-card-w: clamp(130px, 24vw, 228px);
  --r-service-card-h: clamp(196px, 32vw, 292px);
  --r-service-gap: clamp(14px, 2vw, 24px);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  padding: 0;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 2.5px;
  border-radius: 999px;
  background: #ffffff;
  transition: transform 0.24s ease, opacity 0.24s ease, background-color 0.24s ease;
}

.menu-home,
.menu-portfolio-mobile,
.menu-contact {
  display: none;
}

@media (max-width: 1024px) {
  /* ===== Tablet Shared Variables ===== */
  :root {
    --r-service-card-w: 188px;
    --r-service-card-h: 246px;
  }

  /* ===== Tablet Splash Page ===== */
  body.splash-body .splash-logo {
    top: 35.8vh;
    left: 50%;
    width: min(31vw, 252px);
    transform: translateX(-50%);
  }

  body.splash-body .tool-screwdriver {
    width: 38vw;
  }

  body.splash-body .tool-roller {
    width: 40vw;
	  margin-top: -50px; 
  }

  body.splash-body .tool-drill {
    width: 34vw;
	  margin-top: 200px;
  }

  body.splash-body .tool-wrench {
    width: 34vw;
	  margin-bottom: 70px;
	  margin-left: -50px;
  }

  body.splash-body .tool-pliers {
    width: 36vw;
	    margin-bottom: -80px;
	  margin-left: -100px;
  }
	

  body.splash-body .tool-hammer {
    width: 39vw;
    margin-bottom: -100px;
  }

  body.splash-body .headline-top {
    top: 21vh;
  }

  /* ===== Tablet Global Shared ===== */
  body {
    overflow-x: hidden;
  }

  p {
    font-size: 14px;
  }

  body.menu-open {
    overflow: hidden;
  }

  .page,
  .footer-grid {
    width: var(--r-content);
    max-width: var(--r-content);
    margin-inline: auto;
  }

  .hero {
    min-height: clamp(500px, 74vw, 840px);
    padding-top: clamp(84px, 9vw, 120px);
    background-position: center;
    background-size: cover;
    border-radius: 0 0 58% 58% / 0 0 16% 16%;
  }

  /* ===== Tablet Inner Pages Hero Shared ===== */
  body.about-page .about-hero,
  body.service-page .service-hero,
  body.contact-page .contact-hero,
  body.portfolio-exterior-page .portfolio-exterior-hero,
  body.portfolio-interior-page .portfolio-interior-hero {
    min-height: clamp(620px,  56vw, 920px);
    background-position: center;
    background-size: cover;
    border-radius: 0 0 82% 82% / 0 0 42% 42%;
  }

  /* ===== Tablet About Page ===== */
  body.about-page .about-main {
    padding-top: 0;
  }

  body.about-page .about-intro {
    width: 940px;
    max-width: 940px;
    margin: 0 auto;
    grid-template-columns: 484px 420px;
    align-items: center;
    gap: 36px;
  }

  body.about-page .about-intro-frame {
    width: 484px;
    min-height: 0;
    margin-left: 0;
    padding: 24px 28px 36px;
  }

  body.about-page .about-intro-frame h2 {
    margin: 0 0 24px;
    font-size: clamp(46px, 4.6vw, 58px);
  }

  body.about-page .about-hero-content h1 {
    margin-top: -388px;
    font-size: clamp(78px, 16vw, 118px);
    line-height: 1;
    text-align: center;
  }

  body.about-page .about-intro-frame p {
    max-width: 100%;
    margin-left: 0;
    font-size: 14px;
    line-height: 1.7;
  }

  body.about-page .about-intro-frame::after {
    margin: 0;
    left: 25px;
    top: auto;
    bottom: 0;
    width: 32vw;
    max-width: 360px;
    border-width: 0 0 4px 0;
  }

  body.about-page .about-intro-images {
    width: 420px;
    height: 34vw;
    min-height: 420px;
  }

  body.about-page .about-photo-large {
    left: 0;
    bottom: 0;
    width: 31vw;
    max-width: 420px;
    height: 21vw;
    max-height: 280px;
  }

  body.about-page .about-photo-tall {
    right: 0;
    top: 50px;
    width: 23vw;
    max-width: 300px;
    height: 28vw;
    max-height: 360px;
  }

  /* ===== Tablet About Page: Values ===== */
  body.about-page .about-values {
    width: 700px;
    max-width: 700px;
    margin-top: 150px;
	   margin-bottom: 150px ;
	  margin-left: -50px;
  }

  body.about-page .vision-row,
  body.about-page .mission-row {

    align-items: center;
    column-gap: 36px;
    width: 90%;
    margin: 0;
  }
	body.about-page .vision-row{
	 grid-template-columns: 280px 620px;
		margin-left: 130px;
	}

  body.about-page .mission-row {
    grid-template-columns: 620px 280px;
    margin-top: 30px;

  }

  body.about-page .about-values h2 {
    margin: 0;
    font-size: clamp(38px, 4.6vw, 58px);
  }

  body.about-page .vision-row h2 {
    justify-self: start;
    margin-top: 150px;
  }

  body.about-page .mission-row h2 {
    justify-self: end;
    margin-top: 150px;
	  margin-right: -30px;
  }

  body.about-page .vision-box,
  body.about-page .mission-box {
    width: 100%;
    min-height: 180px;
    margin: 0;
  }

  body.about-page .vision-box {
    justify-self: stretch;
    padding: 28px 32px 28px 128px;
    clip-path: polygon(21% 0, 100% 0, 100% 100%, 0 100%, 0 40%);
  }

  body.about-page .vision-box p {
    max-width: 80%;
    margin-top: 20px;
	  margin-left: 20px;
    font-size: 14px;
    line-height: 1.6;
  }

  body.about-page .mission-box p {
    max-width: 70%;
      margin-top: 20px;
	  margin-left: 90px;
    padding: 28px 32px;
    font-size: 14px;
    line-height: 1.6;
  }

  /* ===== Tablet About Page: Why Choose Muhibah ===== */
  body.about-page .why-about {
    margin-top: 72px;
  }

  body.about-page .why-about-grid {
    width: 1060px;
    max-width: 1060px;
    min-height: 760px;
    margin: 0 auto;
	margin-left: -10px;
    padding: 46px 44px 54px;
    grid-template-columns: 320px 320px 320px;
    grid-template-rows: 210px 210px 210px;
    column-gap: 10px;
    row-gap: 34px;
  }

  body.about-page .why-about-grid::before {
    background-position: left top;
    background-size: auto 100%;
  }

  body.about-page .why-copy {
    padding-left: 0;
    align-self: center;
  }

  body.about-page .why-copy h2 {
    font-size: clamp(66px, 6.2vw, 86px);
    margin-bottom: -10px;
  }

  body.about-page .why-card-handshake,
  body.about-page .why-card-sparks,
  body.about-page .why-card-tool {
    width: 300px;
    height: 204px;
  }

  body.about-page .why-card-sofa {
    width: 272px;
    height: 444px;
  }

  body.about-page .why-card-handshake {
    margin-left: 0;
  }

  body.about-page .why-card-sparks,
  body.about-page .why-card-tool {
    justify-self: center;
  }

  body.about-page .why-stat strong {
    font-size: 52px;
  }

  body.about-page .why-stat span {
    font-size: 18px;
  }

	body.about-page .why-stat-left{
		 margin-top: 48px;
	}
  body.about-page .why-stat-right {
   margin-top: 48px;
	  margin-left: -50px;
  }

  body.about-page .why-stat-center {
    margin-top: -6px;
  }

  /* ===== Tablet About Page: Core Values ===== */
  body.about-page .core-values {
    width: 1040px;
    max-width: 1040px;
    margin: 0 auto;
    padding-top: 58px;
    padding-bottom: 26px;
  }

  body.about-page .core-values h2 {
    font-size: clamp(56px, 5.2vw, 76px);
    margin-bottom: 34px;
  }

  body.about-page .core-grid {
    width: 80%;
	  align-content: center;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 10px;
    justify-items: center;
  }

  body.about-page .core-card {
    width: 300px;
    height: 370px;
    padding: 28px 24px 24px;
	  margin-left: 50%;
   
  }

  body.about-page .core-card::after {
    inset: 3px;
  }

  body.about-page .core-card img:not(.core-card-icon-large) {
    width: 64px !important;
    height: 64px !important;
    margin-bottom: 18px;
  }

  body.about-page .core-card-icon-large {
    width:94px !important;
    margin-bottom: 38px;
  }

  body.about-page .core-card h3 {
    font-size: 20px;
    min-height: 54px;
	  margin-top: 16px !important;
    margin-bottom: -2px;
    text-align: center;
  }

  body.about-page .core-card p {
    font-size: 14px;
    line-height: 1.55;
    text-align: justify;
  }

  .hero > .nav.page,
  .nav.page {
    width: 100vw;
	
    max-width: 100vw;
    left: 0;
    right: 0;
    margin: 0;
    padding: 14px var(--r-shell);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .logo {
    width: clamp(138px, 14vw, 162px);
    height: auto;
  }

  .nav .btn-outline {
    display: none;
  }

  .nav-toggle {
    display: inline-flex;
    position: relative;
    z-index: 1003;
  }

  .float-up,
  .float-wa {
    width: 78px;
    height: 78px;
  }

  .float-up {
    right: 18px;
    bottom: 112px;
  }

  .float-wa {
    right: 18px;
    bottom: 25px;
  }

  .float-up img,
  .float-wa img {
    width: 42px;
    height: 42px;
  }

  .nav-toggle:hover span,
  .nav-toggle:focus-visible span,
  .nav.is-sticky .nav-toggle span {
    background: #443850;
  }

  .nav.menu-open .nav-toggle span,
  .nav.menu-open.is-sticky .nav-toggle span {
    background: #ffffff;
  }

  .nav.menu-open .nav-toggle:hover span,
  .nav.menu-open .nav-toggle:focus-visible span,
  .nav.menu-open.is-sticky .nav-toggle:hover span,
  .nav.menu-open.is-sticky .nav-toggle:focus-visible span {
    background: #BBBE63;
  }

  .nav.menu-open .nav-toggle span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
  }

  .nav.menu-open .nav-toggle span:nth-child(2) {
    opacity: 0;
  }

  .nav.menu-open .nav-toggle span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
  }

  .nav .menu {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    min-width: 0;
    padding: 128px var(--r-shell) 56px;
    border-radius: 0;
    background: rgba(68, 56, 80, 0.92);
    backdrop-filter: blur(6px);
    box-shadow: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 34px;
    opacity: 0;
    transform: none;
    z-index: 1001;
    overflow-y: auto;
    pointer-events: none;
  }

  .nav .menu li,
  .menu-home,
  .menu-portfolio-mobile,
  .menu-contact {
    list-style: none;
    display: list-item;
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(3px);
  }

  .nav.menu-open .menu,
  .nav.menu-open .menu * {
    pointer-events: auto;
  }

  .nav.menu-open .menu {
    opacity: 1;
  }

  .nav.menu-open .menu li,
  .nav.menu-open .menu .menu-home,
  .nav.menu-open .menu .menu-portfolio-mobile,
  .nav.menu-open .menu .menu-contact {
    animation: mobileMenuItemBounceIn 0.48s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  }

  .nav .menu-dropdown,
  .nav .dropdown-toggle,
  .nav .submenu {
    display: none !important;
  }

  .nav .menu a,
  .nav .menu .active,
  .nav.is-sticky .menu a,
  .nav.is-sticky .menu .active {
    color: #ffffff;
    font-size: clamp(28px, 3.1vw, 44px);
    font-weight: 700;
    line-height: 1;
    text-align: center;
    display: inline-flex;
    justify-content: center;
    position: relative;
    opacity: 0;
    transform: none;
  }

  .nav.menu-open .menu a,
  .nav.menu-open .menu .active,
  .nav.menu-open.is-sticky .menu a,
  .nav.menu-open.is-sticky .menu .active {
    animation: mobileMenuLinkFadeIn 0.24s ease forwards;
  }

  .nav .menu a::after,
  .nav .menu .active::after,
  .nav.is-sticky .menu a::after,
  .nav.is-sticky .menu .active::after {
    left: 0;
    bottom: -12px;
    width: 100%;
    height: 3px;
    margin-inline: 0;
    background: #ffffff;
  }

  .nav .menu .active,
  .nav .menu a:hover,
  .nav.is-sticky .menu .active,
  .nav.is-sticky .menu a:hover,
  .nav .menu a:not(.active):hover,
  .nav.is-sticky .menu a:not(.active):hover {
    color: #BBBE64;
  }

  .nav .menu .active::after,
  .nav .menu a:hover::after,
  .nav.is-sticky .menu .active::after,
  .nav.is-sticky .menu a:hover::after,
  .nav .menu a:not(.active):hover::after,
  .nav.is-sticky .menu a:not(.active):hover::after {
    transform: scaleX(1);
    background: #ffffff;
  }

  .nav.menu-open .menu a.active::after,
  .nav.menu-open .menu .active::after,
  .nav.menu-open.is-sticky .menu a.active::after,
  .nav.menu-open.is-sticky .menu .active::after {
    background: #ffffff !important;
  }

  .nav .menu li:nth-child(1),
  .nav .menu li:nth-child(1) a { animation-delay: 0.04s; }
  .nav .menu li:nth-child(2),
  .nav .menu li:nth-child(2) a { animation-delay: 0.10s; }
  .nav .menu li:nth-child(3),
  .nav .menu li:nth-child(3) a { animation-delay: 0.16s; }
  .nav .menu li:nth-child(4),
  .nav .menu li:nth-child(4) a { animation-delay: 0.22s; }
  .nav .menu li:nth-child(5),
  .nav .menu li:nth-child(5) a { animation-delay: 0.28s; }
  .nav .menu li:nth-child(7),
  .nav .menu li:nth-child(7) a { animation-delay: 0.34s; }

  .hero-content.page,
  body.about-page .about-hero-content.page,
  body.service-page .service-hero-content.page,
  body.contact-page .contact-hero-content.page,
  body.portfolio-exterior-page .portfolio-exterior-hero-content.page,
  body.portfolio-interior-page .portfolio-interior-hero-content.page {
    width: var(--r-content);
    max-width: var(--r-content);
    margin-inline: auto;
  }

  /* ===== Tablet Homepage + Inner Pages Hero Content Shared ===== */
  .hero-content,
  body.about-page .about-hero-content,
  body.service-page .service-hero-content,
  body.contact-page .contact-hero-content,
  body.portfolio-exterior-page .portfolio-exterior-hero-content,
  body.portfolio-interior-page .portfolio-interior-hero-content {
    min-height: clamp(840px, 80vw, 1180px);
    padding-top: clamp(120px, 13vw, 180px);
    box-sizing: border-box;
  }

  .hero-content h1,
  body.service-page .service-hero-content h1,
  body.portfolio-exterior-page .portfolio-exterior-hero-content h1,
  body.portfolio-interior-page .portfolio-interior-hero-content h1 {
    margin:40px 0 0;
    font-size: clamp(78px, 16vw, 118px);
    line-height: 1;
    text-align: center;
    max-width: 760px;
    margin-inline: auto;
  }

  body.contact-page .contact-hero-content h1,
  body.contact-page .contact-hero-content.page h1 {
    margin-top: -350px;
	  font-size: clamp(78px, 16vw, 118px);
  }

  body.service-page .service-hero-content h1,
  body.service-page .service-hero-content.page h1 {
    margin-top: -150px;
  }

  body.portfolio-exterior-page .portfolio-exterior-hero-content h1,
  body.portfolio-exterior-page .portfolio-exterior-hero-content.page h1 {
    margin-top: -350px;
  }

  body.portfolio-interior-page .portfolio-interior-hero-content h1,
  body.portfolio-interior-page .portfolio-interior-hero-content.page h1 {
    margin-top: -350px;
  }

  /* ===== Tablet Portfolio Exterior Page: Intro ===== */
  body.portfolio-exterior-page .portfolio-exterior-intro {
    width: 70%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 48px;
  }

  body.portfolio-exterior-page .portfolio-exterior-feature {
    order: 1;
    justify-self: center;
    width: 100%;
    max-width: none;
    --feature-border: 10px;
  }

  body.portfolio-exterior-page .portfolio-exterior-feature img {
    aspect-ratio: 2.35 / 1;
  }

  body.portfolio-exterior-page .portfolio-exterior-copy {
    order: 2;
  }

  body.portfolio-exterior-page .portfolio-exterior-copy-frame {
    max-width: 100%;
    border-left-width: 6px;
    border-bottom-width: 6px;
    padding: 30px 28px 28px 24px;
  }

  body.portfolio-exterior-page .portfolio-exterior-copy-frame::before {
    height: 6px;
    width: 44%;
  }

  body.portfolio-exterior-page .portfolio-exterior-copy-frame h2 {
    font-size: clamp(48px, 5.4vw, 72px);
  }

  body.portfolio-exterior-page .portfolio-exterior-copy-frame p {
    max-width: 100%;
    margin-top: 34px;
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.7;
  }

  body.portfolio-exterior-page .portfolio-exterior-points {
    gap: 16px 34px;
  }

  body.portfolio-exterior-page .portfolio-exterior-points li {
    padding-left: 18px;
    font-size: 16px;
  }

  body.portfolio-exterior-page .portfolio-exterior-points li::before {
    width: 10px;
    height: 10px;
    top: 0.6em;
  }

  /* ===== Tablet Portfolio Interior Page: Intro ===== */
  body.portfolio-interior-page .portfolio-interior-intro {
    width: 70%;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 34px;
    padding-bottom: 48px;
  }

  body.portfolio-interior-page .portfolio-interior-feature {
    order: 1;
    justify-self: center;
    width: 100%;
    max-width: none;
    --feature-border: 10px;
  }

  body.portfolio-interior-page .portfolio-interior-feature img {
    aspect-ratio: 2.35 / 1;
  }

  body.portfolio-interior-page .portfolio-interior-copy {
    order: 2;
  }

  body.portfolio-interior-page .portfolio-interior-copy-frame {
    max-width: 100%;
    border-left-width: 6px;
    border-bottom-width: 6px;
    border-left-color: #443850;
    border-bottom-color: #443850;
    padding: 15px 28px 35px 24px;
  }

  body.portfolio-interior-page .portfolio-interior-copy-frame::before {
    height: 6px;
    width: 44%;
    background: #443850;
  }

  body.portfolio-interior-page .portfolio-interior-copy-frame::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 5px;
    height: 100%;
    background: #443850;
  }

  body.portfolio-interior-page .portfolio-interior-copy-frame h2 {
    font-size: clamp(48px, 5.4vw, 72px);
  }

  body.portfolio-interior-page .portfolio-interior-copy-frame p {
    max-width: 100%;
    margin-top: 34px;
    margin-bottom: 34px;
    font-size: 16px;
    line-height: 1.7;
  }

  body.portfolio-interior-page .portfolio-interior-points {
    gap: 16px 34px;
  }

  body.portfolio-interior-page .portfolio-interior-points li {
    padding-left: 18px;
    font-size: 16px;
  }

  body.portfolio-interior-page .portfolio-interior-points li::before {
    width: 10px;
    height: 10px;
    top: 0.6em;
  }

  /* ===== Tablet Portfolio Exterior Page: Actions ===== */
  body.portfolio-exterior-page .portfolio-exterior-actions {
    gap: 18px;
    align-items: center;
  }

  body.portfolio-exterior-page .portfolio-exterior-action,
  body.portfolio-exterior-page .portfolio-exterior-dropdown-toggle {
    width: 250px;
    min-width: 250px;
    max-width: 200px;
    min-height: 50px;
    padding: 10px 26px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
    justify-content: center;
  }

  body.portfolio-exterior-page .portfolio-exterior-dropdown {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }

  body.portfolio-exterior-page .portfolio-exterior-dropdown-menu {
    width: 100%;
    min-width: 250px;
    max-width: 250px;
  }

  body.portfolio-exterior-page .portfolio-exterior-dropdown-label {
    flex: 1;
    text-align: center;
  }

  body.portfolio-exterior-page .portfolio-exterior-action-primary {
    padding-top: 17px;
    padding-bottom: 12px;
  }

  body.portfolio-exterior-page .portfolio-exterior-dropdown-item {
    min-height: 50px;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 16px;
  }

  /* ===== Tablet Portfolio Interior Page: Actions ===== */
  body.portfolio-interior-page .portfolio-interior-actions {
    gap: 18px;
    align-items: center;
  }

  body.portfolio-interior-page .portfolio-interior-action,
  body.portfolio-interior-page .portfolio-interior-dropdown-toggle {
    width: 250px;
    min-width: 250px;
    max-width: 200px;
    min-height: 50px;
    padding: 10px 26px;
    box-sizing: border-box;
    font-size: 16px;
    text-align: center;
    justify-content: center;
  }

  body.portfolio-interior-page .portfolio-interior-dropdown {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
  }

  body.portfolio-interior-page .portfolio-interior-dropdown-menu {
    width: 100%;
    min-width: 250px;
    max-width: 250px;
  }

  body.portfolio-interior-page .portfolio-interior-dropdown-label {
    flex: 1;
    text-align: center;
  }

  body.portfolio-interior-page .portfolio-interior-action-primary {
    padding-top: 17px;
    padding-bottom: 12px;
  }

  body.portfolio-interior-page .portfolio-interior-dropdown-item {
    min-height: 50px;
    padding: 12px 16px;
    box-sizing: border-box;
    font-size: 16px;
  }

  .hero-content p {
    margin-top: clamp(18px, 2.6vw, 30px);
    font-size: clamp(34px, 4.2vw, 48px);
    line-height: 1.16;
  }

  /* ===== Tablet Homepage ===== */
  .who {
    display: block;
    margin-top: clamp(34px, 4vw, 46px);
  }

  .who-grid {
    display: grid;
    position: relative;
    min-height: auto;
    grid-template-columns: var(--r-who-center) var(--r-who-center) var(--r-who-center);
    grid-template-areas:
      "img1 we img3"
      "who img2 are";
    width: min(100%, calc((var(--r-who-center) * 3) + (var(--r-who-gap) * 2)));
    margin: 0 auto clamp(24px, 3.2vw, 40px);
    column-gap: var(--r-who-gap);
    row-gap: clamp(10px, 1.5vw, 16px);
    justify-content: center;
    justify-items: center;
    align-items: center;
  }

  .who .img-1,
  .who .img-2,
  .who .img-3,
  .who .word {
    position: static;
    inset: auto;
    margin: 0;
  }

  .who .img-1,
  .who .img-2,
  .who .img-3 {
    width: var(--r-who-center);
    height: calc(var(--r-who-center) * 1.48);
  }

  .img-1 { grid-area: img1; }
  .img-2 { grid-area: img2; }
  .img-3 { grid-area: img3; }
  .we { grid-area: we; }
  .who-word { grid-area: who; }
  .are { grid-area: are; }

  .who .word {
    width: 100%;
    font-size: var(--r-who-word);
    line-height: 1;
    text-align: center;
  }

  .who-text {
    width: min(100%, calc((var(--r-who-center) * 3) + (var(--r-who-gap) * 2)));
    min-height: auto;
    margin: 0 auto;
    padding: clamp(24px, 3vw, 32px) clamp(18px, 3vw, 30px) clamp(64px, 7vw, 86px);
    border-right: 2px solid var(--olive);
  }

  .who-text::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    width: 36%;
    height: 2px;
    background: var(--olive);
  }

  .who-text::after {
    content: "";
    position: absolute;
    left: 26%;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--olive);
  }

  .who-text p {
    max-width: 100%;
    font-size: var(--r-copy);
    line-height: 2;
    margin-bottom: clamp(14px, 2.2vw, 24px);
    text-align: justify;
  }

  .who-text .btn-dark,
  .who-text .btn-learn,
  .who-text .btn-dark.btn-learn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 220px;
    min-width: 220px;
    max-width: 220px;
    min-height: 50px;
    padding: 10px 26px;
    font-size: 16px;
    line-height: 1;
    white-space: nowrap;
    align-self: center;
    margin-top: 100px;
    margin-left: auto;
    margin-right: auto;
  }

  .mini-logo {
    width: clamp(48px, 6vw, 66px);
  }

  .about-hammer {
    width: 430px;
    right: -150px;
    top: 450px;
    transform: rotate(-18deg);
    transform-origin: center center;
  }

  .who.hammer-active .about-hammer {
    animation: hammerEnterTablet 1.35s cubic-bezier(0.22, 0.84, 0.24, 1) forwards;
  }

  .who.hammer-idle .about-hammer {
    animation: hammerSwayTablet 2.8s cubic-bezier(0.42, 0, 0.2, 1) infinite alternate;
    animation-fill-mode: both;
  }

  .stats {
    padding: clamp(24px, 3.2vw, 34px) 0;
  }

  .stats-roller {
    left: -250px;
    top: -350px;
    width: 440px;
  }

  .stats::before {
    left: -72px;
    right: 0;
    width: calc(100% + 72px);
    background-position: left -86px;
    background-size: auto 200%;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(10px, 1.6vw, 18px);
  }

  .stat-item strong {
    font-size: clamp(54px, 8vw, 86px);
  }

  .stat-item span {
    font-size: clamp(11px, 1.4vw, 16px);
  }

  .services {
    display: grid;
    width: min(calc(100% - 48px), 860px);
    margin-inline: auto;
    grid-template-columns: 1fr 430px;
    align-items: start;
    justify-content: center;
    column-gap: 68px;
    padding: clamp(28px, 3.4vw, 42px) 0;
  }

  .services::after {
    bottom: -24px;
    height: 54px;
  }

  .services-wrench-wrap {
    position: absolute;
    left: auto;
    right: 500px;
    bottom: -18px;
    width: 220px;
    height: 220px;
    overflow: visible;
    z-index: 6;
    pointer-events: none;
  }

  .services-wrench {
    width: 150px;
    max-width: none;
    display: block;
  }

  .services-text {
    width: 100%;
    max-width: 400px;
    margin: 0;
    justify-self: center;
    align-self: start;
  }

  .services h2 {
    font-size: var(--r-title);
    margin-bottom: 12px;
    margin-left: 0;
  }

  .services-text p {
    width: 400px;
    max-width: 400px;
    margin: 0 0 clamp(18px, 2.2vw, 24px);
    font-size: clamp(14px, 1.02vw, 14px);
    line-height: 2;
    text-align: justify;
  }

  .services-text .btn-dark {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: clamp(10px, 1.4vw, 12px) clamp(22px, 2.4vw, 32px);
    font-size: var(--r-small-btn);
  }

  .services-media {
    width: 430px;
    min-height: 430px;
    margin: 0 0 0 auto;
    position: relative;
    display: block;
  }

  .services-media h3 {
    width: auto;
    margin: 0;
    font-size: clamp(22px, 3.3vw, 36px);
    line-height: 1;
    text-align: left;
  }

  .interior {
    position: absolute;
    left: 16px;
    top: 44px;
    font-size: 20px;
  }

  .exterior {
    position: absolute;
    left: 180px;
    bottom: 72px;
    font-size: 20px;
  }

  .svc-a {
    position: absolute;
    left: -20px;
    top: 108px;
    width: var(--r-service-card-w);
    height: var(--r-service-card-h);
  }

  .svc-b {
    position: absolute;
    left: 182px;
    top: 4px;
    width: var(--r-service-card-w);
    height: var(--r-service-card-h);
  }

  .previous {
    padding: 28px 0 34px;
  }

  .previous-head {
    display: flex;
    flex-direction: column-reverse;
    align-items: flex-start;
    margin-bottom: 22px;
	  margin-right: -300px;
  }

  .previous-head h2 {
    width: fit-content;
    min-width: 680px;
    padding-right: 24px;
    margin-bottom: 20px;
    font-size: var(--r-portfolio);
  }

  .previous-head p {
    max-width: 680px;
    margin-top: -50px;
    margin-left: -300px;
    padding-right: 0;
    font-size: 14px;
    line-height: 2;
  }

  .previous-bottom {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    gap: 18px;
    margin-top: 24px;
  }

  .previous-explore-btn {
    width: 200px;
    min-width: 250px;
    max-width: 250px;
    padding: 14px 26px;
    font-size: 16px;
    line-height: 1.1;
  }

  .slider-track {
    --slide-width: clamp(250px, 15.8vw, 290px);
    --slide-gap: 14px;
  }

  .slide {
    width: var(--slide-width);
    flex-basis: var(--slide-width);
    height: 224px;
  }

  .previous-screwdriver {
    top: 40vw;
  }

  .cta-card {
    width: min(calc(100vw - (var(--r-shell) * 2)), 720px);
  }

  .cta-card h2 {
    font-size: clamp(20px, 3.4vw, 40px);
  }

  .cta-card .btn,
  .cta-card .btn-dark,
  .cta-card a.btn,
  .cta-card a.btn-dark {
    width: 200px;
    min-width: 200px;
    max-width: 200px;
    min-height: 50px;
    padding: 10px 26px;
    font-size: 16px;
    justify-content: center;
  }

  .footer-grid {
    width: 70%;
    column-gap: 18px;
  }

  .footer {
    padding: clamp(96px, 10vw, 120px) 0 14px;
  }

  body.contact-page .footer-grid {
    width: 70%;
    column-gap: 18px;
  }

  body.contact-page .footer {
    margin-top: 0;
    padding: clamp(96px, 10vw, 120px) 0 14px;
  }

  body.contact-page .footer-top-curve {
    top: -82px;
    height: 128px;
    left: -5%;
    right: -5%;
  }

  /* ===== Tablet Contact Page: Contact Section ===== */
  body.contact-page .contact-section {
    padding: 56px 0 28px;
  }

  body.contact-page .contact-shell {
    width: min(100% - 72px, 760px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    row-gap: 44px;
  }

  body.contact-page .contact-copy {
    padding-top: 0;
    width: min(100%, 600px);
    margin: 0 auto;
  }

  body.contact-page .contact-eyebrow {
    display: none;
  }

  body.contact-page .contact-copy h2 {
    position: relative;
    margin: 0 0 16px;
    color: transparent;
    font-size: 0;
    line-height: 0;
    width: auto;
  }

  body.contact-page .contact-copy h2 br {
    display: none;
  }

  body.contact-page .contact-copy h2::before {
    display: block;
    color: var(--purple);
    content: "GET IN TOUCH";
    font-size: clamp(58px, 7vw, 82px);
    line-height: 0.96;
  }

  body.contact-page .contact-intro {
    max-width: 100%;
    margin: 0 0 34px;
    font-size: 17px;
    line-height: 1.52;
  }

  body.contact-page .contact-info-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 54px;
  }

  body.contact-page .contact-info-item {
    display: block;
  }

  body.contact-page .contact-info-item:nth-child(2),
  body.contact-page .contact-info-item:nth-child(4) {
    padding-left: 24px;
  }

  body.contact-page .contact-info-icon {
    width: 92px;
    height: 92px;
    margin: 20px 0 14px;
    border-radius: 12px;
  }

  body.contact-page .contact-info-item h3 {
    margin: 0 0 8px;
    font-size: 22px;
    line-height: 1.15;
  }

  body.contact-page .contact-info-item p,
  body.contact-page .contact-info-item a {
    font-size: 16px;
    line-height: 1.5;
  }

  body.contact-page .contact-inline-socials {
    gap: 22px;
    margin-top: 30px;
	  margin-bottom: 50px;
  }

  body.contact-page .contact-inline-socials a {
    width: 38px;
    height: 38px;
  }

  /* ===== Tablet Contact Page: Form + Map ===== */
  body.contact-page .contact-form-wrap {
    padding-top: 0;
    display: flex;
    justify-content: center;
  }

  body.contact-page .contact-form {
    width: min(100%, 600px);
    padding: 36px 28px 28px;
  }

  body.contact-page .contact-form label {
    margin-bottom: 10px;
    font-size: 16px;
  }

  body.contact-page .contact-form input {
    height: 50px;
    padding: 0 16px;
    margin-bottom: 16px;
    font-size: 16px;
  }

  body.contact-page .contact-form textarea {
    height: 170px;
    padding: 14px 16px;
    margin-bottom: 16px;
    font-size: 16px;
  }

  body.contact-page .contact-submit {
    padding: 16px 20px;
    font-size: 16px;
  }

  body.contact-page .contact-map-shell {
    width: min(100%, 600px);
    margin: 0 auto;
  }

  body.contact-page .contact-map-card {
    height: 280px;
  }

  /* ===== Tablet Service Page ===== */
  /* ===== Tablet Service Page: Shared Exterior + Interior ===== */
  body.service-page .service-copy-exterior .btn-dark,
  body.service-page .service-copy-interior .btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 200px;
    max-width: 200px;
    min-width: 200px;
    padding: 12px 22px;
    font-size: 14px;
  }

  body.service-page .service-feature-exterior,
  body.service-page .service-feature-interior {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  /* ===== Tablet Service Page: Exterior ===== */
  body.service-page .service-feature-exterior {
    grid-template-columns: minmax(260px, 0.92fr) minmax(320px, 1.08fr) !important;
    align-items: start;
    gap: 5px !important;
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 70px;
  }

  body.service-page .service-intro h2,
  body.service-page .service-work h2,
  body.service-page .service-area-copy h2 {
    font-size: var(--r-title);
  }

  body.service-page .service-intro p,
  body.service-page .service-copy p,
  body.service-page .service-assurance-copy-text p {
    font-size: 14px;
    line-height: 1.7;
  }

  body.service-page .service-feature-exterior .service-copy,
  body.service-page .service-feature-interior .service-copy {
    order: 1 !important;
    justify-self: start !important;
    text-align: left !important;
    margin: 0 !important;
    transform: none !important;
    opacity: 1 !important;
  }

  body.service-page .service-feature-exterior .service-copy {
    justify-self: start !important;
    align-self: center;
    text-align: left !important;
    max-width: 300px;
    padding-top: 0;

  }

  /* ===== Tablet Service Page: Interior ===== */
  body.service-page .service-feature-interior {
    grid-template-columns: minmax(320px, 1.08fr) minmax(260px, 0.92fr) !important;
    align-items: start;
    gap: 26px !important;
    width: min(100%, 760px);
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 70px;
  }

  body.service-page .service-feature-interior .service-collage {
    width: 100%;
    max-width: 430px;
    gap: 10px;
  }

  body.service-page .service-feature-interior .service-copy {
    order: 2 !important;
    justify-self: end !important;
    align-self: center;
    text-align: right !important;
    max-width: 300px;
    padding-top: 0;
    position: relative;
    left: -70px;
    opacity: 1 !important;
    transform: none !important;
  }

  body.service-page .service-copy-interior h3 {
    margin: 0 0 22px;
    font-size: clamp(52px, 5.6vw, 74px);
    line-height: 0.98;
    position: relative;
	   left: -75px;
    opacity: 0;
    transform: translateX(48px);
  }

  body.service-page .service-copy-interior p {
    max-width: 110%;
    margin-bottom:  24px;
    position: relative;
	  left:  -150px;
    font-size: 14px;
    line-height: 1.55;
    text-align: right;
    opacity: 0;
    transform: translateX(48px);
  }

  body.service-page .service-copy-interior .btn-dark {
    position: relative;
    left: -150px;
    opacity: 0;
    transform: translateX(48px);
  }

  body.service-page .service-feature-interior.is-visible .service-copy-interior h3 {
    animation: serviceCopySlideInRight 0.86s cubic-bezier(0.22, 1, 0.36, 1) 0.08s forwards;
  }

  body.service-page .service-feature-interior.is-visible .service-copy-interior p {
    animation: serviceCopySlideInRight 0.94s cubic-bezier(0.22, 1, 0.36, 1) 0.2s forwards;
  }

  body.service-page .service-feature-interior.is-visible .service-copy-interior .btn-dark {
    animation: serviceCopySlideInRight 1s cubic-bezier(0.22, 1, 0.36, 1) 0.32s forwards;
  }

  body.service-page .service-work-step p {
    font-size: 22px;
    line-height: 1.35;
  }

  /* ===== Tablet Service Page: How We Work ===== */
  body.service-page .service-work-grid {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon-a"
      "step-1"
      "icon-b"
      "step-2"
      "icon-c"
      "step-3"
      "icon-d"
      "step-4";
    justify-items: center;
    row-gap: 40px;
    margin-top: 36px;
  }

  body.service-page .service-work-step-1,
  body.service-page .service-work-step-2,
  body.service-page .service-work-step-3,
  body.service-page .service-work-step-4 {
    transform: none;
  }

  body.service-page .service-work-icon {
    width: 132px;
    height: 132px;
  }

  body.service-page .service-work-icon img {
    width: 68px;
    height: 68px;
  }

  body.service-page .service-work-step {
    width: 212px;
    height: 230px;
    padding: 24px 20px;
  }

  body.service-page .service-work h2 {
    text-align: center;
    margin-bottom: 0;
  }

  body.service-page .service-work-step h3,
  body.service-page .service-work-step p,
  body.service-page .service-work-step-1 h3,
  body.service-page .service-work-step-1 p,
  body.service-page .service-work-step-2 h3,
  body.service-page .service-work-step-2 p,
  body.service-page .service-work-step-3 h3,
  body.service-page .service-work-step-3 p,
  body.service-page .service-work-step-4 h3,
  body.service-page .service-work-step-4 p {
    top: 0;
  }

  body.service-page .service-work-step-detail {
    font-size: 14px;
    padding-left: 20px;
    padding-right: 20px;
  }

  body.service-page .service-work-step-1 .service-work-step-detail,
  body.service-page .service-work-step-3 .service-work-step-detail,
  body.service-page .service-work-step-2 .service-work-step-detail,
  body.service-page .service-work-step-4 .service-work-step-detail {
    padding-left: 20px;
    padding-right: 20px;
  }

  /* ===== Tablet Service Page: Assurance Statements ===== */
  body.service-page .service-assurance-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
  }

  body.service-page .service-assurance-copy {
    display: grid;
    grid-template-columns: 440px minmax(0, 1fr);
    align-items: start;
    column-gap: 22px;
    min-height: auto;
    padding: 0;
  }

  body.service-page .service-assurance-people {
    position: static;
    width: 340px;
    margin-left: -40px;
    grid-column: 1;
    grid-row: 1;
  }

  body.service-page .service-assurance-copy-text {
    grid-column: 2;
    grid-row: 1;
    max-width: none;
    padding-left: 0;
    align-self: start;
  }

  body.service-page .service-assurance-copy-text h2 {
    margin-bottom: 14px;
	   margin-left: -180px;
    font-size: 74px;
    line-height: 0.95;
    text-align: left;
  }

  body.service-page .service-assurance-copy-text p {
margin-left: -120px;
    max-width: none;
    width: 100%;
    padding-left: 0;
    font-size: 16px;
    line-height: 1.65;
    text-align: left;
  }

  body.service-page .service-assurance-bars {
    display: grid;
    gap: 18px;
    padding-top: 0;

  }

  body.service-page .service-assurance-bar {
    min-height: auto;
    width: 100%;
	  padding: 34px 34px;}
	

  body.service-page .service-assurance-bar-top {
    margin-left: 50px;
  }

  body.service-page .service-assurance-bar-middle {
    margin-left: 100px;
  }

  body.service-page .service-assurance-bar-bottom {
    margin-left: 158px;
  }

  body.service-page .service-assurance-bar h3 {
    font-size: 34px;
    line-height: 1.02;
    margin-left: 60px;
  }

  body.service-page .service-assurance-bar p {
    padding-top: 8px;
    margin-left: 60px;
    font-size: 18px;
    line-height: 1.2;
  }

  /* ===== Tablet Service Page: We Serve At ===== */
  body.service-page .service-area-grid {
    grid-template-columns: 250px minmax(0, 1fr);
    grid-template-areas:
      "map copy"
      "map truck";
    align-items: start;
    gap: 18px 28px;
  }

  body.service-page .service-area-map {
    grid-area: map;
    align-self: start;
  }

  body.service-page .service-area-map img {
    width: 100%;
    margin-top: 60px;
  }

  body.service-page .service-area-copy {
    grid-area: copy;
    align-self: start;
    padding-left: 0;
  }

  body.service-page .service-area-copy h2 {
    margin: 0 0 14px;
    font-size: 74px;
    text-align: left;
  }

  body.service-page .service-area-copy ul {
    padding-left: 28px;
    font-size: 18px;
    line-height: 1.7;
    text-align: left;
  }

  body.service-page .service-area-truck {
    grid-area: truck;
    align-self: end;
    margin-top: 0;
    margin-left: 40px;
    width: 130%;
  }

 
  body.service-page .service-copy-exterior h3 {
    margin: 0 0 16px;
    font-size: clamp(52px, 5.6vw, 74px);
    line-height: 0.98;
  }

  body.service-page .service-copy-exterior p {
    max-width: 100%;
    margin: 0 0 18px;
    font-size: 14px;
    line-height: 1.55;
    text-align: justify;
  }

  body.service-page .service-feature-exterior .service-collage,
  body.service-page .service-feature-interior .service-collage {
    order: 2 !important;
    justify-self: start !important;
    margin: 0 !important;
  }

  body.service-page .service-feature-exterior .service-collage {
    width: 100%;
    max-width: 430px;
    justify-self: end !important;
    gap: 10px;
  }

  body.service-page .footer-grid {
    width: 70%;
    column-gap: 18px;
  }

  body.service-page .footer {
    padding: clamp(96px, 10vw, 120px) 0 14px;
  }

  /* ===== Tablet Service Page: Footer ===== */
  body.service-page .footer p {
    font-size: 14px;
    line-height: 1.55;
  }

  body.service-page .footer-links h3 {
    font-size: 28px;
    margin-bottom: 16px;
  }

  body.service-page .footer-links a {
    font-size: 12px;
    line-height: 1.4;
  }
}

@keyframes mobileMenuLinkFadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes mobileMenuItemBounceIn {
  0% {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(3px);
  }

  65% {
    opacity: 1;
    transform: translateY(-1px) scale(1.008);
    filter: blur(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes hammerSwayTablet {
  0% {
    transform: translateY(0) scaleX(-1) rotate(20deg);
  }

  100% {
    transform: translateY(8px) scaleX(-1) rotate(28deg);
  }
}

@keyframes hammerEnterTablet {
  0% {
    opacity: 0;
    transform: translateX(38px) translateY(-220px) scaleX(-1) rotate(-58deg);
  }

  72% {
    opacity: 1;
    transform: translateX(0) translateY(8px) scaleX(-1) rotate(28deg);
  }

  100% {
    opacity: 1;
    transform: translateX(0) translateY(0) scaleX(-1) rotate(20deg);
  }
}
