@font-face{
  font-family:"BostonHeavy";
  src:url("../fonts/Latinotype - Boston Heavy.otf") format("opentype");
  font-weight:800;
  font-style:normal;
  font-display:swap;
}

@font-face{
  font-family:"BostonSemiBold";
  src:url("../fonts/Latinotype - Boston SemiBold.otf") format("opentype");
  font-weight:600;
  font-style:italic;
  font-display:swap;
}

:root{
  --bg:#000;
  --fg:#fff;
  --logo-w:min(78vw,1160px);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}

html,body{
  margin:0;
  min-height:100%;
  background:#000;
  color:#fff;
  font-family:"BostonHeavy",Arial,sans-serif;
}

body{
  overflow-x:hidden;
  overflow-y:auto;
}

::selection{background:#fff;color:#071014}

:focus-visible{
  outline:2px solid #fff;
  outline-offset:6px;
}

.skip-link{
  position:fixed;
  top:18px;
  left:18px;
  z-index:100;
  padding:12px 16px;
  background:#fff;
  color:#050809;
  text-decoration:none;
  font-size:12px;
  letter-spacing:.12em;
  transform:translateY(-160%);
  transition:transform .2s ease;
}

.skip-link:focus{transform:translateY(0)}

.ocean-glow{
  position:fixed;
  inset:0;
  background-image:url("../images/ocean-bg-4k.webp");
  background-size:cover;
  background-position:center center;
  background-repeat:no-repeat;
  opacity:0;
  z-index:0;
  pointer-events:none;
  animation:oceanIn 2s ease 4.8s forwards;
}

.ocean-glow::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.18);
}

.landing{
  position:relative;
  min-height:100svh;
  isolation:isolate;
}

.grain{
  position:fixed;
  inset:0;
  pointer-events:none;
  opacity:.12;
  z-index:2;
  mix-blend-mode:screen;
  background-image:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.08),transparent 22%),
    radial-gradient(circle at 80% 70%,rgba(255,255,255,.05),transparent 24%);
}

.hero{
  position:relative;
  min-height:100svh;
  display:grid;
  place-items:center;
  text-align:center;
  overflow:visible;
  padding:8vw;
  z-index:5;
}

.logo-stage{
  position:relative;
  width:var(--logo-w);
  aspect-ratio:3102 / 375;
  z-index:9;
}

.spiral{
  position:absolute;
  /* Exact center and size of the spiral inside piko-group-logo.png. */
  left:30.866%;
  top:50.4%;
  width:14.179%;
  height:auto;
  transform:translate(-50%,-50%);
  transform-origin:center center;
  opacity:1;
  z-index:10;
  filter:drop-shadow(0 0 42px rgba(255,255,255,.25));
  will-change:transform,opacity;
  animation:spiralLockup 6.4s linear forwards;
}

.wordmark{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  opacity:0;
  z-index:9;
  filter:drop-shadow(0 0 18px rgba(255,255,255,.18));
  animation:wordmarkLockup 6.4s linear forwards;
}

.tagline{
  position:absolute;
  top:calc(50% + clamp(36px,7.5vw,96px));
  left:50%;
  transform:translateX(-50%);
  margin:0;
  font-family:"BostonSemiBold",Arial,sans-serif;
  font-size:clamp(10px,1.2vw,16px);
  letter-spacing:.42em;
  white-space:nowrap;
  color:rgba(255,255,255,.88);
  opacity:0;
  z-index:10;
  animation:taglineIn 1.1s ease 5.9s forwards;
}

.site-nav{
  position:fixed;
  top:34px;
  right:42px;
  z-index:50;
  display:flex;
  gap:42px;
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:12px;
  letter-spacing:.32em;
  opacity:0;
  animation:navIn 1s ease 5.8s forwards;
}

.site-nav a,
.site-nav a:visited{
  color:#fff;
  text-decoration:none;
  position:relative;
  padding-bottom:8px;
}

.site-nav a::after{
  content:"";
  position:absolute;
  left:0;
  right:.32em;
  bottom:0;
  height:1px;
  background:currentColor;
  transform:scaleX(0);
  transform-origin:right;
  transition:transform .25s ease;
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="true"]::after{
  transform:scaleX(1);
  transform-origin:left;
}

.scroll-cue{
  position:fixed;
  bottom:34px;
  left:50%;
  transform:translateX(-50%);
  z-index:50;
  color:#fff;
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:11px;
  letter-spacing:.32em;
  opacity:0;
  animation:navIn 1s ease 5.8s forwards;
  color:#fff;
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:12px;
  transition:opacity .3s ease;
}

.scroll-cue i{
  width:1px;
  height:34px;
  background:linear-gradient(to bottom,#fff,transparent);
  animation:cuePulse 1.8s ease-in-out infinite;
}

.scroll-cue.is-hidden{
  opacity:0 !important;
  pointer-events:none;
}

#about,
#services,
#contact{
  min-height:100svh;
  color:#fff;
  background:#030507;
  font-family:"BostonSemiBold",Arial,sans-serif;
  letter-spacing:.08em;
  position:relative;
  z-index:4;
}

.eyebrow{
  margin:0 0 18px;
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:11px;
  letter-spacing:.42em;
  color:rgba(255,255,255,.55);
}

.section-content{
  max-width:900px;
  margin:0 auto;
  text-align:center;
}

#about{
  display:flex;
  align-items:center;
  justify-content:center;
  padding:160px 40px;
}

#about h2{
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:clamp(42px,7vw,88px);
  letter-spacing:.22em;
  text-align:center;
  margin:0 0 70px 0;
  color:#fff;
}

.about-text{
  font-family:"BostonSemiBold",Arial,sans-serif;
  font-size:clamp(18px,2vw,24px);
  line-height:2;
  color:rgba(255,255,255,.88);
  text-align:center;
  max-width:850px;
  margin:0 auto 30px auto;
}

.about-text:first-of-type{
  font-size:clamp(24px,2.8vw,34px);
  line-height:1.5;
  color:#fff;
  margin-bottom:50px;
  letter-spacing:.03em;
}

#services{
  padding:140px 40px;
}

.services-content{
  max-width:1500px;
  margin:0 auto;
  text-align:center;
}

#services h2{
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:clamp(56px,10vw,140px);
  letter-spacing:.08em;
  margin:0 0 36px;
}

.services-intro{
  font-family:"BostonSemiBold",Arial,sans-serif;
  font-size:clamp(18px,2vw,28px);
  line-height:1.8;
  letter-spacing:.08em;
  color:rgba(255,255,255,.86);
  margin:0 auto 70px;
}

.services-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:18px;
}

.service-card{
  border:1px solid rgba(255,255,255,.28);
  padding:42px 28px;
  min-height:420px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  background:rgba(255,255,255,.012);
  transition:transform .3s ease,border-color .3s ease,background .3s ease;
}

.service-card:hover{
  transform:translateY(-8px);
  border-color:rgba(255,255,255,.65);
  background:rgba(255,255,255,.035);
}

.service-icon-img{
  width:150px;
  height:120px;
  object-fit:contain;
  margin-bottom:36px;
}

.service-card h3{
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:clamp(18px,1.7vw,28px);
  letter-spacing:.16em;
  line-height:1.4;
  margin:0;
}

.service-card span,
.contact-card span{
  display:block;
  width:42px;
  height:1px;
  background:rgba(255,255,255,.45);
  margin:28px 0;
}

.service-card p{
  font-family:"BostonSemiBold",Arial,sans-serif;
  font-size:clamp(15px,1.2vw,21px);
  line-height:1.7;
  color:rgba(255,255,255,.78);
  margin:0;
}

#contact{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:100vh;
  height:auto;
  padding:180px 40px 260px;
  background:#030507;
}

.contact-content{
  max-width:1200px;
  width:100%;
  text-align:center;
}

#contact h2{
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:clamp(48px,7vw,96px);
  letter-spacing:.14em;
  margin:0 0 30px;
}

.contact-intro{
  font-family:"BostonSemiBold",Arial,sans-serif;
  font-size:clamp(20px,2vw,30px);
  line-height:1.8;
  color:rgba(255,255,255,.86);
  margin:0 auto 70px;
}

.contact-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:18px;
}

.contact-card{
  border:1px solid rgba(255,255,255,.28);
  padding:46px 30px;
  min-height:190px;
  text-decoration:none;
  color:#fff;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  transition:background .25s ease,border-color .25s ease,transform .25s ease;
}

.contact-card h3{
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:clamp(20px,2vw,30px);
  letter-spacing:.18em;
  margin:0;
}

.contact-card p{
  font-family:"BostonSemiBold",Arial,sans-serif;
  font-size:clamp(15px,1.3vw,20px);
  line-height:1.6;
  color:rgba(255,255,255,.76);
  margin:0;
}

.contact-card:hover{
  background:rgba(255,255,255,.04);
  border-color:rgba(255,255,255,.65);
  transform:translateY(-5px);
}

.site-footer{
  display:flex;
  justify-content:space-between;
  gap:30px;
  margin-top:110px;
  padding-top:28px;
  border-top:1px solid rgba(255,255,255,.18);
  color:rgba(255,255,255,.48);
  font-family:"BostonHeavy",Arial,sans-serif;
  font-size:10px;
  letter-spacing:.22em;
  text-align:left;
}

.site-footer p{margin:0}

.scroll-fade{
  opacity:0;
  transform:translateY(60px) scale(.96);
  filter:blur(3px);
  will-change:opacity, transform, filter;
}

@keyframes spiralLockup{
  0%{
    left:50%;
    transform:translate(-50%,-50%) scale(8) rotate(0deg);
    opacity:0;
  }

  6%{
    left:50%;
    opacity:1;
  }

  55%{
    left:50%;
    transform:translate(-50%,-50%) scale(1.25) rotate(-540deg);
    opacity:1;
    animation-timing-function:cubic-bezier(.2,.75,.2,1);
  }

  82%{
    left:30.866%;
    transform:translate(-50%,-50%) scale(1) rotate(-720deg);
    opacity:1;
  }

  92%,100%{
    left:30.866%;
    transform:translate(-50%,-50%) scale(1) rotate(-720deg);
    opacity:0;
  }
}

@keyframes wordmarkLockup{
  0%,82%{opacity:0}
  92%,100%{opacity:1}
}

@keyframes taglineIn{
  from{opacity:0;transform:translate(-50%,8px)}
  to{opacity:1;transform:translate(-50%,0)}
}

@keyframes oceanIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes navIn{
  from{opacity:0}
  to{opacity:1}
}

@keyframes cuePulse{
  0%,100%{opacity:.3;transform:scaleY(.65);transform-origin:top}
  50%{opacity:1;transform:scaleY(1);transform-origin:top}
}

@media(max-width:1100px){
  .services-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:800px){
  .contact-grid{
    grid-template-columns:1fr;
  }
}

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

@media(max-width:1024px){
  .ocean-glow{
    background-image:url("../images/ocean-bg-tablet.webp");
  }
}

@media(max-width:600px){
  .ocean-glow{
    background-image:url("../images/ocean-bg-mobile.webp");
  }

  :root{
    --logo-w:88vw;
  }

  .site-nav{
    top:24px;
    right:20px;
    gap:18px;
    font-size:9px;
    letter-spacing:.22em;
    left:20px;
    right:20px;
    justify-content:center;
  }

  .tagline{
    font-size:8px;
    letter-spacing:.28em;
  }

  .hero{
    overflow:hidden;
    padding:24px;
  }

  #about,
  #services,
  #contact{
    padding-left:22px;
    padding-right:22px;
  }

  #about{padding-top:120px;padding-bottom:120px}
  #services{padding-top:110px;padding-bottom:110px}
  #contact{padding-top:120px;padding-bottom:80px}

  #about h2{margin-bottom:48px}
  .about-text{line-height:1.75}
  .services-intro{margin-bottom:46px}

  .service-card{padding:36px 24px}

  .site-footer{
    flex-direction:column;
    align-items:center;
    text-align:center;
    line-height:1.7;
    margin-top:80px;
  }

  .service-card,
  .contact-card{
    min-height:auto;
  }
}
@media(prefers-reduced-motion:reduce){
  .spiral{display:none}

  .wordmark,
  .tagline,
  .ocean-glow,
  .site-nav,
  .scroll-cue{
    animation:none;
    opacity:1;
  }

  html{scroll-behavior:auto}

  .scroll-cue i,
  .service-card,
  .contact-card,
  .site-nav a::after{
    animation:none;
    transition:none;
  }
}
