@font-face {
  font-family: "Rugis";
  src: url("./Rugis.ttf?v=9") format("truetype");
  font-display: swap;
}

@font-face {
  font-family: "Aquatico";
  src: url("./Aquatico-Regular.otf?v=3") format("opentype");
  font-display: swap;
}

@font-face {
  font-family: "Quera";
  src: url("./Quera.otf?v=2") format("opentype");
  font-display: swap;
}


:root {
  --bg: #070707;
  --text: #f5f5f5;
  --muted: #999999;
  --line: rgba(255,255,255,0.15);
  --soft-line: rgba(255,255,255,0.08);
  --glass: rgba(255,255,255,0.065);
  --glass-strong: rgba(255,255,255,0.105);
  --glass-border: rgba(255,255,255,0.15);
  --card-bg: rgba(255,255,255,0.055);
  --header-bg: rgba(7,7,7,0.55);
}


body.light {
  --bg: #eeeeec;
  --text: #111111;
  --muted: #686868;
  --line: rgba(0,0,0,0.15);
  --soft-line: rgba(0,0,0,0.08);
  --glass: rgba(255,255,255,0.48);
  --glass-strong: rgba(255,255,255,0.65);
  --glass-border: rgba(0,0,0,0.12);
  --card-bg: rgba(255,255,255,0.42);
  --header-bg: rgba(238,238,236,0.62);
}


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


html {
  scroll-behavior: smooth;
}


body {
  background: var(--bg);
  color: var(--text);
  font-family: "Quera", Arial, sans-serif;
  overflow-x: hidden;
  cursor: none;
  transition:
    background 0.55s ease,
    color 0.55s ease;
}


body.intro-active {
  overflow: hidden;
}


a {
  color: inherit;
  text-decoration: none;
}


button {
  font: inherit;
}


::selection {
  background: var(--text);
  color: var(--bg);
}


/* INTRO */

.intro {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: #070707;
  color: white;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 42px;
  transition:
    opacity 1.2s cubic-bezier(.77,0,.175,1),
    visibility 1.2s;
}


.intro.exit {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}


.intro-noise {
  position: absolute;
  inset: -50%;
  opacity: 0.055;
  pointer-events: none;
  background-image:
    url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
  animation: noiseMove .25s steps(2) infinite;
}


.intro-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .7;
  pointer-events: none;
}


.orb-one {
  width: 360px;
  height: 360px;
  background: #663cff;
  left: 12%;
  top: 18%;
  animation: orbOne 7s ease-in-out infinite alternate;
}


.orb-two {
  width: 300px;
  height: 300px;
  background: #ff315b;
  right: 12%;
  top: 30%;
  animation: orbTwo 8s ease-in-out infinite alternate;
}


.orb-three {
  width: 240px;
  height: 240px;
  background: #168cff;
  left: 45%;
  bottom: 4%;
  animation: orbThree 6s ease-in-out infinite alternate;
}


.intro-top {
  position: relative;
  z-index: 3;
  display: flex;
  justify-content: space-between;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 9px;
  letter-spacing: .09em;
  text-transform: uppercase;
  opacity: 0;
  animation: fadeIn .8s ease .2s forwards;
}


.intro-stage {
  position: relative;
  z-index: 2;
  height: 62vh;
  display: flex;
  align-items: center;
  justify-content: center;
}


.intro-kicker {
  position: absolute;
  top: 4%;
  left: 0;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .1em;
  opacity: 0;
  animation: fadeIn .8s ease .7s forwards;
}


.intro-statement {
  position: absolute;
  width: 100%;
  text-align: center;
  font-family: "Rugis", Arial, sans-serif;
  font-size: clamp(100px, 17vw, 250px);
  line-height: .7;
  letter-spacing: -.065em;
  opacity: 0;
}


.statement-one {
  animation: statementOne 4.8s cubic-bezier(.77,0,.175,1) .8s both;
}


.statement-two {
  animation: statementTwo 4.8s cubic-bezier(.77,0,.175,1) 1.8s both;
}


.statement-three {
  animation: statementThree 4.8s cubic-bezier(.77,0,.175,1) 2.8s both;
}


.intro-ring {
  position: absolute;
  width: clamp(180px, 24vw, 350px);
  aspect-ratio: 1;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 50%;
  animation: ringSpin 8s linear infinite;
}


.intro-ring::before,
.intro-ring::after {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
}


.intro-ring::after {
  inset: 38%;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}


.intro-glass {
  position: absolute;
  right: 0;
  bottom: 2%;
  padding: 15px 18px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 18px;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  display: flex;
  gap: 20px;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .09em;
}


.intro-bottom {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  opacity: 0;
  animation: fadeIn .8s ease 1.1s forwards;
}


.intro-location,
.intro-skip,
.intro-enter {
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .09em;
}


.intro-enter,
.intro-skip {
  border: 0;
  background: transparent;
  color: white;
  cursor: none;
}


.intro-enter {
  display: flex;
  align-items: center;
  gap: 12px;
}


.intro-enter span:last-child {
  font-family: Arial, sans-serif;
  font-size: 17px;
  transition: transform .35s ease;
}


.intro-enter:hover span:last-child {
  transform: translate(5px,-5px);
}


.intro-skip {
  justify-self: end;
  color: rgba(255,255,255,.55);
  transition: color .3s ease;
}


.intro-skip:hover {
  color: white;
}


.intro-progress {
  position: absolute;
  left: 42px;
  right: 42px;
  bottom: 74px;
  height: 1px;
  background: rgba(255,255,255,.2);
  transform-origin: left;
  animation: progress 5.8s linear forwards;
}


@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}


@keyframes statementOne {
  0% {
    opacity: 0;
    transform: translateY(70px) scale(.92);
  }

  12%,25% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  38%,100% {
    opacity: 0;
    transform: translateY(-70px) scale(1.08);
  }
}


@keyframes statementTwo {
  0%,18% {
    opacity: 0;
    transform: translateY(70px) scale(.92);
  }

  30%,43% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  56%,100% {
    opacity: 0;
    transform: translateY(-70px) scale(1.08);
  }
}


@keyframes statementThree {
  0%,36% {
    opacity: 0;
    transform: translateY(70px) scale(.92);
  }

  48%,64% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  76%,100% {
    opacity: 0;
    transform: translateY(-70px) scale(1.08);
  }
}


@keyframes progress {
  from {
    transform: scaleX(0);
  }

  to {
    transform: scaleX(1);
  }
}


@keyframes ringSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}


@keyframes orbOne {
  from {
    transform: translate(-30px,-20px) scale(.9);
  }

  to {
    transform: translate(100px,80px) scale(1.25);
  }
}


@keyframes orbTwo {
  from {
    transform: translate(30px,30px) scale(1);
  }

  to {
    transform: translate(-100px,-70px) scale(.8);
  }
}


@keyframes orbThree {
  from {
    transform: translate(-60px,20px);
  }

  to {
    transform: translate(80px,-80px);
  }
}


@keyframes noiseMove {
  0% {
    transform: translate(0,0);
  }

  25% {
    transform: translate(3%,-2%);
  }

  50% {
    transform: translate(-2%,3%);
  }

  75% {
    transform: translate(2%,2%);
  }

  100% {
    transform: translate(-3%,-2%);
  }
}


/* CURSOR */

.cursor {
  width: 14px;
  height: 14px;
  border: 1px solid white;
  border-radius: 50%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 11000;
  pointer-events: none;
  transform: translate(-50%,-50%);
  mix-blend-mode: difference;
  transition:
    width .35s ease,
    height .35s ease,
    background .35s ease;
}


.cursor span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  opacity: 0;
}


.cursor.active {
  width: 70px;
  height: 70px;
  background: white;
  color: black;
  mix-blend-mode: normal;
}


.cursor.active span {
  opacity: 1;
}


/* SCROLL */

.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--text);
  z-index: 9998;
}


/* HEADER */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 108px;
  padding: 25px 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 500;
  transition:
    height .4s ease,
    padding .4s ease,
    background .4s ease,
    color .4s ease;
}


.site-header.scrolled {
  height: 78px;
  padding: 17px 42px;
  background: var(--header-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--soft-line);
}


.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}


.portrait-frame {
  width: 43px;
  height: 43px;
  border-radius: 13px;
  overflow: hidden;
  background: #171717;
  border: 1px solid rgba(255,255,255,.2);
  display: flex;
  align-items: center;
  justify-content: center;
}


.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


.portrait-initials {
  display: none;
  font-size: 10px;
}


.portrait-fallback .portrait-initials {
  display: block;
}


.brand-name,
.main-nav a,
.theme-toggle {
  font-family: "Aquatico", Arial, sans-serif;
}


.brand-name {
  font-size: 10px;
  letter-spacing: .07em;
  text-transform: uppercase;
}


.main-nav {
  display: flex;
  gap: 42px;
  margin-left: auto;
  margin-right: 45px;
}


.main-nav a {
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
  position: relative;
}


.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 1px;
  background: currentColor;
  transition: width .3s ease;
}


.main-nav a:hover::after,
.main-nav a.active::after {
  width: 100%;
}


.theme-toggle {
  width: 43px;
  height: 43px;
  border-radius: 50%;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  color: var(--text);
  cursor: none;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    transform .3s ease,
    background .4s ease,
    border-color .4s ease;
}


.theme-toggle:hover {
  transform: rotate(30deg);
}


/* HERO */

.hero {
  min-height: 100svh;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}


.hero-image {
  position: absolute;
  inset: -5%;
  background: url("./hero.jpg?v=9") center / cover no-repeat;
  filter: blur(5px);
  transform: scale(1.07);
}


.hero-colour {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at 25% 40%,
      rgba(96,48,255,.23),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 65%,
      rgba(0,157,255,.15),
      transparent 28%
    );
  mix-blend-mode: screen;
}


.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,.65),
      rgba(0,0,0,.12) 45%,
      rgba(0,0,0,.7)
    );
}


.hero-glass {
  position: absolute;
  top: 135px;
  right: 42px;
  z-index: 3;
}


.glass-pill {
  padding: 13px 17px;
  display: flex;
  gap: 18px;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .08em;
}


.hero-content {
  position: relative;
  z-index: 2;
  width: min(1450px, calc(100% - 84px));
  height: calc(100svh - 120px);
  margin-top: 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.hero-title {
  position: relative;
  text-align: center;
  line-height: .82;
  color: white;
}


.hero-title span {
  display: block;
  font-family: "Rugis", Arial, sans-serif;
  font-size: clamp(82px, 12.8vw, 150px);
  letter-spacing: -.05em;
  white-space: nowrap;
}


.outline-text {
  position: absolute;
  inset: 0;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,.95);
}


.solid-text {
  opacity: 0;
  transform: scale(1.04);
  animation: heroSolid 1.5s cubic-bezier(.77,0,.175,1) .35s forwards;
}


@keyframes heroSolid {

  0% {
    opacity: 0;
    transform: scale(1.04);
  }

  55% {
    opacity: 1;
  }

  100% {
    opacity: 1;
    transform: scale(1);
  }

}


.hero-bottom {
  width: 100%;
  margin-top: 75px;
  display: flex;
  justify-content: center;
  align-items: center;
}


.hero-description {
  max-width: 520px;
  text-align: center;
  font-family: "Quera", Arial, sans-serif;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.3;
  letter-spacing: .025em;
}


.scroll-link {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
}


.scroll-arrow {
  font-family: Arial, sans-serif;
  font-size: 18px;
  transition: transform .3s ease;
}


.scroll-link:hover .scroll-arrow {
  transform: translateY(5px);
}


.hero-corner {
  position: absolute;
  left: 42px;
  bottom: 40px;
  z-index: 3;
  display: flex;
  gap: 18px;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .08em;
}


/* SECTIONS */

.intro-section,
.work-section,
.statement-section,
.about-section,
.contact-section {
  padding: 150px 42px;
  position: relative;
  overflow: hidden;
}

.intro-section::before,
.work-section::before,
.statement-section::before,
.about-section::before,
.contact-section::before {
  content: "";
  position: absolute;
  width: 720px;
  height: 720px;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: -1;
  opacity: .8;
}

.intro-section::before {
  left: -280px;
  top: -260px;
  background: radial-gradient(
    circle,
    rgba(102, 60, 255, .16) 0%,
    rgba(102, 60, 255, 0) 68%
  );
}

.work-section::before {
  right: -300px;
  top: -180px;
  background: radial-gradient(
    circle,
    rgba(22, 140, 255, .13) 0%,
    rgba(22, 140, 255, 0) 68%
  );
}

.statement-section::before {
  left: -260px;
  top: 20%;
  background: radial-gradient(
    circle,
    rgba(190, 65, 255, .12) 0%,
    rgba(190, 65, 255, 0) 68%
  );
}

.about-section::before {
  right: -300px;
  top: 5%;
  background: radial-gradient(
    circle,
    rgba(255, 49, 91, .105) 0%,
    rgba(255, 49, 91, 0) 68%
  );
}

.contact-section::before {
  left: 8%;
  bottom: -430px;
  background: radial-gradient(
    circle,
    rgba(80, 100, 255, .13) 0%,
    rgba(80, 100, 255, 0) 68%
  );
}


.section-label {
  display: flex;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 14px;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}


/* INTRO COPY */

.intro-section {
  min-height: 80vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}


.intro-copy {
  max-width: 900px;
  margin-left: auto;
}


.intro-copy p {
  font-family: "Quera", Arial, sans-serif;
  font-size: clamp(42px, 5vw, 80px);
  line-height: 1.02;
  letter-spacing: .018em;
}


/* WORK */

.work-section {
  padding-top: 80px;
}


.work-heading {
  display: flex;
  justify-content: space-between;
  padding-bottom: 30px;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
}


.projects {
  border-top: 1px solid var(--line);
}


.project {
  min-height: 145px;
  display: grid;
  grid-template-columns: 1fr 100px 40px;
  align-items: center;
  gap: 30px;
  border-bottom: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition:
    padding .5s ease,
    color .45s ease,
    border-color .45s ease;
}


.project::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  opacity: 0;
  transform: scaleX(.96);
  transform-origin: center;
  transition:
    opacity .45s ease,
    transform .55s cubic-bezier(.2,.8,.2,1),
    background .45s ease;
  pointer-events: none;
}


.project > * {
  position: relative;
  z-index: 2;
}


.project-main {
  position: relative;
  z-index: 3;
}


.project-main h2 {
  font-family: "Quera", Arial, sans-serif;
  font-size: clamp(30px, 4vw, 62px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: .012em;
  transition:
    transform .45s ease,
    color .45s ease;
}


.project-main p {
  font-family: "Quera", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: .03em;
  color: var(--muted);
  margin-top: 11px;
  transition: color .45s ease;
}


.project-year {
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  color: var(--muted);
  transition: color .45s ease;
}


.project-arrow {
  font-size: 25px;
  transition: transform .4s ease;
}


.project:hover {
  padding-left: 18px;
  padding-right: 18px;
  border-bottom-color: transparent;
}


.project:hover::before {
  opacity: 1;
  transform: scaleX(1);
}


.project:hover .project-main h2 {
  transform: translateX(10px);
}


.project:hover .project-arrow {
  transform: translate(5px,-5px);
}


.project:hover .project-main p,
.project:hover .project-year {
  color: currentColor;
}


/* PROJECT HOVER COLOURS */

.project[data-project="scooler"]::before {
  background: #063eff;
}

.project[data-project="hexa"]::before {
  background: linear-gradient(110deg, #6333c3 0%, #ff3bbe 100%);
}

.project[data-project="funtimes"]::before {
  background: #00bf63;
}

.project[data-project="ibquake"]::before {
  background: #af3bff;
}

.project[data-project="allegra"]::before {
  background: #fff9be;
}

.project[data-project="modion"]::before {
  background: #ff6166;
}

.project[data-project="weddn"]::before {
  background: #BDE5CC;
}

.project[data-project="isp"]::before {
  background: #22B50C;
}

.project[data-project="cyclone"]::before {
  background: #ae66ff;
}

.project[data-project="tax"]::before {
  background: #8290ff;
}

.project[data-project="opulence"]::before {
  background: #ffa547;
}

.project[data-project="mcsa"]::before {
  background: #ff8a00;
}


/* LIGHT TEXT ON COLOURFUL PROJECTS */

.project[data-project="scooler"]:hover,
.project[data-project="hexa"]:hover,
.project[data-project="funtimes"]:hover,
.project[data-project="ibquake"]:hover,
.project[data-project="modion"]:hover,
.project[data-project="isp"]:hover,
.project[data-project="cyclone"]:hover,
.project[data-project="tax"]:hover,
.project[data-project="opulence"]:hover,
.project[data-project="mcsa"]:hover {
  color: white;
}


/* DARK TEXT ON LIGHT PROJECTS */

.project[data-project="allegra"]:hover,
.project[data-project="weddn"]:hover {
  color: #111111;
}

.project[data-project="allegra"]:hover .project-main p,
.project[data-project="allegra"]:hover .project-year,
.project[data-project="weddn"]:hover .project-main p,
.project[data-project="weddn"]:hover .project-year {
  color: rgba(17,17,17,.65);
}


.project-preview {
  position: absolute;
  width: 330px;
  height: 220px;
  right: 100px;
  top: 50%;
  transform: translateY(-50%) scale(.8) rotate(2deg);
  opacity: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  border-radius: 24px;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  transition:
    opacity .45s ease,
    transform .45s ease;
}


.project-preview::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./hero.jpg?v=9") center / cover;
  opacity: .3;
  filter: grayscale(1);
}


.project:hover .project-preview {
  opacity: 1;
  transform: translateY(-50%) scale(1) rotate(0);
}


.preview-inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 22px;
}


.preview-inner span {
  font-family: "Rugis", Arial, sans-serif;
  font-size: 45px;
}


.preview-inner small {
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}


/* STATEMENT */

.statement-section {
  padding-top: 190px;
}


.statement {
  max-width: 1000px;
  margin: 160px 0 170px auto;
}


.statement p {
  font-family: "Quera", Arial, sans-serif;
  font-size: clamp(55px, 7vw, 115px);
  line-height: .94;
  letter-spacing: .015em;
}


/* SERVICES */

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


.service-card {
  min-height: 350px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-radius: 28px;
  border: 1px solid var(--glass-border);
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.095),
      rgba(255,255,255,.025)
    );
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  transition:
    transform .5s cubic-bezier(.2,.8,.2,1),
    background .5s ease,
    border-color .5s ease;
}


body.light .service-card {
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.62),
      rgba(255,255,255,.3)
    );
}


.service-card:hover {
  transform: translateY(-10px) scale(1.012);
  background:
    linear-gradient(
      135deg,
      rgba(255,255,255,.15),
      rgba(255,255,255,.045)
    );
  border-color: rgba(255,255,255,.3);
}


.service-number {
  position: absolute;
  top: 25px;
  right: 28px;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  color: var(--muted);
}


.service-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: rgba(95,50,255,.3);
  filter: blur(65px);
  right: -100px;
  bottom: -100px;
  opacity: 0;
  transition: opacity .5s ease;
}


.service-card:nth-child(2) .service-glow {
  background: rgba(255,60,110,.28);
}


.service-card:nth-child(3) .service-glow {
  background: rgba(0,160,255,.28);
}


.service-card:nth-child(4) .service-glow {
  background: rgba(130,255,180,.2);
}


.service-card:hover .service-glow {
  opacity: 1;
}


.service-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}


.service-icon {
  position: absolute;
  top: 0;
  left: 0;
  font-size: 25px;
  transition:
    transform .5s ease,
    opacity .5s ease;
}


.service-card:hover .service-icon {
  transform: rotate(90deg) scale(1.25);
}


.service-content h3 {
  font-family: "Quera", Arial, sans-serif;
  font-size: clamp(35px, 4vw, 62px);
  font-weight: 400;
  line-height: .95;
  letter-spacing: .015em;
  transition: transform .5s ease;
}


.service-card:hover .service-content h3 {
  transform: translateY(-8px);
}


.service-content p {
  max-width: 360px;
  margin-top: 18px;
  font-family: "Quera", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.45;
  letter-spacing: .025em;
  color: var(--muted);
  opacity: .55;
  transform: translateY(10px);
  transition:
    opacity .5s ease,
    transform .5s ease;
}


.service-card:hover .service-content p {
  opacity: 1;
  transform: translateY(0);
}


.service-arrow {
  position: absolute;
  right: 28px;
  bottom: 27px;
  font-size: 24px;
  transition: transform .4s ease;
}


.service-card:hover .service-arrow {
  transform: translate(5px,-5px);
}


/* ABOUT */

.about-section {
  min-height: 100vh;
}


.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  margin-top: 160px;
}


.about-title h2 {
  font-family: "Quera", Arial, sans-serif;
  font-size: clamp(52px, 7vw, 110px);
  line-height: .93;
  letter-spacing: .01em;
  font-weight: 400;
}


.about-copy {
  max-width: 520px;
}


.about-copy p {
  font-family: "Quera", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.55;
  letter-spacing: .025em;
  color: var(--muted);
  margin-bottom: 35px;
}


.about-copy .large-copy {
  color: var(--text);
  font-size: clamp(25px, 2.5vw, 38px);
  line-height: 1.12;
  letter-spacing: .015em;
}


/* CONTACT */

.contact-section {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
}


.contact-content {
  margin-top: auto;
}


.contact-content > p {
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 25px;
}


.contact-email {
  font-family: "Rugis", Arial, sans-serif;
  font-size: clamp(60px, 10vw, 160px);
  line-height: .8;
  letter-spacing: -.05em;
  display: inline-block;
}


.contact-meta {
  display: flex;
  gap: 35px;
  margin-top: 100px;
}


.contact-meta a {
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}


/* FOOTER */

.site-footer {
  padding: 25px 42px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  font-family: "Aquatico", Arial, sans-serif;
  font-size: 8px;
  text-transform: uppercase;
  letter-spacing: .06em;
  color: var(--muted);
}


/* REVEAL */

.reveal {
  opacity: 0;
  transform: translateY(45px);
  transition:
    opacity .9s ease,
    transform .9s cubic-bezier(.2,.8,.2,1);
}


.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}


/* ABOUT PHOTO CARD */

.about-photo-card {
  position: relative;
  left: auto;
  top: auto;
  width: 230px;
  height: 300px;
  margin-top: 10px;
  padding: 7px;
  z-index: 1;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 28px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    0 30px 80px rgba(0,0,0,.35),
    inset 0 1px 0 rgba(255,255,255,.18);
  opacity: 0;
  transform: translateX(120px) rotate(6deg);
  transition:
    transform 1.1s cubic-bezier(.16,1,.3,1),
    opacity .8s ease;
}


.about-photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  border-radius: 22px;
}


.about-photo-card.visible {
  opacity: 1;
  transform: translateX(0) rotate(0);
}


/* MOBILE */

@media (max-width: 800px) {

  body {
    cursor: auto;
  }


  .cursor {
    display: none;
  }


  .intro {
    padding: 24px 20px;
  }


  .intro-stage {
    height: 62vh;
  }


  .intro-statement {
    font-size: 24vw;
  }


  .intro-kicker {
    font-size: 6px;
  }


  .intro-glass {
    right: auto;
    left: 0;
    bottom: 0;
    border-radius: 14px;
  }


  .intro-bottom {
    grid-template-columns: 1fr auto;
    gap: 20px;
  }


  .intro-skip {
    grid-column: 2;
  }


  .intro-location {
    display: none;
  }


  .intro-progress {
    left: 20px;
    right: 20px;
    bottom: 90px;
  }


  .site-header {
    height: 82px;
    padding: 18px 20px;
  }


  .site-header.scrolled {
    height: 70px;
    padding: 14px 20px;
  }


  .brand-name {
    font-size: 8px;
  }


  .portrait-frame {
    width: 38px;
    height: 38px;
  }


  .main-nav {
    gap: 16px;
    margin-right: 16px;
  }


  .main-nav a {
    font-size: 7px;
  }


  .theme-toggle {
    width: 38px;
    height: 38px;
  }


  .hero-content {
    width: calc(100% - 40px);
    height: calc(100svh - 100px);
  }


  .hero-title span {
    font-size: 18vw;
    white-space: normal;
  }


  .hero-bottom {
    margin-top: 60px;
  }


  .hero-description {
    max-width: 340px;
    font-size: 17px;
    letter-spacing: .025em;
  }


  .scroll-link {
    right: auto;
    left: 0;
    bottom: -70px;
  }


  .hero-glass {
    top: 105px;
    right: 20px;
    border-radius: 999px;
  }


  .hero-corner {
    left: 20px;
    bottom: 25px;
  }


  .intro-section,
  .work-section,
  .statement-section,
  .about-section,
  .contact-section {
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 100px;
    padding-bottom: 100px;
  }


  .intro-section {
    min-height: 70vh;
  }


  .intro-copy {
    margin-top: 100px;
  }


  .intro-copy p {
    font-size: 42px;
    letter-spacing: .018em;
  }


  .project {
    min-height: 125px;
    grid-template-columns: 1fr 30px;
    gap: 10px;
  }


  .project-year {
    display: none;
  }


  .project-main h2 {
    font-size: 30px;
  }


  .project-main p {
    font-size: 10px;
    letter-spacing: .025em;
  }


  .project-preview {
    display: none;
  }


  .project:hover {
    padding-left: 0;
    padding-right: 0;
  }


  .project::before {
    transform: none;
  }


  .project:hover::before {
    transform: none;
  }


  .statement {
    margin: 100px 0;
  }


  .statement p {
    font-size: 55px;
  }


  .services {
    grid-template-columns: 1fr;
  }


  .service-card {
    min-height: 310px;
    border-radius: 22px;
  }


  .service-content p {
    opacity: 1;
    transform: none;
  }


  .about-layout {
    grid-template-columns: 1fr;
    gap: 80px;
    margin-top: 100px;
  }


  .about-title h2 {
    font-size: 65px;
  }


  .about-photo-card {
    width: 190px;
    height: 250px;
    border-radius: 24px;
  }


  .about-photo-card img {
    border-radius: 18px;
  }


  .contact-email {
    font-size: 19vw;
  }


  .contact-meta {
    margin-top: 70px;
    gap: 22px;
  }


  .site-footer {
    padding: 20px;
    flex-direction: column;
    gap: 10px;
  }

}


@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }

}
