@import url("https://api.fontshare.com/v2/css?f[]=clash-display@200,300,400,500,600,700&display=swap");

/*
Theme Name: DiegoJI Design
Author: DiegoJI Design
Description: Custom DiegoJI Design portfolio theme.
Version: 3.5.0
*/

:root{
  --black:#050505;
  --white:#fff;
  --line:#d9d9d9;
  --muted:#777;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:"Clash Display",Arial,Helvetica,sans-serif;
  -webkit-font-smoothing:antialiased;
}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
button,input,textarea{font:inherit}

.site-header{
  height:78px;padding:0 28px;display:flex;align-items:center;
  justify-content:space-between;position:relative;z-index:50;background:#fff;
}
.brand{display:block;width:188px;line-height:0}
.brand img{width:100%;height:auto;display:block}
.main-nav{
  display:flex;align-items:center;gap:34px;font-size:12px;font-weight:600;
}
.main-nav a{padding:8px 0;position:relative}
.main-nav a.active:after{
  content:"";position:absolute;left:0;right:0;bottom:1px;height:1px;background:#111;
}
.header-socials,.footer-socials{
  display:flex;align-items:center;gap:15px;
}
.social-link{
  width:18px;height:18px;display:inline-flex;align-items:center;
  justify-content:center;color:#080808;transition:opacity .2s ease,transform .2s ease;
}
.social-link:hover{opacity:.5;transform:translateY(-1px)}
.social-link svg{width:15px;height:15px;display:block}
.social-link.linkedin svg,
.social-link.behance svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round}
.social-link.x svg{fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round}
.home-menu{
  width:19px;height:16px;display:flex;flex-direction:column;justify-content:center;
  gap:5px;margin-left:7px;
}
.home-menu span{height:1px;width:18px;background:#111;display:block}

.page-shell{min-height:calc(100vh - 78px)}

.home{
  min-height:calc(100vh - 78px);position:relative;overflow:hidden;
  background:#fff;
}
.home-wheel-wrap{
  position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);
  width:min(68vw,920px);z-index:2;will-change:transform;
}
.home-wheel{
  width:100%;height:auto;display:block;
  transition:filter .35s ease;
  user-select:none;-webkit-user-drag:none;
}
.home-wheel-wrap:hover .home-wheel{filter:contrast(1.03)}
.wheel-link{
  position:absolute;display:block;border-radius:50%;
  background:rgba(255,255,255,0);
  border:2px solid transparent;cursor:pointer;z-index:5;
  transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease;
}
.wheel-link:hover{
  border-color:rgba(255,255,255,.92);
  background:rgba(255,255,255,.045);
  box-shadow:0 0 0 3px rgba(0,0,0,.16),0 0 18px rgba(255,255,255,.18);
  transform:scale(1.06);
}
.wheel-link:active{transform:scale(.96)}
/* Exact hit areas over the buttons already present in volante.png */
.wheel-about{left:21.5%;top:47.7%;width:12.4%;aspect-ratio:1}
.wheel-projects{right:20.9%;top:47.7%;width:12.4%;aspect-ratio:1}
.wheel-contact{left:43.8%;bottom:13.2%;width:12.4%;aspect-ratio:1}

.home-copy-left{
  position:absolute;left:28px;top:48%;width:150px;
  font-size:10px;line-height:1.35;z-index:4;font-weight:500;
}
.home-copy-right{
  position:absolute;right:28px;top:48%;width:95px;
  text-align:right;font-size:11px;line-height:1.3;z-index:4;
}
.scroll-indicator{
  position:absolute;left:28px;bottom:22px;font-size:9px;letter-spacing:.2px;
}
.scroll-indicator:after{
  content:"";display:block;width:46px;height:1px;background:#111;margin-top:9px;
}

.page-content{padding:0 28px 50px}
.contact-page{min-height:calc(100vh - 78px);padding-bottom:28px}
.page-title{
  font-size:clamp(56px,7.1vw,110px);line-height:.82;letter-spacing:-4px;
  margin:12px 0 35px;font-weight:800;
}
.projects-filter{display:flex;gap:25px;margin-bottom:24px;font-size:10px}
.projects-filter button{
  border:0;background:none;padding:0;cursor:pointer;font-weight:600;position:relative;
}
.projects-filter button.active:after{
  content:"";position:absolute;left:0;right:0;bottom:-7px;height:1px;background:#111;
}
.project-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.project-card{position:relative;height:260px;overflow:hidden;background:#111;color:white}
.project-card img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:brightness(.55) grayscale(1);
  transition:transform .35s ease,filter .45s ease;
}
.project-card:hover img{
  transform:scale(1.03);
  filter:brightness(.7) grayscale(0);
}
.project-overlay{position:absolute;inset:auto 16px 16px 16px}
.project-number{font-size:28px;font-weight:800}
.project-name{font-size:18px;font-weight:800;margin-top:2px}
.project-cat{font-size:9px;margin-top:5px}
.load-more{text-align:center;font-size:10px;margin:16px 0 0}

.about-grid{
  display:grid;grid-template-columns:1.15fr 1fr 1fr;gap:28px;margin-top:10px;
}
.about-intro{padding-right:30px;border-right:1px solid var(--line)}
.about-intro p{font-size:15px;line-height:1.42;max-width:330px;margin:0 0 22px}
.about-label{font-size:12px;font-weight:800;margin-bottom:18px}
.about-photo{
  width:100%;max-width:330px;aspect-ratio:1/1;object-fit:cover;
  margin-top:28px;filter:grayscale(1);display:block;
}
.skills-col{padding-right:28px;border-right:1px solid var(--line)}
.skill-row{
  display:grid;grid-template-columns:1fr auto;gap:15px;align-items:center;
  margin:0 0 15px;font-size:9px;
}
.dots{display:flex;gap:4px}
.dot{width:8px;height:8px;border:1px solid #111;border-radius:50%}
.dot.on{background:#111}
.focus{
  grid-column:1/-1;border-top:1px solid var(--line);margin-top:12px;padding-top:16px;
  display:flex;gap:0;align-items:center;flex-wrap:wrap;
}
.focus span{font-size:9px;padding:0 20px;border-right:1px solid #bbb}
.focus span:first-child{padding-left:0}
.focus span:last-child{border-right:0}

/* Client logo marquee: continuous, understated, not a conventional carousel */
.clients{
  margin-top:38px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);
  padding:17px 0;overflow:hidden;
}
.clients-title{font-size:9px;font-weight:800;margin-bottom:18px}
.clients-track{
  display:flex;width:max-content;animation:clientMarquee 28s linear infinite;
}
.clients:hover .clients-track{animation-play-state:paused}
.client-logo{
  width:180px;height:44px;margin-right:34px;display:flex;align-items:center;
  justify-content:center;font-family:Arial,Helvetica,sans-serif;font-size:28px;
  font-weight:500;letter-spacing:-1.4px;filter:grayscale(1);opacity:.9;
}
.client-logo span:nth-child(1){color:#4285f4}
.client-logo span:nth-child(2){color:#ea4335}
.client-logo span:nth-child(3){color:#fbbc05}
.client-logo span:nth-child(4){color:#34a853}
@keyframes clientMarquee{from{transform:translateX(0)}to{transform:translateX(-50%)}}

.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:80px;margin-top:20px;margin-bottom:0}
.contact-title{
  font-size:clamp(55px,6.8vw,100px);line-height:.8;letter-spacing:-4px;
  font-weight:800;margin:0 0 32px;
}
.contact-copy{font-size:14px;line-height:1.4;max-width:320px}
.social-list{margin-top:34px;display:grid;gap:15px;font-size:10px}
.social-list a{display:flex;gap:18px;align-items:center}
.social-icon{width:18px;font-weight:800}
.contact-form{display:grid;gap:18px}
.field label{display:block;font-size:8px;font-weight:700;margin-bottom:8px;text-transform:uppercase}
.field input,.field textarea{
  width:100%;border:1px solid #d4d4d4;padding:10px 9px;outline:0;background:white;font-size:10px;
}
.field textarea{min-height:105px;resize:vertical}
.submit{
  height:34px;border:0;background:#050505;color:white;font-size:11px;font-weight:700;
  cursor:pointer;display:flex;align-items:center;justify-content:center;gap:15px;
}
.site-footer{
  background:#050505;color:white;min-height:78px;display:grid;
  grid-template-columns:1fr 1fr 1fr;align-items:center;padding:16px 28px;
}
.footer-brand{font-size:11px;line-height:1.3}
.footer-center{text-align:center;font-size:15px;line-height:.95}
.footer-socials{justify-content:flex-end}
.footer-socials .social-link{color:#fff}

.home .born-to-create{
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  gap:0;
  line-height:.9;
}
.home .born-to-create em,
.home .born-to-create span,
.home .born-to-create strong{
  display:block;
}
@media (max-width:900px){
  .home-wheel-wrap{width:min(82vw,760px)}
  .home-copy-left,.home-copy-right{display:none}
  .project-grid{grid-template-columns:repeat(2,1fr)}
  .about-grid{grid-template-columns:1fr 1fr}
  .about-intro{grid-column:1/-1;border-right:0;border-bottom:1px solid var(--line);padding-bottom:25px}
  .skills-col{border-right:0}
  .contact-grid{gap:35px}
}
.projects-filter{
  width:100%;
  max-width:100%;
  overflow-x:auto;
  overflow-y:hidden;
  flex-wrap:nowrap;
  gap:18px;
  margin-bottom:24px;
  padding-bottom:5px;
  white-space:nowrap;
  scrollbar-width:none;
  -webkit-overflow-scrolling:touch;
}
.projects-filter::-webkit-scrollbar{display:none}
.projects-filter a{
  flex:0 0 auto;
}
@media (max-width:650px){
  .site-header{height:68px;padding:0 18px}
  .brand{width:150px}
  .main-nav{gap:18px;font-size:9px}
  .header-socials{display:none}
  .page-shell{min-height:calc(100vh - 68px)}
  .home{min-height:calc(100vh - 68px)}
  .home-wheel-wrap{width:112vw;top:46%}
  .page-content{padding:0 18px 35px}
  .page-title{letter-spacing:-2px;margin-top:5px}
  .project-grid{grid-template-columns:1fr;gap:12px}
  .project-card{height:240px}
  .about-grid{grid-template-columns:1fr}
  .about-intro,.skills-col{border:0;padding-right:0}
  .about-photo{max-width:100%}
  .focus{grid-column:auto}
  .focus span{margin-bottom:10px}
  .contact-grid{grid-template-columns:1fr;gap:45px}
  .contact-title{letter-spacing:-2px}
  .site-footer{grid-template-columns:1fr;gap:16px}
  .footer-center{text-align:left}
  .footer-socials{justify-content:flex-start}
}

/* FINAL V2 refinements */
body, button, input, textarea{font-family:"Clash Display",Arial,Helvetica,sans-serif}
.site-header{letter-spacing:-.1px}
.page-title,.contact-title{font-weight:600}
.main-nav,.projects-filter,.about-label,.clients-title,.field label,.submit,.home-copy-left,.home-copy-right,.scroll-indicator{
  font-family:"Clash Display",Arial,Helvetica,sans-serif;
}
.about-photo{display:none!important;}
.clients-track{animation-duration:30s}
.client-logo{
  font-family:"Clash Display",Arial,Helvetica,sans-serif;
  font-weight:500;
}

.social-list .social-icon{
  width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;
  flex:0 0 18px;
}
.social-list .social-icon svg{width:16px;height:16px;display:block}

/* V3: About photo intentionally removed */
.about-photo{display:none!important}
.about-intro .about-label[style*="margin-top:26px"]{display:none!important}

/* V3: exact 8-point skill bars */
.skill-row .dots{gap:4px}
.skill-row .dot{width:8px;height:8px}

.contact-grid .social-list .social-icon svg{
  width:17px;height:17px;fill:currentColor;stroke:none;
}
.contact-grid .social-list .social-icon svg path[stroke]{
  stroke:currentColor;stroke-width:2;fill:none;
}

/* V4: footer social icons are always white */
.site-footer .footer-socials .social-link,
.site-footer .footer-socials .social-link svg,
.site-footer .footer-socials .social-link svg path,
.site-footer .footer-socials .social-link svg rect,
.site-footer .footer-socials .social-link svg circle{
  color:#fff!important;
  fill:#fff!important;
  stroke:#fff!important;
}
.site-footer .footer-socials .social-link.x svg path{
  fill:none!important;
  stroke:#fff!important;
}
.site-footer .footer-socials .social-link.linkedin svg path,
.site-footer .footer-socials .social-link.linkedin svg rect,
.site-footer .footer-socials .social-link.linkedin svg circle{
  fill:#fff!important;
  stroke:#fff!important;
}
.born-to-create{
  display:inline-flex;
  align-items:baseline;
  gap:.18em;
  font-weight:500;
}
.born-to-create em{
  font-style:italic;
  font-weight:700;
}
.born-to-create span{
  font-style:normal;
  font-weight:700;
}
.born-to-create strong{
  font-weight:800;
}

/* V5: supplied background image for Home */
.home{background-color:#fff;}

/* V6: supplied social media artwork + supplied steering wheel */
.header-socials .social-link,
.footer-socials .social-link{
  width:18px;
  height:18px;
  padding:0;
}
.header-socials .social-link img,
.footer-socials .social-link img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.site-footer .footer-socials .social-link img{
  filter:brightness(0) invert(1);
}
.social-list .social-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  flex:0 0 18px;
}
.social-list .social-icon img{
  width:18px;
  height:18px;
  display:block;
  object-fit:contain;
}
.home-wheel-wrap{
  width:min(76vw,1000px);
}
.home-wheel{
  width:100%;
  height:auto;
  display:block;
}
/* Exact hit areas for supplied volante(3).png */
.wheel-about{
  left:21.8%;
  top:46.8%;
  width:12.2%;
  aspect-ratio:1;
}
.wheel-projects{
  right:15.8%;
  top:46.8%;
  width:12.2%;
  aspect-ratio:1;
}
.wheel-contact{
  left:43.9%;
  top:76.8%;
  width:12.2%;
  aspect-ratio:1;
}


/* =========================================================
   HOME — PHYSICAL STEERING-WHEEL CONTROLS
   ========================================================= */

.home{
  background:#fff !important;
}

.home-wheel-wrap{
  position:absolute;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  width:min(68vw,920px);
  z-index:2;
  will-change:transform;
}

.home-wheel{
  width:100%;
  height:auto;
  display:block;
  user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
  transition:filter .35s ease;
}

.home-wheel-wrap:hover .home-wheel{
  filter:contrast(1.03);
}

/* Screen in the wheel image */
.wheel-screen{
  position:absolute;
  left:31.7%;
  top:10.5%;
  width:36.9%;
  height:39.8%;

  display:flex;
  align-items:center;
  justify-content:center;

  color:#fff;
  background:transparent;

  font-family:"Clash Display",Arial,sans-serif;
  font-size:clamp(13px,1.35vw,20px);
  font-weight:700;
  letter-spacing:-.02em;
  text-transform:uppercase;

  text-align:center;
  pointer-events:none;
  z-index:6;

  transition:
    opacity .16s ease,
    transform .16s ease;
}

/* Physical buttons placed over the photographic labels */
.wheel-button{
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;

  width:12.5%;
  aspect-ratio:1;
  border-radius:50%;

  color:#fff;
  background:
    radial-gradient(circle at 35% 28%,
      #3c3c3c 0%,
      #151515 24%,
      #050505 58%,
      #000 100%);

  border:1px solid rgba(255,255,255,.75);

  box-shadow:
    0 0 0 2px rgba(0,0,0,.9),
    0 2px 3px rgba(0,0,0,.9),
    inset 0 1px 2px rgba(255,255,255,.22),
    inset 0 -5px 8px rgba(0,0,0,.9);

  font-family:"Clash Display",Arial,sans-serif;
  font-size:clamp(8px,.9vw,14px);
  font-weight:700;
  letter-spacing:-.02em;

  text-decoration:none;
  cursor:pointer;
  z-index:8;

  transition:
    transform .16s cubic-bezier(.2,.8,.2,1),
    box-shadow .16s ease,
    border-color .16s ease,
    background .16s ease;
}

/* Exact hit areas for the latest supplied volante(6).png */
.wheel-button{
  width:12.8%;
}

.wheel-about{
  left:21.8%;
  top:45.5%;
}

.wheel-projects{
  right:20.5%;
  top:45.5%;
}

.wheel-contact{
  left:43.6%;
  top:72.0%;
}

.wheel-button:hover,
.wheel-button.is-active{
  transform:scale(1.045);
  border-color:#fff;

  box-shadow:
    0 0 0 2px rgba(0,0,0,.95),
    0 4px 8px rgba(0,0,0,.9),
    0 0 15px rgba(255,255,255,.12),
    inset 0 1px 3px rgba(255,255,255,.3),
    inset 0 -5px 8px rgba(0,0,0,.9);
}

.wheel-button:active{
  transform:scale(.96);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.95),
    inset 0 3px 7px rgba(0,0,0,.95);
}

/* Keep the small side instruction synced with the wheel */
.home-copy-right{
  text-transform:uppercase;
}

/* Social image logos */
.social-link img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

/* Footer: supplied logos are black, make every footer logo white */
.site-footer .social-link img{
  filter:brightness(0) invert(1);
}

/* Contact uses the exact same supplied logos */
.social-list .social-icon{
  width:18px;
  height:18px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

.social-list .social-icon img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}

@media(max-width:768px){

  .home-wheel-wrap{
    width:min(94vw,720px);
  }

  .wheel-screen{
    font-size:clamp(11px,2.4vw,17px);
  }

  .wheel-button{
    font-size:clamp(7px,1.8vw,11px);
  }

  .wheel-about{
    left:21.8%;
    top:45.5%;
  }

  .wheel-projects{
    right:20.5%;
    top:45.5%;
  }

  .wheel-contact{
    left:43.6%;
    top:72.0%;
  }

}

/* Social logos: supplied transparent artwork, no square backgrounds */
.header-socials .social-link img,
.footer-socials .social-link img,
.social-list .social-icon img {
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  background:transparent !important;
  border:0 !important;
  box-shadow:none !important;
}
.header-socials .social-link,
.footer-socials .social-link {
  background:transparent !important;
}


/* V13 — Home typography: slightly larger, still restrained */
.home-copy-left{
  width:180px;
  font-size:12px;
  line-height:1.32;
  font-weight:500;
}

.home-copy-right{
  width:110px;
  font-size:11px;
  line-height:1.3;
}


/* V14 — new supplied steering wheel + Home vertical scroll/footer */
.home{
  overflow:visible;
  min-height:calc(100vh - 78px);
}

/* The new supplied artwork already contains the three red button targets.
   Keep the labels clickable without painting black circles over them. */
.home .wheel-button{
  background:transparent;
  border:0;
  box-shadow:none;
  color:#fff;
  text-shadow:0 1px 2px rgba(0,0,0,.8);
}
.home .wheel-button:hover,
.home .wheel-button.is-active{
  background:transparent;
  border:0;
  box-shadow:none;
  transform:scale(1.045);
}
.home .wheel-button:active{
  background:transparent;
  border:0;
  box-shadow:none;
}

/* Exact target areas for the uploaded volante(8).png */
.home .wheel-about{
  left:22.0%;
  top:45.8%;
  width:12.0%;
}
.home .wheel-projects{
  right:21.0%;
  top:45.8%;
  width:12.0%;
}
.home .wheel-contact{
  left:44.0%;
  top:69.7%;
  width:12.0%;
}

@media (max-width:650px){
  .home{
    overflow-x:clip;
    overflow-y:visible;
  }
}


/* V15 — physical black buttons fully covering the red areas */
.home .wheel-button{
  display:flex;
  align-items:center;
  justify-content:center;
  width:12.8%;
  aspect-ratio:1;
  border-radius:50%;
  color:#fff;
  background:
    radial-gradient(circle at 35% 28%,
      #3c3c3c 0%,
      #151515 24%,
      #050505 58%,
      #000 100%);
  border:1px solid rgba(255,255,255,.75);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.9),
    0 2px 4px rgba(0,0,0,.95),
    inset 0 1px 2px rgba(255,255,255,.22),
    inset 0 -5px 8px rgba(0,0,0,.9);
  text-shadow:0 1px 2px rgba(0,0,0,.9);
  font-family:"Clash Display",Arial,sans-serif;
  font-size:clamp(8px,.9vw,14px);
  font-weight:700;
  letter-spacing:-.02em;
  text-decoration:none;
  cursor:pointer;
  z-index:8;
  transition:
    transform .16s cubic-bezier(.2,.8,.2,1),
    box-shadow .16s ease,
    border-color .16s ease;
}

.home .wheel-button:hover,
.home .wheel-button.is-active{
  background:
    radial-gradient(circle at 35% 28%,
      #4a4a4a 0%,
      #181818 24%,
      #050505 58%,
      #000 100%);
  border-color:#fff;
  box-shadow:
    0 0 0 2px rgba(0,0,0,.95),
    0 4px 8px rgba(0,0,0,.95),
    0 0 15px rgba(255,255,255,.10),
    inset 0 1px 3px rgba(255,255,255,.3),
    inset 0 -5px 8px rgba(0,0,0,.9);
  transform:scale(1.045);
}

.home .wheel-button:active{
  transform:scale(.96);
  box-shadow:
    0 0 0 2px rgba(0,0,0,.95),
    inset 0 3px 7px rgba(0,0,0,.95);
}

/* Center the physical buttons exactly over the three red placeholders */
.home .wheel-about{
  left:21.8%;
  top:45.6%;
}
.home .wheel-projects{
  right:20.4%;
  top:45.6%;
}
.home .wheel-contact{
  left:43.6%;
  top:69.9%;
}


/* V16 — Contact footer follows the same vertical rhythm as the other pages */
.contact-page{
  min-height:calc(100vh - 78px);
  padding-bottom:28px;
}


/* V17 — Larger interface typography */
.main-nav{font-size:12px}
.header-socials{font-size:11px}
.projects-filter{font-size:12px}
.social-list{font-size:12px}
.field label{font-size:9px}
.submit{font-size:10px}
.project-cat{font-size:10px}


/* V19 — richer Contact introduction */
.contact-copy p{
  margin:0 0 18px;
}
.contact-copy p:last-child{
  margin-bottom:0;
}
.contact-copy .contact-note{
  margin-top:28px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-weight:600;
}


/* V20 — richer Home introduction */
.home-copy-left{
  max-width:220px;
}

.home-intro{
  margin-top:26px;
  padding-top:18px;
  border-top:1px solid var(--line);
  font-size:11px;
  line-height:1.45;
  font-weight:400;
  max-width:205px;
}

@media (max-width:900px){
  .home-intro{
    display:none;
  }
}


/* V21 — larger steering wheel display text */
.home .wheel-screen{
  font-size:clamp(17px,1.75vw,26px);
  font-weight:700;
  letter-spacing:-.02em;
}


/* V23 — static steering wheel; only physical controls move */
.home-wheel-wrap{
  will-change:auto;
}

.home .wheel-button{
  transition:
    transform .14s ease,
    box-shadow .14s ease,
    border-color .14s ease;
}

.home .wheel-button:hover,
.home .wheel-button.is-active{
  transform:translateY(2px) scale(1.02);
}

.home .wheel-button:active{
  transform:translateY(4px) scale(.98);
}

/* V26 — simultaneous linear typewriter animation */
.typing-title .typing-line{
  display:inline-block;
  white-space:nowrap;
  position:relative;
}

.typing-title .typing-char{
  display:inline-block;
  opacity:0;
}

.typing-title.is-typing .typing-char{
  animation:typing-character .065s steps(1,end) forwards;
}

.typing-title .typing-caret{
  display:inline-block;
  width:2px;
  height:.82em;
  margin-left:3px;
  vertical-align:-.08em;
  background:currentColor;
  opacity:1;
  animation:typing-caret-blink .7s steps(1,end) infinite;
}

.typing-title.is-complete .typing-caret{
  opacity:0;
  animation:none;
}

@keyframes typing-character{
  from{opacity:0}
  to{opacity:1}
}

@keyframes typing-caret-blink{
  0%,49%{opacity:1}
  50%,100%{opacity:0}
}

/* V27 — sequential typewriter across the complete title */
.typing-title .typing-line{display:inline-block;white-space:nowrap}
.typing-title .typing-char{display:inline-block;opacity:0}
.typing-title.is-typing .typing-char{
  animation:typing-character .065s steps(1,end) forwards;
}
.typing-title .typing-caret{
  display:inline-block;width:2px;height:.82em;margin-left:3px;
  vertical-align:-.08em;background:currentColor;
  opacity:1;animation:typing-caret-blink .7s steps(1,end) infinite;
}
.typing-title.is-complete .typing-caret{opacity:0;animation:none}
@keyframes typing-character{from{opacity:0}to{opacity:1}}
@keyframes typing-caret-blink{0%,49%{opacity:1}50%,100%{opacity:0}}


/* V28 — Home motion + BORN TO CREATE */
.home-wheel-wrap{
  opacity:0;
  transform:translate(-50%,-47%) scale(.965);
  transition:
    opacity .75s ease,
    transform 1.05s cubic-bezier(.16,1,.3,1);
}

.home .wheel-button{
  opacity:0;
  transform:translateY(16px) scale(.96);
  transition:
    opacity .45s ease,
    transform .45s cubic-bezier(.16,1,.3,1),
    box-shadow .14s ease,
    border-color .14s ease;
}

.home-entered .home-wheel-wrap{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}

.home-entered .wheel-about{
  opacity:1;
  transform:translateY(0) scale(1);
  transition-delay:.35s;
}
.home-entered .wheel-projects{
  opacity:1;
  transform:translateY(0) scale(1);
  transition-delay:.47s;
}
.home-entered .wheel-contact{
  opacity:1;
  transform:translateY(0) scale(1);
  transition-delay:.59s;
}

.home-copy-left,
.home-copy-right{
  transition:
    opacity .7s ease,
    transform .8s cubic-bezier(.16,1,.3,1);
}
.home-copy-left{opacity:0;transform:translateX(-18px)}
.home-copy-right{opacity:0;transform:translateX(18px)}
.home-entered .home-copy-left,
.home-entered .home-copy-right{
  opacity:1;
  transform:translateX(0);
}
.home-entered .home-copy-right{transition-delay:.18s}

.home-born{
  margin-top:26px;
  font-size:12px;
  line-height:1.2;
  font-weight:600;
  text-transform:uppercase;
  font-style:italic;
  max-width:205px;
}
.home-born .typing-char{
  display:inline-block;
  opacity:0;
}
.home-born.is-typing .typing-char{
  animation:typing-character .06s steps(1,end) forwards;
}
.home-born .typing-caret{
  display:inline-block;
  width:2px;
  height:.9em;
  margin-left:3px;
  vertical-align:-.08em;
  background:currentColor;
  animation:typing-caret-blink .7s steps(1,end) infinite;
}
.home-born.is-complete .typing-caret{
  opacity:0;
  animation:none;
}

@media (max-width:900px){
  .home-born{display:none}
}

@media (prefers-reduced-motion:reduce){
  .home-wheel-wrap,
  .home-copy-left,
  .home-copy-right,
  .home .wheel-button{
    opacity:1 !important;
    transform:none !important;
    transition:none !important;
  }
}


/* V29 — guaranteed persistent sequential typewriter */
.typing-title .typing-char{
  opacity:0;
  transition:none;
}
.typing-title.is-typing .typing-char{
  animation:none !important;
}
.typing-title.is-complete .typing-char{
  opacity:1 !important;
}
.typing-title .typing-caret{
  pointer-events:none;
}

/* Large BORN TO CREATE behind the wheel */
.home-born-bg{
  position:absolute;
  left:50%;
  top:7%;
  transform:translateX(-50%);
  z-index:1;
  width:100%;
  text-align:center;
  font-size:clamp(58px,10.5vw,168px);
  line-height:.82;
  letter-spacing:-.055em;
  word-spacing:.045em;
  font-weight:800;
  white-space:nowrap;
  color:#111;
  pointer-events:none;
  user-select:none;
  opacity:0;
  transition:
    opacity .8s ease,
    transform 1s cubic-bezier(.16,1,.3,1);
}
.home-entered .home-born-bg{
  opacity:.075;
  transform:translateX(-50%) translateY(-4px);
}
.home-wheel-wrap{z-index:2}

@media (max-width:900px){
  .home-born-bg{
    top:14%;
    font-size:clamp(44px,13vw,100px);
  }
}
@media (prefers-reduced-motion:reduce){
  .home-born-bg{
    opacity:.075 !important;
    transform:translateX(-50%) !important;
    transition:none !important;
  }
}

.footer-email{
  white-space:nowrap;
}
.footer-email a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* V34 — Contact form status */
.contact-form .form-status{
  font-size:11px;
  line-height:1.4;
  margin-bottom:18px;
}


/* V36 — required contact fields + success check */
.required-mark{
  display:inline-block;
  margin-left:2px;
  font-weight:700;
}
.form-success{
  display:flex;
  align-items:center;
  gap:8px;
}
.success-check{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#22a447;
  color:#fff;
  font-size:11px;
  line-height:1;
  font-weight:800;
}
.contact-form input:invalid:not(:placeholder-shown),
.contact-form textarea:invalid:not(:placeholder-shown){
  border-color:#b00020;
}


/* V37 — Contact error feedback */
.form-error{
  display:flex;
  align-items:center;
  gap:8px;
}
.error-cross{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:17px;
  height:17px;
  border-radius:50%;
  background:#b00020;
  color:#fff;
  font-size:14px;
  line-height:1;
  font-weight:700;
}


/* V38 — restrained emphasis in About copy */
.about-highlight{
  font-weight:600;
}


/* V40 — date and Spanish time below the steering wheel display */
.wheel-datetime{
  margin-top:8px;
  text-align:center;
  font-size:10px;
  line-height:1;
  letter-spacing:.03em;
  font-weight:600;
  white-space:nowrap;
  pointer-events:none;
}


/* V41 — date/time is part of the steering-wheel display */
.wheel-screen .wheel-datetime{
  display:block;
  margin-top:8px;
  color:#fff;
  text-align:center;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.03em;
  font-weight:600;
  white-space:nowrap;
  pointer-events:none;
}

/* V42 — date/time outside the wheel screen, black */
.wheel-datetime{
  display:block;
  color:#000 !important;
  text-align:center;
  margin-top:8px;
  font-size:10px;
  line-height:1.2;
  letter-spacing:.03em;
  font-weight:600;
  white-space:nowrap;
  pointer-events:none;
}



/* V43 — Subtle navbar hover animation on inner pages only.
   Home is intentionally excluded. */
body:not(.home) .site-header nav a,
body:not(.home) .navbar a,
body:not(.home) header nav a{
  display:inline-block;
  transition: transform .22s ease, opacity .22s ease;
}

body:not(.home) .site-header nav a:hover,
body:not(.home) .navbar a:hover,
body:not(.home) header nav a:hover{
  transform: translateY(-2px);
  opacity:.72;
}


/* V46 — Contact emphasis uses the exact same weight as About highlights */
.page-content strong,
.contact-content strong,
.contact-copy strong{
  font-weight:600;
}


/* V46 — same emphasis weight across About and Contact */
.about-highlight{
  font-weight:600 !important;
}

/* V47b — real uploaded client logos */
.clients-track{
  display:flex;
  align-items:center;
  gap:clamp(38px,5vw,80px);
  width:max-content;
}
.client-logo{
  width:clamp(100px,9vw,145px);
  height:54px;
  flex:0 0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
}
.client-logo img{
  display:block;
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
}

/* V48 — Client logos: visual weight + no direct image interaction */
.clients-track{
  user-select:none;
  -webkit-user-select:none;
}
.client-logo,
.client-logo img{
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
}
.client-logo img{
  pointer-events:none;
  cursor:default;
}

/* V49 — Home wheel buttons: restore aligned physical placement */
.home .wheel-button{
  transform: translateY(-6px);
}
.home .wheel-button:hover{
  transform: translateY(-6px) scale(1.01);
}

/* V50 — Mobile Home: keep BORN TO CREATE close to the wheel */
@media (max-width: 767px){
  .home-born-bg{
    line-height:.82;
    max-width:90vw;
    text-align:center;
    white-space:normal;
  }
  .home-born-bg{
    font-size:clamp(52px, 15vw, 92px);
  }
  .home-born-bg::first-line{
    /* visual line break handled by mobile markup below */
  }
}

@media (min-width: 768px){
  .home-born-bg .born-mobile-line{display:inline;}
  .home-born-bg .born-mobile-line + .born-mobile-line::before{content:" "; white-space:pre;}
}
@media (max-width: 767px){
  .home-born-bg .born-mobile-line{
    display:block;
    white-space:nowrap;
  }
}


/* V51 — Mobile/tablet inner-page header
   Logo centered on top, navigation underneath.
   Desktop remains completely unchanged. */
@media (max-width: 1023px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:flex-start;
    gap:14px;
    text-align:center;
  }

  body:not(.home) .site-header .site-logo,
  body:not(.home) .site-header .logo,
  body:not(.home) .site-header .custom-logo-link,
  body:not(.home) header.site-header .site-logo,
  body:not(.home) header.site-header .logo,
  body:not(.home) header.site-header .custom-logo-link{
    align-self:center;
    margin-left:auto;
    margin-right:auto;
  }

  body:not(.home) .site-header nav,
  body:not(.home) header.site-header nav,
  body:not(.home) .navbar{
    width:100%;
    display:flex;
    justify-content:center;
    align-items:center;
  }

  body:not(.home) .site-header nav ul,
  body:not(.home) header.site-header nav ul,
  body:not(.home) .navbar ul{
    justify-content:center;
    align-items:center;
    flex-wrap:wrap;
    margin:0 auto;
  }
}


/* V52 — Mobile/tablet header breathing room */
@media (max-width: 1023px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    padding-top:22px;
  }
}


/* V53 — Mobile/tablet inner-page header spacing */
@media (max-width: 1023px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    gap:22px;
  }

  body:not(.home) .site-header nav,
  body:not(.home) header.site-header nav,
  body:not(.home) .navbar{
    margin-top:2px;
    margin-bottom:8px;
  }

  body:not(.home) .page-shell,
  body:not(.home) main.page-shell{
    padding-top:18px;
  }
}


/* V54 — Mobile/tablet: clear vertical hierarchy */
@media (max-width: 1023px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    gap:30px;
  }

  body:not(.home) .site-header nav,
  body:not(.home) header.site-header nav,
  body:not(.home) .navbar{
    margin-top:8px;
    margin-bottom:20px;
  }

  body:not(.home) .page-shell,
  body:not(.home) main.page-shell{
    padding-top:28px;
  }

  body:not(.home) .page-title{
    margin-top:0;
  }
}


/* V55 — Fix mobile/tablet header flow so the title starts AFTER the navbar.
   The previous fixed header height caused the nav to visually overflow into the title. */
@media (max-width:1023px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    height:auto !important;
    min-height:0;
    padding-top:22px;
    padding-bottom:22px;
    gap:30px;
    overflow:visible;
  }

  body:not(.home) .site-header nav,
  body:not(.home) header.site-header nav,
  body:not(.home) .main-nav{
    margin-top:0;
    margin-bottom:0;
  }

  body:not(.home) .page-shell,
  body:not(.home) main.page-shell{
    padding-top:28px;
  }

  body:not(.home) .page-title{
    margin-top:0;
  }
}

/* V56 — About: BORN TO light italic / CREATE. bold */
.about-intro .born-to-create em{
  font-style:italic !important;
  font-weight:300 !important;
}
.about-intro .born-to-create strong{
  font-weight:700 !important;
}

/* V57 — Separate closing slogan from the paragraph above */
.about-intro .born-to-create{
  display:block !important;
  margin-top:14px;
}

/* V58 — Mobile/tablet date & time lower in the viewport.
   Desktop remains exactly as before. */
@media (max-width:1023px){
  .wheel-datetime{
    transform: translateY(38px);
  }
}


/* V60 — Home logo centered ONLY on mobile/tablet.
   Desktop keeps the original left-aligned position. */
@media (max-width:1023px){
  body.home .site-header,
  body.home header.site-header{
    justify-content:center;
  }

  body.home .site-header .site-logo,
  body.home .site-header .logo,
  body.home .site-header .custom-logo-link,
  body.home header.site-header .site-logo,
  body.home header.site-header .logo,
  body.home header.site-header .custom-logo-link{
    margin-left:auto !important;
    margin-right:auto !important;
    align-self:center !important;
    left:auto !important;
    right:auto !important;
  }
}


/* V77 — Tablet/iPad inner-page header: logo left, socials right, nav below */
@media (min-width:651px) and (max-width:1023px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    display:grid;
    grid-template-columns:1fr auto;
    grid-template-areas:
      "brand socials"
      "nav nav";
    align-items:center;
    justify-content:initial;
    row-gap:24px;
    column-gap:20px;
    padding-top:22px;
    padding-bottom:22px;
  }

  body:not(.home) .site-header .brand,
  body:not(.home) header.site-header .brand{
    grid-area:brand;
    justify-self:start;
  }

  body:not(.home) .site-header .header-socials,
  body:not(.home) header.site-header .header-socials{
    grid-area:socials;
    justify-self:end;
  }

  body:not(.home) .site-header .main-nav,
  body:not(.home) header.site-header .main-nav{
    grid-area:nav;
    justify-self:center;
    margin:0;
  }
}


/* V78 — iPad/tablet PORTRAIT inner-page header */
@media (orientation:portrait) and (min-width:651px) and (max-width:1200px){
  body:not(.home) .site-header,
  body:not(.home) header.site-header{
    display:grid !important;
    grid-template-columns:1fr auto !important;
    grid-template-areas:
      "brand socials"
      "nav nav";
    align-items:center !important;
    justify-content:initial !important;
    row-gap:24px !important;
    column-gap:20px !important;
    padding-top:22px !important;
    padding-bottom:22px !important;
  }

  body:not(.home) .site-header .brand,
  body:not(.home) header.site-header .brand{
    grid-area:brand !important;
    justify-self:start !important;
    margin-left:0 !important;
    margin-right:0 !important;
    align-self:center !important;
  }

  body:not(.home) .site-header .header-socials,
  body:not(.home) header.site-header .header-socials{
    grid-area:socials !important;
    justify-self:end !important;
    margin-left:0 !important;
    margin-right:0 !important;
  }

  body:not(.home) .site-header .main-nav,
  body:not(.home) header.site-header .main-nav{
    grid-area:nav !important;
    justify-self:center !important;
    width:auto !important;
    margin:0 !important;
  }
}


/* V79 — Home iPad/tablet portrait header: logo and socials at opposite edges */
@media (orientation:portrait) and (min-width:651px) and (max-width:1200px){
  body.home .site-header,
  body.home header.site-header{
    display:flex !important;
    flex-direction:row !important;
    align-items:center !important;
    justify-content:space-between !important;
    width:100% !important;
    box-sizing:border-box !important;
    padding-left:28px !important;
    padding-right:28px !important;
    gap:20px !important;
  }

  body.home .site-header .brand,
  body.home header.site-header .brand{
    margin-left:0 !important;
    margin-right:0 !important;
    align-self:center !important;
    flex:0 0 auto !important;
  }

  body.home .site-header .header-socials,
  body.home header.site-header .header-socials{
    margin-left:auto !important;
    margin-right:0 !important;
    flex:0 0 auto !important;
    justify-content:flex-end !important;
  }
}


/* V80 — Prevent visual image dragging/selection */
img{
  -webkit-user-drag:none;
  user-select:none;
  -webkit-user-select:none;
}





/* V83 — About / Focus Areas: desktop original, responsive only below 900px */
@media (max-width:900px){
  .focus{
    grid-column:1/-1 !important;
    display:grid !important;
    grid-template-columns:1fr 1fr !important;
    gap:0 !important;
    align-items:stretch !important;
    margin-top:20px !important;
    padding-top:16px !important;
  }

  .focus .about-label{
    grid-column:1/-1 !important;
    display:block !important;
    margin:0 0 16px !important;
    padding:0 !important;
  }

  .focus span{
    display:flex !important;
    align-items:center !important;
    min-height:42px !important;
    margin:0 !important;
    padding:10px 14px !important;
    font-size:11px !important;
    line-height:1.15 !important;
    border-right:0 !important;
    border-bottom:1px solid #bbb !important;
  }

  .focus span:nth-of-type(odd){
    border-right:1px solid #bbb !important;
  }

  .focus span:nth-last-child(-n+2){
    border-bottom:0 !important;
  }
}

@media (max-width:650px){
  .focus{
    grid-template-columns:1fr 1fr !important;
  }

  .focus span{
    min-height:38px !important;
    padding:9px 10px !important;
    font-size:10px !important;
  }
}


/* V85 — Focus Areas desktop: clear vertical breathing room */
@media (min-width:901px){
  .focus{
    padding:30px 0 32px !important;
    align-items:center !important;
    border-bottom:1px solid var(--line) !important;
    box-sizing:border-box !important;
  }

  .focus .about-label{
    font-size:16px !important;
    line-height:1 !important;
    margin-right:22px !important;
    white-space:nowrap !important;
  }

  .focus span{
    font-size:13px !important;
    line-height:1.1 !important;
    padding:0 18px !important;
    white-space:nowrap !important;
  }

  .focus span:first-of-type{
    padding-left:0 !important;
  }

  .focus span:last-of-type{
    border-right:0 !important;
  }

  .clients{
    margin-top:0 !important;
    border-top:0 !important;
  }
}






/* V100 — About accordions: native details + smooth CSS animation */
.about-details{
  width:100%;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7vw;
  margin:70px 0;
}
.about-accordion{
  border-top:1px solid #000;
}
.about-accordion summary{
  list-style:none;
  width:100%;
  box-sizing:border-box;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:24px 0;
  cursor:pointer;
  user-select:none;
  font-size:16px;
  line-height:1;
  font-weight:700;
  letter-spacing:.01em;
}
.about-accordion summary::-webkit-details-marker{display:none;}
.about-accordion summary::marker{display:none;}
.about-accordion-icon{
  font-size:22px;
  line-height:.8;
  font-weight:400;
  transition:transform .35s ease;
}
.about-accordion[open] .about-accordion-icon{
  transform:rotate(45deg);
}
.about-accordion-body{
  display:grid;
  grid-template-rows:0fr;
  opacity:0;
  transition:grid-template-rows .5s cubic-bezier(.2,.7,.2,1),opacity .3s ease;
}
.about-accordion[open] .about-accordion-body{
  grid-template-rows:1fr;
  opacity:1;
}
.about-accordion-content{
  min-height:0;
  overflow:hidden;
  padding:0;
  display:flex;
  flex-direction:column;
  gap:20px;
}
.about-accordion[open] .about-accordion-content{
  padding:4px 0 30px;
}
.about-accordion-content p{
  margin:0;
  font-size:13px;
  line-height:1.4;
}
.about-accordion-content strong{font-weight:700;}
.about-accordion-content a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:3px;
}

/* Clients: five visible entries + independent internal scroll */
.about-clients-body{
  max-height:0;
}
.about-accordion[open] .about-clients-body{
  display:block;
  max-height:390px;
  overflow-y:auto;
  overflow-x:hidden;
  scrollbar-width:thin;
  scrollbar-color:#000 transparent;
}
.about-clients-body::-webkit-scrollbar{width:4px;}
.about-clients-body::-webkit-scrollbar-track{background:transparent;}
.about-clients-body::-webkit-scrollbar-thumb{background:#000;}
.about-clients-body .about-accordion-content{
  min-height:auto;
  overflow:visible;
  padding-right:18px;
}

@media(max-width:900px){
  .about-details{
    grid-template-columns:1fr 1fr;
    gap:30px;
    margin:55px 0;
  }
  .about-accordion summary{
    font-size:14px;
    padding:20px 0;
  }
  .about-accordion-content{
    gap:17px;
  }
  .about-accordion-content p{font-size:12px;}
  .about-clients-body{
    max-height:0;
  }
  .about-accordion[open] .about-clients-body{
    display:block;
    max-height:340px;
    overflow-y:auto;
    overflow-x:hidden;
  }
}
@media(max-width:600px){
  .about-details{
    grid-template-columns:1fr;
    gap:20px;
    margin:45px 0;
  }
}

/* V102 — keep Clients scrollbar visibly present */
.about-accordion[open] .about-clients-body{
  overflow-y:scroll !important;
  scrollbar-width:auto;
  scrollbar-color:#000 #fff;
  scrollbar-gutter:stable;
}
.about-clients-body::-webkit-scrollbar{
  width:8px;
}
.about-clients-body::-webkit-scrollbar-track{
  background:#eee;
}
.about-clients-body::-webkit-scrollbar-thumb{
  background:#000;
  border-radius:0;
}

/* V106 — BORN TO CREATE italic: one weight heavier */
.about-intro .born-to-create em{
  font-weight:400 !important;
}

/* V115 — TOOLS image */
.tools-col{
  min-width:0;
}
.tools-image-wrap{
  width:100%;
  max-width:100%;
  margin-top:2px;
  user-select:none;
  -webkit-user-select:none;
  -webkit-touch-callout:none;
  -webkit-tap-highlight-color:transparent;
  overflow:hidden;
  line-height:0;
}
.tools-image{
  display:block;
  width:100%;
  height:auto;
  max-width:100%;
  user-select:none;
  -webkit-user-select:none;
  -webkit-user-drag:none;
  pointer-events:none;
  object-fit:contain;
}

/* V118 — About reveal: soft tools fade + sequential skill dots */
.about-page-ready .skills-col .skill-row .dot{
  opacity:0;
  transform:scale(.55);
}
.about-page-ready .skills-col .skill-row .dot.skill-dot-visible{
  animation:skillDotIn .28s ease-out forwards;
}
@keyframes skillDotIn{
  from{opacity:0;transform:scale(.55)}
  to{opacity:1;transform:scale(1)}
}

/* V125 — responsive physical contact button + longer About tools reveal */
.home-wheel-wrap{
  --wheel-size:min(68vw,920px);
  width:var(--wheel-size);
}
.home .wheel-button{
  width:calc(var(--wheel-size) * .128);
  height:calc(var(--wheel-size) * .128);
  aspect-ratio:1 / 1;
  box-sizing:border-box;
}
@media (max-width:900px){
  .home-wheel-wrap{
    --wheel-size:min(82vw,760px);
    width:var(--wheel-size);
  }
}
@media (max-width:768px){
  .home-wheel-wrap{
    --wheel-size:min(94vw,720px);
    width:var(--wheel-size);
  }
}
@media (max-width:650px){
  .home-wheel-wrap{
    --wheel-size:112vw;
    width:var(--wheel-size);
  }
}

/* =========================================================
   V126 — MODERN INITIAL PAGE LOADER
   ========================================================= */
.site-preloader{
  position:fixed;
  inset:0;
  z-index:999999;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  background:#fff;
  color:#111;
  opacity:1;
  visibility:visible;
  transition:opacity .55s cubic-bezier(.16,1,.3,1),visibility .55s ease;
}
.site-preloader.is-hidden{
  opacity:0;
  visibility:hidden;
  pointer-events:none;
}
.site-preloader-inner{
  width:calc(100% - 56px);
  margin-bottom:28px;
}
.site-preloader-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:9px;
  font-family:"Clash Display",Arial,sans-serif;
  font-size:9px;
  line-height:1;
  font-weight:700;
  letter-spacing:.02em;
}
.site-preloader-bar{
  width:100%;
  height:2px;
  background:#e5e5e5;
  overflow:hidden;
}
.site-preloader-bar span{
  display:block;
  width:0;
  height:100%;
  background:#111;
  transform-origin:left center;
  transition:width .18s linear;
}
html.is-loading,
body.is-loading{
  overflow:hidden !important;
}
@media(max-width:650px){
  .site-preloader-inner{
    width:calc(100% - 36px);
    margin-bottom:20px;
  }
  .site-preloader-top{
    font-size:8px;
  }
}
@media(prefers-reduced-motion:reduce){
  .site-preloader{
    transition:none;
  }
  .site-preloader-bar span{
    transition:none;
  }
}


/* V135 — fallback for common related/similar-post containers on project pages */
.single-project .yarpp-related,
.single-project .crp_related,
.single-project .crp_related_posts,
.single-project .jp-relatedposts,
.single-project .related-posts,
.single-project .related-posts-container,
.single-project .related-entries,
.single-project .related-projects,
.single-project .similar-posts,
.single-project .similar-entries,
.single-project .related-content{
  display:none !important;
}
