html,
body {
  cursor: none;
}

body {
  background: #fcfcf8;
  color: #0b0b0b;
}

.section-light {
  background: #fcfcf8;
  color: #0b0b0b;
}

.section-dark {
  background: #050505;
  color: #faf8f3;
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
}

.cursor-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #faf8f3;
  mix-blend-mode: difference;
}

.cursor-ring {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(250, 248, 243, 0.8);
  mix-blend-mode: difference;
}

.story-progress {
  position: fixed;
  right: 22px;
  top: 50%;
  width: 2px;
  height: 140px;
  transform: translateY(-50%);
  background: rgba(250, 248, 243, 0.2);
  z-index: 1200;
}

.story-progress span {
  display: block;
  width: 100%;
  height: 0%;
  background: #faf8f3;
}

.photo-nav {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  backdrop-filter: blur(8px);
  border-bottom: none;
  transition: background 0.45s ease, border-color 0.45s ease, padding 0.35s ease;
}

.photo-nav.is-dark {
  background: transparent;
  border-bottom: none;
}

.photo-nav.is-light {
  background: transparent;
  border-bottom: none;
}

#top-nav .nav-brand img {
  height: clamp(38px, 4.4vw, 58px);
  display: block;
}

#nav-toggle {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.18);
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 12px 14px;
  border-radius: 8px;
  cursor: pointer;
  position: fixed;
  top: 12px;
  right: 24px;
  z-index: 10000;
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

#nav-toggle span {
  width: 28px;
  height: 3px;
  border-radius: 3px;
  background: #ffffff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#nav-toggle:hover {
  transform: scale(1.06);
  background: rgba(255, 255, 255, 0.28);
}

body.menu-open #nav-toggle span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

body.menu-open #nav-toggle span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

body.menu-open #nav-toggle span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.photo-nav.is-light #nav-toggle {
  background: rgba(0, 0, 0, 0.06);
  border-color: rgba(0, 0, 0, 0.24);
}

.photo-nav.is-light #nav-toggle span {
  background: #0b0b0b;
}

.photo-nav.is-dark #nav-toggle {
  background: rgba(255, 255, 255, 0.18);
  border-color: rgba(255, 255, 255, 0.45);
}

.photo-nav.is-dark #nav-toggle span {
  background: #ffffff;
}

.side-menu {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 480px;
  height: 100vh;
  background: #000;
  z-index: 1400;
  transform: translateX(100%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1);
  overflow-y: auto;
}

body.menu-open .side-menu {
  transform: translateX(0);
}

.side-menu-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 100vh;
  padding: 6rem 3rem 3rem;
}

.menu-logo {
  margin-bottom: 3rem;
  opacity: 0;
  transform: translateY(-20px);
  transition: all 0.5s ease 0.2s;
}

body.menu-open .menu-logo {
  opacity: 1;
  transform: translateY(0);
}

.menu-logo img {
  height: 48px;
  width: auto;
}

.side-menu-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
}

.side-menu-links li {
  opacity: 0;
  transform: translateX(40px);
  transition: all 0.5s cubic-bezier(0.77, 0, 0.175, 1);
}

body.menu-open .side-menu-links li:nth-child(1) { transition-delay: 0.15s; opacity: 1; transform: translateX(0); }
body.menu-open .side-menu-links li:nth-child(2) { transition-delay: 0.2s; opacity: 1; transform: translateX(0); }
body.menu-open .side-menu-links li:nth-child(3) { transition-delay: 0.25s; opacity: 1; transform: translateX(0); }
body.menu-open .side-menu-links li:nth-child(4) { transition-delay: 0.3s; opacity: 1; transform: translateX(0); }
body.menu-open .side-menu-links li:nth-child(5) { transition-delay: 0.35s; opacity: 1; transform: translateX(0); }

.side-menu-links a {
  color: #faf8f3;
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  display: inline-block;
  position: relative;
  transition: color 0.3s ease;
}

.side-menu-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #faf8f3;
  transition: width 0.3s ease;
}

.side-menu-links a:hover {
  color: #999;
}

.side-menu-links a:hover::after {
  width: 100%;
}

.side-menu-footer {
  margin-top: 2.4rem;
  opacity: 0;
  transform: translateY(22px);
  transition: all 0.5s ease 0.4s;
}

body.menu-open .side-menu-footer {
  opacity: 1;
  transform: translateY(0);
}

.menu-book-btn {
  display: inline-block;
  margin-bottom: 1.4rem;
  padding: 0.72rem 1.2rem;
  border-radius: 999px;
  border: 1px solid #faf8f3;
  color: #000;
  background: #faf8f3;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.78rem;
}

.menu-book-btn:hover {
  background: #000;
  color: #faf8f3;
}

.social-links {
  display: flex;
  gap: 0.9rem;
}

.social-links a {
  color: #faf8f3;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 999px;
  padding: 0.38rem 0.62rem;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: end;
  overflow: hidden;
}

.hero-bg-wrap {
  position: absolute;
  inset: -6%;
  transform-origin: center;
  filter: blur(6px);
}

.hero-bg-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.76));
}

.hero-grain {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.18;
  background-image: radial-gradient(rgba(255, 255, 255, 0.22) 0.5px, transparent 0.5px);
  background-size: 3px 3px;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-bottom: clamp(40px, 7vw, 88px);
}

.eyebrow {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.88;
}

.hero-title {
  margin-top: 1rem;
  font-size: clamp(2rem, 6.8vw, 6rem);
  line-height: 0.92;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  max-width: min(96vw, 1500px);
}

.hero-title .line {
  display: block;
  white-space: normal;
  overflow: hidden;
}

.hero-title .char {
  display: inline-block;
  will-change: transform, opacity, filter;
}

.hero-sub {
  margin-top: 1.2rem;
  max-width: 680px;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  color: rgba(250, 248, 243, 0.88);
  line-height: 1.5;
}

.hero-actions {
  margin-top: 1.6rem;
  display: flex;
  gap: 0.8rem;
}

.hero-scroll-note {
  margin-top: 1.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: rgba(250, 248, 243, 0.66);
}

.btn-light {
  border-color: rgba(255, 255, 255, 0.5);
  color: #faf8f3;
}

.btn-light:hover {
  background: rgba(255, 255, 255, 0.12);
}

section {
  position: relative;
  padding: clamp(64px, 7.5vw, 108px) 0;
}

.about {
  padding-bottom: clamp(32px, 4vw, 56px);
}

.portfolio {
  padding-top: clamp(34px, 4.2vw, 60px);
}

.transition-clip {
  clip-path: inset(8% 0 0 0 round 22px);
  will-change: clip-path, transform;
}

.about-grid {
  margin-top: 1.2rem;
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: clamp(1.4rem, 4vw, 3rem);
  align-items: start;
}

.section-title {
  font-size: clamp(2rem, 5vw, 4.6rem);
  line-height: 0.95;
  letter-spacing: -0.02em;
  text-transform: uppercase;
}

.section-title .word {
  display: inline-block;
  transform-origin: bottom center;
}

.about-copy p {
  font-size: clamp(1.03rem, 1.4vw, 1.22rem);
  line-height: 1.65;
  color: #2f2f2b;
  margin-bottom: 1rem;
}

.section-head {
  margin-bottom: 2rem;
  display: grid;
  gap: 0.4rem;
}

.masonry-grid {
  columns: 3 300px;
  column-gap: 1.1rem;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 1.1rem;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(0, 0, 0, 0.08);
  background: #fff;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.08);
  transform-style: preserve-3d;
  will-change: transform;
  height: var(--rand-h, auto);
}

.gallery-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.36) 100%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.gallery-item video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
  filter: saturate(0.92) contrast(1.03);
}

.gallery-overlay {
  position: absolute;
  inset: auto 14px 14px 14px;
  z-index: 2;
  background: rgba(0, 0, 0, 0.62);
  color: #faf8f3;
  padding: 0.66rem 0.84rem;
  border-radius: 999px;
  font-size: 0.74rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  transform: translateY(12px);
  opacity: 0;
  transition: transform 0.45s ease, opacity 0.45s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  filter: saturate(1.15);
}

.gallery-item:hover video {
  transform: scale(1.06);
  filter: saturate(1.08) contrast(1.07);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
  opacity: 1;
}

.gallery-item:hover::after {
  opacity: 1;
}

.services {
  position: relative;
  overflow: hidden;
}


.services::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 14% 18%, rgba(255, 255, 255, 0.08), transparent 36%),
    radial-gradient(circle at 84% 72%, rgba(255, 255, 255, 0.05), transparent 34%);
}

.services-grid {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.service-card {
  position: relative;
  --mx: 50%;
  --my: 50%;
  padding: 1.4rem 1.4rem 1.25rem;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  min-height: 255px;
  background:
    radial-gradient(320px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.16), transparent 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.07), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(3px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.45s ease, box-shadow 0.45s ease;
}

.service-card::before {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  border: 1px solid transparent;
  background: linear-gradient(120deg, rgba(255, 255, 255, 0.42), rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.28)) border-box;
  -webkit-mask: linear-gradient(#000 0 0) padding-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.36;
  pointer-events: none;
}

.service-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: -110%;
  width: 56%;
  height: 100%;
  transform: skewX(-22deg);
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  opacity: 0;
  transition: left 0.8s ease, opacity 0.35s ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-10px);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.38);
}

.service-card:hover::after {
  left: 130%;
  opacity: 1;
}

.service-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.1rem;
}

.service-index {
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.05em;
  color: rgba(250, 248, 243, 0.88);
}

.service-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  padding: 0.24rem 0.62rem;
  font-size: 0.64rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(250, 248, 243, 0.78);
}

.service-card h3 {
  font-size: clamp(1.4rem, 2.4vw, 2rem);
  text-transform: uppercase;
  margin-bottom: 0.72rem;
  line-height: 0.98;
  letter-spacing: -0.01em;
}

.service-card p {
  color: rgba(250, 248, 243, 0.82);
  line-height: 1.55;
  max-width: 45ch;
}

.service-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.44rem;
  font-size: 0.73rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #faf8f3;
  padding-top: 1rem;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.service-link span {
  transition: transform 0.35s ease;
}

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

.service-card:hover .service-link span {
  transform: translateX(5px);
}

.featured-service {
  grid-column: span 2;
  min-height: 300px;
}

.featured-service h3 {
  font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.featured-service p {
  max-width: 70ch;
}

.stats-row {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 1rem;
  margin-top: 2rem;
}

.stat-card {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 14px;
  padding: 1.2rem;
}

.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 4rem);
  line-height: 0.9;
}

.stat-label {
  margin-top: 0.55rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.74rem;
  color: #555;
}

.metric-card {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  --ring-angle: 0deg;
  border-radius: 18px;
  padding: 1.3rem;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 0, 0, 0.05), transparent 44%),
    linear-gradient(180deg, rgba(255, 255, 255, 1), rgba(249, 249, 246, 0.94));
  border: 1px solid rgba(0, 0, 0, 0.12);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.08);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease;
}

.metric-card::before {
  content: "";
  position: absolute;
  right: -56px;
  top: -56px;
  width: 180px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: conic-gradient(from -90deg, #0b0b0b var(--ring-angle), rgba(0, 0, 0, 0.08) 0);
  mask: radial-gradient(circle at center, transparent 61%, black 62%);
  opacity: 0.75;
}

.metric-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 24%, rgba(255, 255, 255, 0.5) 44%, transparent 62%);
  transform: translateX(-120%);
  opacity: 0;
  transition: transform 0.7s ease, opacity 0.4s ease;
  pointer-events: none;
}

.metric-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.14);
}

.metric-card:hover::after {
  transform: translateX(120%);
  opacity: 1;
}

.metric-top {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.8rem;
}

.metric-kicker {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #5f5f5a;
}

.metric-card .stat-num {
  font-size: clamp(3rem, 7vw, 6.2rem);
  letter-spacing: -0.02em;
}

.metric-card .stat-label {
  margin-top: 0.7rem;
}

.metric-track {
  margin-top: 1rem;
  width: 100%;
  height: 5px;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.09);
  overflow: hidden;
}

.metric-fill {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #0b0b0b, #878683);
  transform-origin: left center;
  transform: scaleX(0);
}

.metric-note {
  margin-top: 0.95rem;
  font-size: 0.87rem;
  line-height: 1.5;
  color: #4a4a45;
  max-width: 44ch;
}

.metric-card:nth-child(1) {
  grid-column: span 2;
  min-height: 340px;
}

.metric-card:nth-child(1) .stat-num {
  font-size: clamp(4rem, 9vw, 7.8rem);
}

.testimonial-strip {
  margin-top: 1.5rem;
  overflow: hidden;
  border-block: 1px solid rgba(0, 0, 0, 0.12);
  padding: 1rem 0;
}

.testimonial-track {
  display: flex;
  gap: 2rem;
  width: max-content;
}

.testimonial-track p {
  white-space: nowrap;
  font-size: 1rem;
  color: #2f2f2b;
}

.contact-card {
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02));
  padding: clamp(1.4rem, 4vw, 3rem);
}

.contact-card p {
  max-width: 640px;
  margin-top: 1rem;
  color: rgba(250, 248, 243, 0.88);
}

.contact-actions {
  margin-top: 1.35rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1800;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.lightbox.is-open {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-figure {
  width: min(94vw, 1080px);
  margin: 0;
}

.lightbox-figure img {
  width: 100%;
  max-height: 72vh;
  object-fit: contain;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #000;
}

.lightbox-figure figcaption {
  margin-top: 0.85rem;
  color: #faf8f3;
}

.lightbox-figure h3 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  text-transform: uppercase;
}

.lightbox-figure p {
  margin-top: 0.35rem;
  color: rgba(250, 248, 243, 0.75);
}

.photo-footer {
  width: 100%;
  padding: 18px clamp(18px, 4vw, 48px);
  border-top: 1px solid rgba(250, 248, 243, 0.18);
  background: #000;
  text-align: center;
}

.photo-footer p {
  margin: 0;
  color: rgba(250, 248, 243, 0.72);
  font-size: clamp(13px, 0.9vw, 16px);
  line-height: 1.4;
}

.lightbox-close,
.lightbox-nav,
.lightbox-fullscreen {
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.08);
  color: #faf8f3;
  border-radius: 999px;
  padding: 0.5rem 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.09em;
  font-size: 0.72rem;
}

.lightbox-close {
  top: 18px;
  right: 22px;
}

.lightbox-fullscreen {
  top: 18px;
  left: 22px;
}

.lightbox-prev {
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next {
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
}

@media (max-width: 980px) {
  html,
  body {
    cursor: auto;
  }

  .cursor-dot,
  .cursor-ring,
  .story-progress {
    display: none;
  }

  .side-menu-content {
    padding: 5.2rem 1.4rem 2rem;
  }

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

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


  .featured-service {
    grid-column: span 1;
    min-height: 255px;
  }

  .stats-row {
    grid-template-columns: 1fr;
  }

  .metric-card:nth-child(1) {
    grid-column: span 1;
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  .photo-nav {
    padding: 10px 14px;
  }

  .hero-title .line {
    white-space: normal;
  }

  .hero-actions {
    flex-wrap: wrap;
  }

  .masonry-grid {
    columns: 1;
  }

  .gallery-item {
    height: auto !important;
  }


  .lightbox-nav {
    top: auto;
    bottom: 22px;
    transform: none;
  }

  .lightbox-prev {
    left: 14px;
  }

  .lightbox-next {
    right: 14px;
  }
}
