/* ============================================================
   DESIGN TOKENS
   ============================================================ */

:root {
  --black:        #0a0a0a;
  --black-soft:   #111111;
  --grey-dark:    #1a1a1a;
  --grey-mid:     #222222;
  --grey-400:     #444444;
  --grey-600:     #666666;
  --grey-aaa:     #aaaaaa;
  --grey-ccc:     #cccccc;
  --white:        #ffffff;
  --white-soft:   #f5f5f5;

  --font-serif:   'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-sans:    'Inter', system-ui, -apple-system, sans-serif;

  --max-width:    1200px;
  --pad-x:        clamp(1.5rem, 5vw, 4rem);
  --section-pad:  clamp(80px, 10vw, 140px);

  --ease-out:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in-out:  cubic-bezier(0.4, 0, 0.2, 1);

  --accent:       #bf9b5a;
  --accent-dim:   rgba(191, 155, 90, 0.14);
}

/* ============================================================
   RESET & BASE
   ============================================================ */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* Custom scrollbar */
::-webkit-scrollbar           { width: 4px; }
::-webkit-scrollbar-track     { background: #111111; }
::-webkit-scrollbar-thumb     { background: #333333; border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: #444444; }
html                          { scrollbar-width: thin; scrollbar-color: #333333 #111111; }

body {
  background-color: var(--black);
  color: var(--white-soft);
  font-family: var(--font-sans);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img,
video {
  display: block;
  max-width: 100%;
}

ul { list-style: none; }

button {
  font-family: inherit;
  cursor: pointer;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */

.container {
  max-width: var(--max-width);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* Section label — small tracked caps with left rule */
.section-label {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.section-label__line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--grey-600);
  flex-shrink: 0;
}

.section-label__text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: 500;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity  0.8s var(--ease-out),
    transform 0.8s var(--ease-out);
  will-change: opacity, transform;
}

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

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ============================================================
   NAVIGATION
   ============================================================ */

.nav {
  position: fixed;
  top: 1.25rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
  width: max-content;
  max-width: calc(100vw - 2rem);

  /* glassmorphism pill */
  background: rgba(12, 12, 12, 0.62);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 999px;
  box-shadow:
    0 4px 24px rgba(0, 0, 0, 0.40),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.nav__inner {
  padding-inline: 1.75rem;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.5rem;
}

.nav__monogram {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white-soft);
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
  flex-shrink: 0;
}

.nav__monogram:hover,
.nav__monogram:focus-visible {
  color: var(--accent);
  opacity: 1;
}

.nav__links {
  display: flex;
  gap: 2.5rem;
  align-items: center;
}

.nav__links a {
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-aaa);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav__links a:hover,
.nav__links a:focus-visible,
.nav__links a.is-active {
  color: var(--accent);
}

/* Focus rings */
:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 3px;
  border-radius: 2px;
}

.nav__hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  background: none;
  border: none;
  padding: 10px;
  width: 44px;
  height: 44px;
  cursor: pointer;
}

.nav__hamburger span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--white-soft);
  transition: transform 0.3s var(--ease-in-out), opacity 0.3s ease;
  transform-origin: center;
}

.nav__hamburger[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.nav__hamburger[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ============================================================
   MOBILE MENU
   ============================================================ */

.mobile-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: min(340px, 88vw);
  height: 100%;
  background: rgba(14, 14, 14, 0.97);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  border-left: 1px solid rgba(255, 255, 255, 0.07);
  z-index: 200;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 4rem 3rem;
  transform: translateX(100%);
  transition: transform 0.45s var(--ease-in-out);
}

.mobile-menu.is-open {
  transform: translateX(0);
}

.mobile-menu ul {
  display: flex;
  flex-direction: column;
  gap: 2.25rem;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white-soft);
  letter-spacing: 0.02em;
  transition: color 0.3s ease;
  display: inline-block;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  color: var(--grey-ccc);
}

.mobile-menu__close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--grey-600);
  font-size: 1rem;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease;
}

.mobile-menu__close:hover,
.mobile-menu__close:focus-visible {
  color: var(--white);
}

.mobile-menu__overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.45s ease;
}

.mobile-menu__overlay.is-active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   HERO
   ============================================================ */

.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: var(--black);
}

@keyframes hero-drift {
  0%   { transform: scale(1)    translate(0,    0);   }
  50%  { transform: scale(1.06) translate(4%,   2%);  }
  100% { transform: scale(1.02) translate(-2%,  3%);  }
}

.hero::before {
  content: '';
  position: absolute;
  inset: -10%;
  background:
    radial-gradient(ellipse 55% 50% at 28% 60%, rgba(191, 155, 90, 0.09) 0%, transparent 65%),
    radial-gradient(ellipse 40% 55% at 72% 32%, rgba(160, 110, 40, 0.06) 0%, transparent 60%);
  animation: hero-drift 18s ease-in-out infinite alternate;
  pointer-events: none;
  z-index: 0;
}

.hero__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  display: block;
}


.hero__vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 30%,
    rgba(0, 0, 0, 0.6) 70%,
    rgba(0, 0, 0, 0.95) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.hero__bottom-fade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 50%, #0a0a0a 100%);
  pointer-events: none;
  z-index: 2;
}

.hero__content {
  position: relative;
  z-index: 3;
  text-align: center;
  padding-inline: var(--pad-x);
  max-width: 900px;
  width: 100%;
}

.hero__name {
  font-family: var(--font-serif);
  font-size: clamp(3rem, 8vw, 7rem);
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--white);
  line-height: 1.05;
  text-transform: uppercase;
}

.hero__tagline {
  margin-top: 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  color: var(--grey-aaa);
  text-transform: uppercase;
  font-weight: 400;
}

.hero__sig-line {
  display: block;
  width: clamp(140px, 22vw, 260px);
  height: auto;
  margin-top: 0.6rem;
  overflow: visible;
}

.hero__sig-path {
  stroke: var(--accent);
  stroke-width: 1.5;
  fill: none;
  opacity: 0.55;
}

.hero__rule {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, var(--accent), rgba(191, 155, 90, 0.2));
  border: none;
  margin: 1.5rem auto 0;
}

/* Scroll indicator */
.hero__scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
}

.hero__scroll-label {
  font-family: var(--font-sans);
  font-size: 0.65rem;
  letter-spacing: 0.4em;
  color: var(--grey-aaa);
  text-transform: uppercase;
  font-weight: 500;
}

.hero__chevron {
  display: block;
  width: 9px;
  height: 9px;
  border-right: 1px solid var(--grey-aaa);
  border-bottom: 1px solid var(--grey-aaa);
  transform: rotate(45deg);
  animation: chevronPulse 1.8s ease-in-out infinite;
}

@keyframes chevronPulse {
  0%, 100% { transform: rotate(45deg) translate(0, 0);   opacity: 0.9; }
  50%       { transform: rotate(45deg) translate(3px, 3px); opacity: 0.3; }
}

@media (prefers-reduced-motion: reduce) {
  .hero__chevron { animation: none; }
}

/* ============================================================
   STATEMENT
   ============================================================ */

.statement {
  padding-block: 100px 10px;
  background: var(--black);
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.statement__quote {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  color: var(--white-soft);
  max-width: 800px;
  margin-inline: auto;
  line-height: 1.6;
  font-weight: 400;
  quotes: none;
}

.statement__author {
  margin-top: 2rem;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: var(--grey-600);
  text-transform: uppercase;
  font-weight: 500;
}

/* ============================================================
   WORK / PORTFOLIO GRID
   ============================================================ */

.work {
  padding-block: 10px var(--section-pad);
  background: var(--black);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.work > .container {
  position: relative;
  z-index: 1;
  max-width: none;
}

@keyframes work-orbit   { to { transform: rotate(360deg);  } }
@keyframes work-counter { to { transform: rotate(-360deg); } }
@keyframes work-float {
  0%, 100% { translate: 0 0;     }
  50%      { translate: 0 -12px; }
}

.work__grid {
  position: relative;
  display: block;
  width: 1060px;
  height: 1060px;
  margin: 2rem auto 0;
  animation: work-orbit 45s linear infinite;
}

.work__grid.orbit-paused,
.work__grid.orbit-paused .work__card,
.work__grid.orbit-paused .work__card-inner {
  animation-play-state: paused;
}

.work__card {
  position: absolute;
  width: 200px;
  cursor: pointer;
  display: block;
  animation: work-counter 45s linear infinite;
  will-change: transform;
  transition: opacity 0.4s ease, scale 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work__card:hover {
  z-index: 10;
}

.work__card-inner {
  animation: work-float var(--float-dur, 3s) ease-in-out infinite;
  animation-delay: var(--float-delay, 0s);
  will-change: translate;
  transition: scale 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.work__card:hover .work__card-inner {
  scale: 1.22;
}

.work__image {
  position: relative;
  aspect-ratio: var(--ar, 3/4);
  background: var(--grey-dark);
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.6);
  transition: transform 0.55s var(--ease-out);
}

.work__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.work__card:hover .work__image {
  transform: scale(1.02);
}

/* Grain texture overlay */
.work__grain {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px 200px;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: overlay;
}

/* Hover panel */
.work__hover-panel {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.4rem 1.2rem 1.1rem;
  background: rgba(0, 0, 0, 0.62);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  transform: translateY(100%);
  opacity: 0;
  transition:
    transform 0.35s var(--ease-out),
    opacity   0.35s ease;
}

.work__card:hover .work__hover-panel,
.work__card:focus-within .work__hover-panel {
  transform: translateY(0);
  opacity: 1;
}

.work__style {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--white-soft);
  font-weight: 500;
}

.work__year {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  color: var(--grey-aaa);
  font-weight: 300;
}

/* ── Filter Tabs ─────────────────────────────────────────── */
.work__filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.work__filter {
  font-family: var(--font-sans);
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 500;
  padding: 0.45rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 2rem;
  background: transparent;
  color: var(--grey-aaa);
  cursor: pointer;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.work__filter::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  border-radius: inherit;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: -1;
}

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

.work__filter:hover {
  color: var(--black);
  border-color: var(--accent);
}

.work__filter.is-active {
  color: var(--black);
  border-color: var(--accent);
}

.work__filter.is-active::before {
  transform: scaleX(1);
  transition: none;
}

/* ── Centre monogram ─────────────────────────────────────── */
.work__centre {
  position: absolute;
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  z-index: 5;
  pointer-events: none;
}

.work__centre-mono {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: rgba(191, 155, 90, 0.18);
  text-transform: uppercase;
  display: block;
  text-align: center;
  user-select: none;
}

/* ── Filtered-out cards ───────────────────────────────────── */
.work__card[data-hidden] {
  opacity: 0 !important;
  scale: 0.72 !important;
  pointer-events: none;
}

/* ── Touch: panel-open on first tap ──────────────────────── */
.work__card.panel-open .work__hover-panel {
  transform: translateY(0);
  opacity: 1;
}

/* ── Lightbox ────────────────────────────────────────────── */
#gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.92);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

#gallery-lightbox.is-open {
  opacity: 1;
  pointer-events: all;
}

#gallery-lightbox__img {
  max-width: min(90vw, 900px);
  max-height: 85vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8);
  display: block;
}

#gallery-lightbox__close {
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: var(--white);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease;
  padding: 0.25rem 0.5rem;
}

#gallery-lightbox__close:hover,
#gallery-lightbox__close:focus {
  opacity: 1;
  outline: 2px solid rgba(255, 255, 255, 0.4);
  outline-offset: 2px;
}

#gallery-lightbox__caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  translate: -50% 0;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--grey-aaa);
  text-align: center;
  white-space: nowrap;
}

/* ============================================================
   ABOUT
   ============================================================ */

.about {
  padding-block: var(--section-pad) 10px;
  background: var(--black);
  position: relative;
  z-index: 1;
  overflow: hidden;
}


.about__grid {
  display: grid;
  grid-template-columns: 60fr 40fr;
  gap: clamp(2.5rem, 5vw, 5rem);
  align-items: center;
}

.about__portrait {
  position: relative;
  aspect-ratio: 4/5;
  background: var(--grey-dark);
  overflow: hidden;
}

.about__portrait img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about__portrait-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 40%,
    rgba(10, 10, 10, 0.75) 100%
  );
  pointer-events: none;
}

.about__label {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--grey-600);
  font-weight: 500;
  margin-bottom: 1rem;
}

.about__name {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white-soft);
  line-height: 1.15;
  margin-bottom: 2rem;
  letter-spacing: 0.02em;
}

.about__bio {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

.about__bio p {
  font-family: var(--font-sans);
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--grey-aaa);
  font-weight: 300;
}

.about__stats {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.about__stat-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 100px;
  padding: 0.5rem 1.5rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  color: var(--grey-aaa);
  font-weight: 400;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}

/* ============================================================
   SPECIALTIES
   ============================================================ */

.specialties {
  padding-block: 10px var(--section-pad);
  background: var(--black);
  position: relative;
  z-index: 2;
}

.specialties__deco-tsunami {
  position: absolute;
  left: -6%;
  bottom: -200px;
  width: 42%;
  max-width: none;
  height: auto;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  user-select: none;
}

.specialties > .container {
  position: relative;
  z-index: 1;
}

.specialties__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 360px));
  gap: 1.5rem;
  justify-content: center;
}

.specialty-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition:
    background    0.3s ease,
    border-color  0.3s ease;
}

.specialty-card:hover {
  background: rgba(255, 255, 255, 0.055);
  border-color: rgba(255, 255, 255, 0.13);
}

.specialty-card__num {
  display: block;
  font-family: var(--font-serif);
  font-size: 4rem;
  color: var(--grey-mid);
  line-height: 1;
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.specialty-card__name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.specialty-card__desc {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  line-height: 1.75;
  color: #888888;
  font-weight: 300;
}

/* ============================================================
   PROCESS
   ============================================================ */

.process {
  padding-block: var(--section-pad);
  background: var(--black-soft);
  position: relative;
  overflow: hidden;
}

.process > .container {
  position: relative;
  z-index: 1;
}

.process__deco-koi {
  position: absolute;
  right: -4%;
  top: 50%;
  transform: translateY(-50%);
  width: 34%;
  max-width: 500px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  opacity: 1;
  user-select: none;
  will-change: transform;
}


.process__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.process__step {
  padding-top: 3rem;
  padding-right: 2rem;
  padding-bottom: 2rem;
  position: relative;
  border-top: 1px solid #333333;
  overflow: hidden;
}

.process__step::before {
  content: '';
  position: absolute;
  top: -4.5px;
  left: 0;
  width: 8px;
  height: 8px;
  background: var(--grey-400);
  border-radius: 50%;
}

/* Large background numeral */
.process__num {
  position: absolute;
  top: 0.25rem;
  right: 0.75rem;
  font-family: var(--font-serif);
  font-size: 8rem;
  font-weight: 700;
  color: var(--grey-dark);
  line-height: 0.85;
  pointer-events: none;
  user-select: none;
  z-index: 0;
  letter-spacing: -0.03em;
}

.process__step-name {
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 0.75rem;
  position: relative;
  z-index: 1;
  letter-spacing: 0.02em;
}

.process__desc {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  line-height: 1.75;
  color: #888888;
  font-weight: 300;
  position: relative;
  z-index: 1;
}

/* ============================================================
   CONTACT / BOOKING
   ============================================================ */

.contact {
  padding-block: 140px;
  background: var(--black);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.contact__deco-oni {
  position: absolute;
  left: 16%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 32%;
  max-width: 480px;
  height: auto;
  pointer-events: none;
  z-index: 0;
  mix-blend-mode: screen;
  user-select: none;
}

.contact > .container {
  position: relative;
  z-index: 1;
}

.contact__inner {
  max-width: 600px;
  margin-inline: auto;
}

.contact__headline {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 700;
  color: var(--white-soft);
  line-height: 1.25;
  margin-bottom: 1rem;
  letter-spacing: 0.01em;
}

.contact__headline em {
  font-style: italic;
  font-weight: 400;
}

.contact__sub {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 3rem;
  font-weight: 400;
}

.contact__cta {
  display: inline-block;
  border: 1px solid var(--accent);
  background: transparent;
  color: var(--white);
  padding: 1.2rem 3.5rem;
  letter-spacing: 0.2em;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  text-transform: uppercase;
  font-weight: 500;
  border-radius: 0;
  cursor: pointer;
  transition:
    background     0.4s ease,
    color          0.4s ease,
    border-color   0.4s ease;
}

.contact__cta:hover,
.contact__cta:focus-visible {
  background: var(--white);
  color: var(--black);
  border-color: var(--white);
}

.contact__instagram {
  margin-top: 2.25rem;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  color: var(--grey-600);
  letter-spacing: 0.05em;
}

.contact__instagram a {
  transition: color 0.3s ease;
}

.contact__instagram a:hover,
.contact__instagram a:focus-visible {
  color: var(--grey-aaa);
}

/* ============================================================
   FOOTER
   ============================================================ */

.footer {
  padding-block: 2rem;
  border-top: 1px solid var(--grey-dark);
  background: var(--black);
}

.footer__text {
  font-family: var(--font-sans);
  font-size: 0.7rem;
  color: var(--grey-400);
  text-align: center;
  letter-spacing: 0.05em;
  font-weight: 300;
}

.footer__sep {
  margin-inline: 0.75rem;
  opacity: 0.35;
}

.footer__link {
  transition: color 0.3s ease;
}

.footer__link:hover,
.footer__link:focus-visible {
  color: var(--grey-aaa);
}

/* ============================================================
   RESPONSIVE — TABLET (≤ 1024px)
   ============================================================ */

@media (max-width: 1024px) {
  .about__grid {
    grid-template-columns: 1fr;
    max-width: 620px;
    margin-inline: auto;
  }

  .about__portrait {
    aspect-ratio: 16/9;
  }

  .specialties__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .specialties__grid .specialty-card:last-child {
    grid-column: 1 / -1;
    max-width: 50%;
  }

  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ============================================================
   RESPONSIVE — MOBILE (≤ 768px)
   ============================================================ */

@media (max-width: 768px) {
  /* Nav */
  .nav__links {
    display: none;
  }

  .nav__inner {
    padding-inline: 1.25rem;
    gap: 1rem;
  }

  .nav__hamburger {
    display: flex;
  }

  /* Specialties */
  .specialties__grid {
    grid-template-columns: 1fr;
  }

  .specialties__grid .specialty-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  /* About */
  .about__grid {
    max-width: none;
  }

  .about__portrait {
    aspect-ratio: 4/3;
  }

  /* Process — 2 columns on mobile */
  .process__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .process__num {
    font-size: 5.5rem;
    top: 0.25rem;
    right: 0.5rem;
  }
}

/* ============================================================
   RESPONSIVE — SMALL MOBILE (≤ 480px)
   ============================================================ */

@media (max-width: 480px) {
  .hero__name {
    letter-spacing: 0.03em;
  }

  .hero__tagline {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
  }

  .specialty-card {
    padding: 2rem 1.5rem;
  }

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

  .contact__cta {
    padding: 1rem 2.5rem;
    width: 100%;
    text-align: center;
  }
}

/* ============================================================
   CLOUD SECTION SEPARATORS
   ============================================================ */

.cloud-sep-top,
.cloud-sep-bottom {
  width: 100%;
  line-height: 0;
  pointer-events: none;
  position: relative;
  z-index: 4;
}

.cloud-sep-top {
  margin: -575px 0;   /* quote → gallery */
}

.cloud-sep-bottom {
  margin: -550px 0;   /* about → services */
}

.cloud-sep-top img,
.cloud-sep-bottom img {
  width: 100%;
  display: block;
  mix-blend-mode: screen;
  transform: rotate(-1.25deg);
  transform-origin: center center;
}

.cloud-sep-top,
.cloud-sep-bottom {
  overflow: hidden;  /* clip rotated edges */
}

/* ============================================================
   ANIMATION LAYER — cursor, progress, overlays, char splits
   ============================================================ */

/* ----- Custom cursor ----- */
#cursor-dot {
  position: fixed;
  top: 0; left: 0;
  width: 6px; height: 6px;
  background: var(--white);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  will-change: transform;
  transform: translate(-50%, -50%);
}

#cursor-ring {
  position: fixed;
  top: 0; left: 0;
  width: 36px; height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  will-change: transform;
  transform: translate(-50%, -50%);
  transition:
    width 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    height 0.25s cubic-bezier(0.22, 1, 0.36, 1),
    border-color 0.25s ease;
}

#cursor-ring.cursor--hover {
  width: 54px; height: 54px;
  border-color: rgba(255, 255, 255, 0.85);
}

body.cursor-active,
body.cursor-active a,
body.cursor-active button { cursor: none; }

/* ----- Nav active underline ----- */
.nav__links a {
  position: relative;
}
.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 100%; height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}
.nav__links a.is-active::after { transform: scaleX(1); }

/* ----- Nav scrolled — deepen the glass ----- */
.nav--scrolled {
  background: rgba(8, 8, 8, 0.82);
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.55),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

/* ----- Scroll progress bar ----- */
#scroll-progress-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 2px;
  z-index: 201;
  pointer-events: none;
}
#scroll-progress-fill {
  height: 100%;
  width: 0%;
  background: var(--accent);
  will-change: width;
}

/* ----- Page transition overlay ----- */
#page-overlay {
  position: fixed;
  inset: 0;
  background: var(--black);
  z-index: 9990;
  pointer-events: none;
  opacity: 0;
}

/* ----- CTA fill hover (GSAP-managed) ----- */
.contact__cta.js-hover {
  position: relative;
  overflow: hidden;
}
.contact__cta.js-hover:hover,
.contact__cta.js-hover:focus-visible {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.contact__cta__fill {
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: left center;
  z-index: 0;
  pointer-events: none;
}
.contact__cta__label {
  position: relative;
  z-index: 1;
}

/* ----- Chevron: disable CSS anim — GSAP owns it ----- */
.hero__chevron {
  animation: none !important;
}

/* ----- Char / word split spans ----- */
.char-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}
.char {
  display: inline-block;
  will-change: transform, opacity;
  line-height: inherit;
}
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  line-height: inherit;
}
.word {
  display: inline-block;
  will-change: transform, opacity;
  line-height: inherit;
}

/* ----- Reduced motion: strip all custom animations ----- */
@media (prefers-reduced-motion: reduce) {
  #cursor-dot,
  #cursor-ring { display: none !important; }
  .char,
  .word { transform: none !important; opacity: 1 !important; }
  #scroll-progress-fill { transition: none; }
  .work__grid,
  .work__card,
  .work__card-inner { animation: none !important; }
  .work__card { transition: opacity 0.25s ease, scale 0.25s ease; }
  #gallery-lightbox { transition: none; }
}
