/* =====================================================================
   NitinK.com — Premium one-page portfolio
   Technology · Travel · Tripod
   A cinematic, editorial, dark-mode redesign.
   ===================================================================== */

/* ----------  Google Fonts (Space Grotesk · Inter · Playfair Display)  ---------- */
@import url("fonts.css");

/* ----------  Design tokens  ---------- */
:root {
  /* palette */
  --ink:        #0a0a0c;
  --ink-2:      #101014;
  --ink-3:      #16161c;
  --paper:      #f4f1ea;
  --paper-dim:  #cfcabf;
  --muted:      #8f8b82;
  --muted-2:    #6a6760;
  --line:       rgba(244, 241, 234, 0.10);
  --line-soft:  rgba(244, 241, 234, 0.06);

  /* accents — gold (travel/cinematic), cyan (technology), coral (tripod) */
  --gold:       #d9a441;
  --gold-soft:  #e7c483;
  --tech:       #58cfe6;
  --coral:      #ef7a5a;

  /* type — Space Grotesk: headings | Inter: body/UI | Playfair Display: quotes & photo accents */
  --heading:      "Space Grotesk", system-ui, sans-serif;
  --serif:        "Playfair Display", Georgia, "Times New Roman", serif;
  --serif-it:     "Playfair Display", Georgia, serif;
  --serif-bold:   "Playfair Display", Georgia, serif;
  --sans:         "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --sans-light:   "Inter", system-ui, sans-serif;
  --sans-xlight:  "Inter", system-ui, sans-serif;
  --sans-med:     "Inter", system-ui, sans-serif;
  --sans-semi:    "Inter", system-ui, sans-serif;
  --sans-bold:    "Inter", system-ui, sans-serif;
  --sans-black:   "Inter", system-ui, sans-serif;

  /* spacing / motion */
  --container:      1320px;
  --container-wide: 1680px;
  --pad-x:      clamp(1.25rem, 5vw, 5rem);
  --ease:       cubic-bezier(0.22, 1, 0.36, 1);
  --ease-soft:  cubic-bezier(0.4, 0, 0.2, 1);
  --radius:     18px;
  --radius-lg:  26px;
}

/* ----------  Reset  ---------- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
}

body {
  margin: 0;
  background: var(--ink);
  color: var(--paper);
  font-family: var(--sans-light);
  font-weight: 300;
  font-size: 1.05rem;
  line-height: 1.75;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s var(--ease), opacity 0.3s var(--ease);
}

::selection { background: var(--gold); color: #000; }

/* custom scrollbar */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--ink); }
::-webkit-scrollbar-thumb {
  background: #2a2a30;
  border-radius: 10px;
  border: 2px solid var(--ink);
}
::-webkit-scrollbar-thumb:hover { background: var(--gold); }

/* ----------  Layout helpers  ---------- */
.wrap {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

.section {
  position: relative;
  padding-block: clamp(5rem, 12vw, 11rem);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 1.5rem;
}
.eyebrow::before {
  content: "";
  width: 34px;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(2.1rem, 5.5vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.015em;
  margin: 0 0 1.4rem;
}
.section-title em {
  font-family: var(--serif-it);
  color: var(--gold-soft);
}

.lede {
  max-width: 60ch;
  font-family: var(--sans-light);
  font-weight: 300;
  font-size: clamp(1.02rem, 1.6vw, 1.22rem);
  line-height: 1.8;
  color: var(--paper-dim);
}
.lede strong {
  font-family: var(--sans-semi);
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ===================================================================
   PRELOADER
   =================================================================== */
#preload {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--ink);
  display: grid;
  place-items: center;
  transition: opacity 0.8s var(--ease), visibility 0.8s var(--ease);
}
#preload.done { opacity: 0; visibility: hidden; }

.preload__inner { text-align: center; width: min(80vw, 340px); }
.preload__mark {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(2.4rem, 8vw, 3.6rem);
  letter-spacing: -0.02em;
  margin-bottom: 1.4rem;
}
.preload__mark span { color: var(--gold); }
.preload__bar {
  height: 2px;
  width: 100%;
  background: var(--line);
  overflow: hidden;
  border-radius: 2px;
}
.preload__bar i {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  transition: width 0.2s var(--ease-soft);
}
.preload__pct {
  margin-top: 1rem;
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.3em;
  color: var(--muted);
}

/* ===================================================================
   CUSTOM CURSOR
   =================================================================== */
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  border-radius: 50%;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: difference;
}
.cursor-dot {
  width: 7px;
  height: 7px;
  background: var(--paper);
  transition: transform 0.12s var(--ease-soft);
}
.cursor-ring {
  width: 42px;
  height: 42px;
  border: 1px solid rgba(244, 241, 234, 0.5);
  transition: width 0.3s var(--ease), height 0.3s var(--ease),
              border-color 0.3s var(--ease), background 0.3s var(--ease);
}
.cursor-ring.is-hover {
  width: 74px;
  height: 74px;
  border-color: transparent;
  background: rgba(217, 164, 65, 0.18);
}
.cursor-ring.is-view {
  width: 96px;
  height: 96px;
  border-color: transparent;
  background: rgba(217, 164, 65, 0.92);
  mix-blend-mode: normal;
}
.cursor-ring .cursor-label {
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.6rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #000;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.25s var(--ease), transform 0.25s var(--ease);
}
.cursor-ring.is-view .cursor-label { opacity: 1; transform: scale(1); }
.cursor-ring { display: grid; place-items: center; }

@media (hover: none), (pointer: coarse) {
  .cursor-dot, .cursor-ring { display: none !important; }
}

/* ===================================================================
   SCROLL PROGRESS
   =================================================================== */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft), var(--tech));
  z-index: 1200;
  transition: width 0.1s linear;
}

/* ===================================================================
   HEADER / NAV
   =================================================================== */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: clamp(1.1rem, 2.4vw, 1.9rem) var(--pad-x);
  transition: background 0.4s var(--ease), padding 0.4s var(--ease),
              box-shadow 0.4s var(--ease), backdrop-filter 0.4s var(--ease);
}
.site-header.scrolled {
  background: rgba(10, 10, 12, 0.72);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  padding-block: clamp(0.8rem, 1.6vw, 1.1rem);
  box-shadow: 0 1px 0 var(--line-soft);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  z-index: 1002;
}
.brand__avatar {
  height: 26px;
  width: auto;
  border-radius: 50%;
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
  filter: brightness(0.95) saturate(0.85);
}
.brand__logo {
  height: 28px;
  width: auto;
  transition: filter 0.35s var(--ease), transform 0.35s var(--ease);
  filter: brightness(0) invert(1);
}
.brand:hover .brand__avatar {
  filter: brightness(1) saturate(1.1) drop-shadow(0 0 6px rgba(217,164,65,0.5));
  transform: scale(1.06);
}
.brand:hover .brand__logo {
  filter: brightness(0) saturate(1) invert(73%) sepia(60%) saturate(500%) hue-rotate(3deg) brightness(105%);
}

.nav-toggle {
  position: relative;
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  background: none;
  border: none;
  color: var(--paper);
  cursor: pointer;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  padding: 0;
}
.nav-toggle__bars {
  position: relative;
  width: 30px;
  height: 12px;
}
.nav-toggle__bars span {
  position: absolute;
  left: 0;
  height: 1.5px;
  width: 100%;
  background: var(--paper);
  transition: transform 0.4s var(--ease), opacity 0.3s var(--ease);
}
.nav-toggle__bars span:nth-child(1) { top: 0; }
.nav-toggle__bars span:nth-child(2) { bottom: 0; width: 65%; }
body.menu-open .nav-toggle__bars span:nth-child(1) { transform: translateY(5px) rotate(45deg); }
body.menu-open .nav-toggle__bars span:nth-child(2) { transform: translateY(-6px) rotate(-45deg); width: 100%; }
.nav-toggle .nav-toggle__txt-close { display: none; }
body.menu-open .nav-toggle .nav-toggle__txt-open { display: none; }
body.menu-open .nav-toggle .nav-toggle__txt-close { display: inline; }

/* overlay menu */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1001;
  background: var(--ink-2);
  display: grid;
  grid-template-columns: 1fr;
  align-content: center;
  padding: 7rem var(--pad-x) 3rem;
  clip-path: circle(0% at calc(100% - 3rem) 3rem);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease), visibility 0s linear 0.7s;
}
body.menu-open .nav-overlay {
  clip-path: circle(150% at calc(100% - 3rem) 3rem);
  visibility: visible;
  transition: clip-path 0.8s var(--ease), visibility 0s;
}
.nav-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 80% 10%, rgba(217, 164, 65, 0.10), transparent 70%);
  pointer-events: none;
}

.nav-close {
  position: absolute;
  top: clamp(1.2rem, 2.5vw, 2rem);
  right: var(--pad-x);
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: none;
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 1.2rem;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background 0.3s var(--ease), color 0.3s var(--ease),
              border-color 0.3s var(--ease), transform 0.4s var(--ease),
              opacity 0.5s var(--ease) 0.4s;
  opacity: 0;
  transform: rotate(-90deg) scale(0.8);
  z-index: 2;
}
body.menu-open .nav-close {
  opacity: 1;
  transform: rotate(0deg) scale(1);
}
.nav-close:hover {
  background: var(--gold);
  color: #000;
  border-color: var(--gold);
  transform: rotate(90deg) scale(1.05);
}

.nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: var(--container);
  margin-inline: auto;
  width: 100%;
}
.nav-menu li {
  overflow: hidden;
}
.nav-menu a {
  display: inline-flex;
  align-items: baseline;
  gap: 1.1rem;
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(2.1rem, 7vw, 5rem);
  line-height: 1.18;
  letter-spacing: -0.02em;
  color: var(--paper);
  transform: translateY(110%);
  transition: transform 0.7s var(--ease), color 0.3s var(--ease);
}
body.menu-open .nav-menu a { transform: translateY(0); }
.nav-menu li:nth-child(1) a { transition-delay: 0.06s; }
.nav-menu li:nth-child(2) a { transition-delay: 0.12s; }
.nav-menu li:nth-child(3) a { transition-delay: 0.18s; }
.nav-menu li:nth-child(4) a { transition-delay: 0.24s; }
.nav-menu li:nth-child(5) a { transition-delay: 0.30s; }
.nav-menu li:nth-child(6) a { transition-delay: 0.36s; }
.nav-menu a:hover { color: var(--gold); }
.nav-menu a .nav-num {
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  color: var(--gold);
  transform: translateY(-0.4em);
}
.nav-overlay__foot {
  max-width: var(--container);
  margin: clamp(2.5rem, 6vw, 4rem) auto 0;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem 2.5rem;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 1.6rem;
  color: var(--muted);
  font-size: 0.85rem;
  opacity: 0;
  transition: opacity 0.5s var(--ease) 0.4s;
}
body.menu-open .nav-overlay__foot { opacity: 1; }
.nav-overlay__foot a:hover { color: var(--gold); }
.nav-social { display: flex; gap: 1.4rem; }
.nav-social a { font-family: var(--sans-med); font-weight: 500; letter-spacing: 0.08em; }

/* ===================================================================
   HERO
   =================================================================== */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(2.5rem, 6vw, 5rem);
}
.hero__bg {
  position: absolute;
  inset: -8% 0 0 0;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
  will-change: transform;
  z-index: 0;
  transform: scale(1.12);
}
.hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(10,10,12,0.55) 0%, rgba(10,10,12,0.25) 32%, rgba(10,10,12,0.85) 78%, var(--ink) 100%),
    radial-gradient(120% 80% at 15% 100%, rgba(217,164,65,0.18), transparent 55%);
}
.hero__grain {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.045'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.hero__tag {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.74rem;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 1.6rem;
}
.hero__tag i {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 0 rgba(217,164,65,0.55);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(217,164,65,0.55); }
  70% { box-shadow: 0 0 0 12px rgba(217,164,65,0); }
  100% { box-shadow: 0 0 0 0 rgba(217,164,65,0); }
}

.hero__title {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(3.2rem, 12vw, 10.5rem);
  line-height: 0.92;
  letter-spacing: -0.03em;
  margin: 0;
}
.hero__title .line {
  display: block;
  overflow: hidden;
  /* extra room below so descenders (g, y, j) aren't clipped */
  padding-bottom: 0.18em;
  margin-bottom: -0.18em;
}
.hero__title .line > span {
  display: block;
  transform: translateY(110%);
  transition: transform 1s var(--ease);
  padding-bottom: 0.06em; /* safety buffer for deeply descending glyphs */
}
.hero.in .hero__title .line:nth-child(1) > span { transition-delay: 0.15s; }
.hero.in .hero__title .line:nth-child(2) > span { transition-delay: 0.28s; }
.hero.in .hero__title .line > span { transform: translateY(0); }
.hero__title em {
  font-family: var(--serif-it);
  color: var(--gold-soft);
}

.hero__rotator {
  display: inline-block;
  position: relative;
  color: var(--gold);
}

.hero__sub {
  max-width: 56ch;
  margin: 1.8rem 0 2.4rem;
  font-family: var(--sans-light);
  font-weight: 300;
  font-size: clamp(1rem, 1.6vw, 1.28rem);
  line-height: 1.7;
  color: var(--paper-dim);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease) 0.5s, transform 0.9s var(--ease) 0.5s;
}
.hero.in .hero__sub { opacity: 1; transform: none; }
.hero__sub a { color: var(--paper); border-bottom: 1px solid var(--gold); padding-bottom: 1px; }
.hero__sub a:hover { color: var(--gold); }

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.2rem 1.6rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s var(--ease) 0.7s, transform 0.9s var(--ease) 0.7s;
}
.hero.in .hero__cta { opacity: 1; transform: none; }

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: clamp(2.5rem, 6vw, 5rem);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.9rem;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.62rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--paper-dim);
  writing-mode: vertical-rl;
}
.hero__scroll .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(var(--gold), transparent);
  position: relative;
  overflow: hidden;
}
.hero__scroll .line::after {
  content: "";
  position: absolute;
  top: -50%;
  left: 0;
  width: 100%;
  height: 50%;
  background: var(--paper);
  animation: scrolldown 2s var(--ease-soft) infinite;
}
@keyframes scrolldown {
  0% { transform: translateY(0); }
  100% { transform: translateY(300%); }
}

/* social rail */
.social-rail {
  position: fixed;
  left: clamp(0.6rem, 2vw, 1.6rem);
  bottom: 0;
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
}
.social-rail a {
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--muted);
  writing-mode: vertical-rl;
  transition: color 0.3s var(--ease), transform 0.3s var(--ease);
}
.social-rail a:hover { color: var(--gold); transform: translateY(-3px); }
.social-rail::after {
  content: "";
  width: 1px;
  height: 80px;
  background: linear-gradient(var(--line), transparent);
}
@media (max-width: 1100px) { .social-rail { display: none; } }

/* ===================================================================
   BUTTONS
   =================================================================== */
.btn {
  --bg: var(--gold);
  --fg: #0a0a0c;
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 1.05rem 1.9rem;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.76rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 100px;
  background: var(--bg);
  color: var(--fg);
  border: 1px solid var(--bg);
  position: relative;
  overflow: hidden;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
  will-change: transform;
}
.btn span { position: relative; z-index: 1; }
.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--paper);
  transform: translateY(101%);
  transition: transform 0.45s var(--ease);
}
.btn:hover::after { transform: translateY(0); }
.btn:hover { color: #0a0a0c; }

.btn--ghost {
  --bg: transparent;
  --fg: var(--paper);
  border-color: var(--line);
}
.btn--ghost::after { background: var(--gold); }
.btn--ghost:hover { color: #0a0a0c; border-color: var(--gold); }

.btn .arrow { transition: transform 0.4s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }

/* text link */
.tlink {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--paper);
  position: relative;
}
.tlink::after {
  content: "";
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 1px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease);
}
.tlink:hover { color: var(--gold); }
.tlink:hover::after { transform: scaleX(1); transform-origin: left; }
.tlink .arrow { transition: transform 0.4s var(--ease); }
.tlink:hover .arrow { transform: translateX(4px); }

/* ===================================================================
   MARQUEE
   =================================================================== */
.marquee {
  border-block: 1px solid var(--line);
  padding-block: clamp(1rem, 2.4vw, 1.8rem);
  overflow: hidden;
  background: var(--ink-2);
}
.marquee__track {
  display: flex;
  width: max-content;
  gap: 3.5rem;
  animation: marquee 38s linear infinite;
}
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__track span {
  font-family: var(--heading);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 3rem);
  letter-spacing: -0.01em;
  color: var(--paper);
  display: inline-flex;
  align-items: center;
  gap: 3.5rem;
  white-space: nowrap;
}
.marquee__track span i {
  font-style: normal;
  color: var(--gold);
  font-size: 0.5em;
}
.marquee--alt .marquee__track { animation-duration: 30s; animation-direction: reverse; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ===================================================================
   ABOUT
   =================================================================== */
.about { background: var(--ink); }
.about__grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2.5rem, 6vw, 6rem);
  align-items: start;
}
.about__media {
  position: relative;
}
.about__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(160deg, var(--ink-3), #1d1d24);
  border: 1px solid var(--line);
  padding: 2.6rem 2rem 2rem;
  text-align: center;
}
.about__photo img { width: 170px; margin-inline: auto; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.5)); }
.about__photo .glow {
  position: absolute;
  inset: auto 0 -40% 0;
  height: 70%;
  background: radial-gradient(60% 80% at 50% 100%, rgba(217,164,65,0.25), transparent 70%);
  pointer-events: none;
}
.about__sig {
  margin-top: 1.4rem;
  font-family: var(--serif-it);
  font-style: italic;
  font-size: 1.5rem;
  color: var(--gold-soft);
}
.about__loc {
  margin-top: 0.2rem;
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--muted);
}

.about__chips {
  margin-top: 1.6rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  justify-content: center;
}
.chip {
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  padding: 0.45rem 0.9rem;
  border-radius: 100px;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  transition: border-color 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
}
.chip:hover { border-color: var(--gold); color: var(--gold); transform: translateY(-2px); }

.about__body h2 { margin-top: 0; }
.about__body p { color: var(--paper-dim); }
.about__body p strong, .about__body b { font-family: var(--sans-semi); color: var(--paper); font-weight: 600; }
.about__body a { color: var(--gold); border-bottom: 1px solid transparent; }
.about__body a:hover { border-color: var(--gold); }

.pullquote {
  margin: 2.6rem 0 0;
  padding: 1.6rem 0 0.4rem 1.8rem;
  border-left: 2px solid var(--gold);
  font-family: var(--serif-it);
  font-style: italic;
  font-size: clamp(1.15rem, 2.1vw, 1.5rem);
  line-height: 1.55;
  color: var(--paper);
}
.pullquote cite {
  display: block;
  margin-top: 1rem;
  font-family: var(--sans-med);
  font-weight: 500;
  font-style: normal;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

/* mini fact stats */
.facts {
  margin-top: 2.6rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  border-top: 1px solid var(--line);
  padding-top: 2rem;
}
.facts .num {
  font-family: var(--heading);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 3rem);
  color: var(--gold-soft);
  line-height: 1;
}
.facts .lbl {
  margin-top: 0.5rem;
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
}

/* ===================================================================
   PILLARS — Technology · Travel · Tripod
   =================================================================== */
.pillars { background: var(--ink-2); }
.pillars__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.5rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.pillar {
  position: relative;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(1.8rem, 3vw, 2.6rem);
  background: linear-gradient(165deg, rgba(255,255,255,0.025), rgba(255,255,255,0));
  overflow: hidden;
  transition: transform 0.5s var(--ease), border-color 0.5s var(--ease);
  min-height: 320px;
  display: flex;
  flex-direction: column;
}
.pillar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(80% 60% at 50% 0%, var(--c-soft), transparent 70%);
  opacity: 0;
  transition: opacity 0.5s var(--ease);
}
.pillar:hover { transform: translateY(-8px); border-color: var(--c); }
.pillar:hover::before { opacity: 0.4; }
.pillar > * { position: relative; z-index: 1; }
.pillar--tech   { --c: var(--tech);  --c-soft: rgba(88,207,230,0.18); }
.pillar--travel { --c: var(--gold);  --c-soft: rgba(217,164,65,0.18); }
.pillar--tripod { --c: var(--coral); --c-soft: rgba(239,122,90,0.18); }

.pillar__no {
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.24em;
  color: var(--muted);
}
.pillar__icon {
  margin: 1.4rem 0 1.2rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  border: 1px solid var(--c);
  color: var(--c);
  font-size: 1.5rem;
}
.pillar h3 {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  margin: 0 0 0.7rem;
  letter-spacing: -0.01em;
}
.pillar p {
  margin: 0;
  color: var(--paper-dim);
  font-size: 0.98rem;
  line-height: 1.75;
}
.pillar__meta {
  margin-top: auto;
  padding-top: 1.6rem;
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c);
}

/* ===================================================================
   LOVE · LIFE · PASSION persona cards
   Extends the pillar card pattern with circular avatar + list
   =================================================================== */
.persona { background: var(--ink-3); }

.persona__grid { align-items: stretch; }

.persona__card { text-align: center; align-items: center; }

.persona__photo {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin: 1.2rem auto 0;
  border: 3px solid var(--c);
  box-shadow: 0 0 0 5px rgba(255,255,255,0.04), 0 12px 32px rgba(0,0,0,0.4);
  transition: box-shadow 0.4s var(--ease), transform 0.4s var(--ease);
}
.persona__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  filter: saturate(0.9);
  transition: filter 0.4s var(--ease), transform 0.5s var(--ease);
}
.persona__card:hover .persona__photo {
  box-shadow: 0 0 0 5px rgba(255,255,255,0.06), 0 0 0 8px var(--c), 0 16px 40px rgba(0,0,0,0.5);
  transform: scale(1.04);
}
.persona__card:hover .persona__photo img { filter: saturate(1.1); transform: scale(1.06); }

.persona__label {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  letter-spacing: -0.01em;
  margin: 1.2rem 0 0.8rem;
  color: var(--paper);
}
.persona__label::after {
  content: "";
  display: block;
  width: 32px;
  height: 2px;
  background: var(--c);
  margin: 0.6rem auto 0;
  border-radius: 2px;
  transition: width 0.4s var(--ease);
}
.persona__card:hover .persona__label::after { width: 56px; }

.persona__list {
  list-style: none;
  padding: 0;
  margin: 0.8rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.persona__list li {
  font-family: var(--sans-light);
  font-weight: 300;
  font-size: clamp(0.92rem, 1.4vw, 1.05rem);
  color: var(--paper-dim);
  line-height: 1.5;
  transition: color 0.3s var(--ease);
}
.persona__card:hover .persona__list li { color: var(--paper); }

/* ===================================================================
   EXPERIENCE / LOGOS
   =================================================================== */
.experience { background: var(--ink); }
.logo-strip {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.logo-strip + .logo-strip { margin-top: 1.2rem; }
.logo-track {
  display: flex;
  align-items: center;
  width: max-content;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  animation: marquee 55s linear infinite;
}
.logo-track--alt { animation-duration: 48s; animation-direction: reverse; }
.logo-strip:hover .logo-track { animation-play-state: paused; }
.logo-track img {
  height: clamp(26px, 3.4vw, 40px);
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.42;
  transition: opacity 0.4s var(--ease), filter 0.4s var(--ease), transform 0.4s var(--ease);
}
.logo-track a:hover img {
  opacity: 1;
  filter: none;
  transform: scale(1.08);
}

/* ===================================================================
   PROJECTS
   =================================================================== */
.projects { background: var(--ink-2); }
.proj-grid {
  margin-top: clamp(2.5rem, 5vw, 3.5rem);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
}
.proj {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--ink-3);
  isolation: isolate;
}
.proj__media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}
.proj__media img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.9s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.92);
}
.proj:hover .proj__media img { transform: scale(1.06); filter: saturate(1.05); }
.proj__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,10,12,0) 35%, rgba(10,10,12,0.85) 100%);
}
.proj__body {
  position: relative;
  z-index: 1;
  padding: 1.6rem clamp(1.4rem, 2.5vw, 2rem) 1.8rem;
}
.proj__tag {
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
}
.proj h3 {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin: 0.5rem 0 0.6rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.proj h3 .arrow {
  font-size: 0.7em;
  color: var(--gold);
  transition: transform 0.4s var(--ease);
}
.proj:hover h3 .arrow { transform: translate(4px, -4px); }
.proj p { margin: 0; color: var(--paper-dim); font-size: 0.96rem; }
.proj a.proj__link { position: absolute; inset: 0; z-index: 2; }

/* ===================================================================
   PHOTOGRAPHY — NitinKClicks (cinematic gallery)
   =================================================================== */
.photo {
  background: var(--ink);
  position: relative;
}
.photo__intro {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 2rem;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.photo__logo { width: 230px; margin-bottom: 1.4rem; }
.photo__count {
  font-family: var(--serif-it);
  font-style: italic;
  font-size: clamp(1rem, 2vw, 1.3rem);
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}
.photo__count b { color: var(--gold); font-family: var(--serif); }

/* cinematic masonry gallery — 3 columns, images at natural aspect ratio */
.gallery {
  columns: 3;
  column-gap: 14px;
}
.shot {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  cursor: pointer;
  background: var(--ink-3);
  break-inside: avoid;
  -webkit-column-break-inside: avoid;
  display: block;
  width: 100%;
  margin-bottom: 14px;
}
.shot img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 1.1s var(--ease), filter 0.6s var(--ease);
  filter: saturate(0.9) brightness(0.92);
}
.shot:hover img { transform: scale(1.08); filter: saturate(1.08) brightness(1); }
.shot::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(10,10,12,0.88) 100%);
  opacity: 0.5;
  transition: opacity 0.5s var(--ease);
}
.shot:hover::after { opacity: 1; }
.shot__cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  z-index: 2;
  padding: 1.1rem 1.2rem;
  transform: translateY(14px);
  opacity: 0;
  transition: transform 0.5s var(--ease), opacity 0.5s var(--ease);
}
.shot:hover .shot__cap { transform: none; opacity: 1; }
.shot__cap h4 {
  margin: 0;
  font-family: var(--serif);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.25;
}
.shot__cap span {
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
}
.shot__icon {
  position: absolute;
  top: 1rem; right: 1rem;
  z-index: 2;
  width: 38px; height: 38px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(10,10,12,0.5);
  backdrop-filter: blur(6px);
  border: 1px solid var(--line);
  color: var(--paper);
  font-size: 0.9rem;
  opacity: 0;
  transform: scale(0.6);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), background 0.3s var(--ease);
}
.shot:hover .shot__icon { opacity: 1; transform: scale(1); }
.shot:hover .shot__icon:hover { background: var(--gold); color: #000; }

/* feature shot spans all 3 columns as a full-width hero */
.shot.feature {
  column-span: all;
  -webkit-column-span: all;
  margin-bottom: 14px;
}

.photo__cta { text-align: center; margin-top: clamp(2.5rem, 5vw, 3.5rem); }

/* wider container for the photography section on large screens */
.photo .wrap { max-width: var(--container-wide); }

/* ===================================================================
   TESTIMONIALS
   =================================================================== */
.testi { background: var(--ink-2); overflow: hidden; }
.testi__viewport { position: relative; overflow: visible; }
.testi__track { overflow: visible; }
.testi__track {
  display: flex;
  transition: transform 0.7s var(--ease);
  cursor: grab;
}
.testi__track:active { cursor: grabbing; }
.testi__slide {
  flex: 0 0 100%;
  padding-inline: clamp(0.2rem, 2vw, 2rem);
}
.testi__card {
  max-width: 1060px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: clamp(200px, 28vw, 340px) 1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
  text-align: left;
}

/* polaroid-style photo frame */
/* ── CSS Picture Frame ──────────────────────────────────────────────
   Layer anatomy (outside → in):
   1. Wall drop shadow
   2. Outer gold bevel line      box-shadow spread 16px
   3. Dark walnut frame body     box-shadow spread 15px → 2px = 13px
   4. Inner gold bevel line      box-shadow spread 2px
   5. Cream mat                  padding: 10px + background
   6. Inset mat shadow           inset box-shadow
   7. Photo
   ──────────────────────────────────────────────────────────────── */
.testi__frame {
  position: relative;
  flex-shrink: 0;
  padding: 10px;                  /* cream mat thickness */
  background: #f0ece0;            /* mat colour */
  border-radius: 1px;
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.20),   /* mat inner depth */
    0 0 0 2px  rgba(201, 168, 76, 0.85),    /* inner gold bevel */
    0 0 0 15px #1a130a,                      /* walnut frame body */
    0 0 0 16px rgba(201, 168, 76, 0.55),    /* outer gold bevel */
    0 32px 80px -6px rgba(0, 0, 0, 0.90),  /* wall drop shadow */
    0 8px 24px rgba(0, 0, 0, 0.45);         /* near shadow */
  transform: rotate(-2.5deg);
  transition: transform 0.65s var(--ease), box-shadow 0.55s var(--ease);
  will-change: transform, box-shadow;
}

/* brass hanging nail */
.testi__frame::before {
  content: "";
  position: absolute;
  top: -26px;               /* clears the 16px outer frame */
  left: 50%;
  transform: translateX(-50%);
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: radial-gradient(circle at 38% 32%, #f5de88, #9a7118 65%);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(140, 100, 20, 0.4);
  z-index: 2;
}

/* thin hanging wire from nail down to frame top */
.testi__frame::after {
  content: "";
  position: absolute;
  top: -16px;               /* from nail down to frame edge */
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  height: 16px;
  background: linear-gradient(rgba(201,168,76,0.6), rgba(201,168,76,0.15));
}

.testi__frame img {
  display: block;
  width: 100%;
  border: none;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.12);  /* subtle vignette */
  filter: brightness(0.84) saturate(0.75) sepia(0.08);
  transition: filter 0.55s var(--ease);
}

/* alternate tilt direction on even slides */
.testi__slide:nth-child(even) .testi__frame { transform: rotate(2deg); }

/* hover — frame levels, brightens, casts deeper shadow */
.testi__slide:hover .testi__frame,
.testi__slide.active .testi__frame {
  transform: rotate(0deg) scale(1.03);
  box-shadow:
    inset 0 2px 8px rgba(0, 0, 0, 0.20),
    0 0 0 2px  rgba(201, 168, 76, 1),
    0 0 0 15px #1a130a,
    0 0 0 16px rgba(201, 168, 76, 0.75),
    0 44px 100px -6px rgba(0, 0, 0, 0.95),
    0 12px 32px rgba(0, 0, 0, 0.55);
}
.testi__slide:hover .testi__frame img,
.testi__slide.active .testi__frame img {
  filter: brightness(1) saturate(0.9) sepia(0);
}

.testi__content { /* quote + attribution wrapper */ }

.testi__quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  line-height: 1.55;
  letter-spacing: -0.01em;
  color: var(--paper);
  margin: 0 0 2rem;
}
.testi__mark {
  font-family: var(--serif);
  font-size: 4rem;
  line-height: 0.8;
  color: var(--gold);
  display: block;
  margin-bottom: 1.2rem;
  opacity: 0.9;
}
.testi__by {
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: flex-start;
}
.testi__by img { height: 22px; filter: brightness(0) invert(1); opacity: 0.8; }
.testi__by .who {
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: var(--paper);
  text-align: left;
}
.testi__by .who span {
  display: block;
  font-family: var(--sans-light);
  font-weight: 300;
  font-size: 0.7rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
}
.testi__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.6rem;
  margin-top: clamp(2rem, 4vw, 3rem);
}
.testi__btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: none;
  color: var(--paper);
  cursor: pointer;
  font-size: 1rem;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease);
}
.testi__btn:hover { background: var(--gold); color: #000; border-color: var(--gold); }
.testi__dots { display: flex; gap: 0.5rem; }
.testi__dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--line);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease), width 0.3s var(--ease);
}
.testi__dot.active { background: var(--gold); width: 26px; border-radius: 8px; }

/* ===================================================================
   QUOTE + VIDEO
   =================================================================== */
.closing { background: var(--ink); position: relative; }
.bigquote {
  max-width: 1000px;
  margin: 0 auto clamp(3.5rem, 7vw, 6rem);
  text-align: center;
}
.bigquote p {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(1.4rem, 3.4vw, 2.6rem);
  line-height: 1.4;
  letter-spacing: -0.01em;
  margin: 0 0 1.6rem;
}
.bigquote p em { font-family: var(--serif-it); color: var(--gold-soft); }
.bigquote cite {
  font-family: var(--sans-semi);
  font-weight: 600;
  font-style: normal;
  font-size: 0.74rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--gold);
}

.video {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  aspect-ratio: 16 / 9;
  max-width: 1000px;
  margin-inline: auto;
  box-shadow: 0 40px 80px -30px rgba(0,0,0,0.8);
}
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* ===================================================================
   FOOTER
   =================================================================== */
.footer {
  background: var(--ink-2);
  border-top: 1px solid var(--line);
  padding-top: clamp(4rem, 8vw, 7rem);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: clamp(2.5rem, 6vw, 5rem);
  align-items: end;
  padding-bottom: clamp(3rem, 6vw, 5rem);
  border-bottom: 1px solid var(--line);
}
.footer__cta {
  font-family: var(--heading);
  font-weight: 600;
  font-size: clamp(2.2rem, 6vw, 5rem);
  line-height: 1.02;
  letter-spacing: -0.02em;
  margin: 0;
}
.footer__cta a {
  color: var(--gold);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 2px solid transparent;
  transition: border-color 0.3s var(--ease);
}
.footer__cta a:hover { border-color: var(--gold); }
.footer__right p { color: var(--paper-dim); margin: 0 0 1.4rem; }
.footer__social {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.7rem;
  padding: 0; margin: 0;
}
.footer__social a {
  display: grid; place-items: center;
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--paper-dim);
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.footer__social a:hover { background: var(--gold); color: #000; border-color: var(--gold); transform: translateY(-3px); }

.footer__bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 2rem clamp(2rem, 4vw, 3rem);
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--muted);
}
.footer__bottom a:hover { color: var(--gold); }
.to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--sans-semi);
  font-weight: 600;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper);
}
.to-top:hover { color: var(--gold); }
.to-top .arrow { transition: transform 0.4s var(--ease); }
.to-top:hover .arrow { transform: translateY(-4px); }

/* ===================================================================
   LIGHTBOX
   =================================================================== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9990;
  background: rgba(6, 6, 8, 0.96);
  backdrop-filter: blur(8px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s var(--ease);
}
.lightbox.open { opacity: 1; visibility: visible; }
.lightbox__stage {
  max-width: min(92vw, 1300px);
  max-height: 82vh;
  position: relative;
}
.lightbox__img {
  max-width: 100%;
  max-height: 82vh;
  border-radius: 10px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.6);
  transform: scale(0.96);
  transition: transform 0.5s var(--ease);
}
.lightbox.open .lightbox__img { transform: scale(1); }
.lightbox__cap {
  position: absolute;
  left: 0; right: 0; bottom: -3rem;
  text-align: center;
  font-family: var(--sans-med);
  font-weight: 500;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
  color: var(--paper-dim);
}
.lightbox__cap b { color: var(--gold); font-family: var(--sans-semi); font-weight: 600; }
.lb-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20,20,24,0.6);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.2rem;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease);
  z-index: 2;
}
.lb-btn:hover { background: var(--gold); color: #000; }
.lb-prev { left: clamp(0.6rem, 3vw, 2.5rem); }
.lb-next { right: clamp(0.6rem, 3vw, 2.5rem); }
.lb-close {
  position: absolute;
  top: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  width: 50px; height: 50px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(20,20,24,0.6);
  color: var(--paper);
  cursor: pointer;
  font-size: 1.3rem;
  display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), transform 0.3s var(--ease);
  z-index: 3;
}
.lb-close:hover { background: var(--gold); color: #000; transform: rotate(90deg); }

/* ===================================================================
   REVEAL ANIMATIONS
   =================================================================== */
[data-reveal] {
  opacity: 0;
  transform: translateY(38px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].in { opacity: 1; transform: none; }
[data-reveal="left"]  { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="scale"] { transform: scale(0.94); }
[data-reveal].in { transform: none; }
[data-delay="1"] { transition-delay: 0.1s; }
[data-delay="2"] { transition-delay: 0.2s; }
[data-delay="3"] { transition-delay: 0.3s; }
[data-delay="4"] { transition-delay: 0.4s; }
[data-delay="5"] { transition-delay: 0.5s; }

/* ===================================================================
   RESPONSIVE
   =================================================================== */
@media (max-width: 1024px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__media { max-width: 420px; }
  .pillars__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; align-items: start; }
}

@media (max-width: 760px) {
  body { font-size: 1rem; }
  .section { padding-block: clamp(3.5rem, 14vw, 5.5rem); }
  .proj-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: 1fr 1fr; gap: 1.2rem 1rem; }
  .photo__intro { grid-template-columns: 1fr; }
  .photo__count { text-align: left; }

  /* mobile cinematic gallery — clean 2-up rhythm */
  .gallery { columns: 2; column-gap: 10px; }
  .shot { margin-bottom: 10px; }
  .shot__cap { transform: none; opacity: 1; }
  .shot__cap { background: linear-gradient(transparent, rgba(10,10,12,0.85)); }
  .shot::after { opacity: 0.85; }

  .hero__scroll { display: none; }
  .testi__card { grid-template-columns: 1fr; text-align: center; gap: 2rem; }
  .testi__frame { max-width: 220px; margin-inline: auto; }
  .testi__by { justify-content: center; }
  .testi__by .who { text-align: center; }
}

@media (max-width: 460px) {
  :root { --pad-x: 1.25rem; }
  .gallery { columns: 1; column-gap: 8px; }
  .shot { margin-bottom: 8px; }
  .facts { grid-template-columns: 1fr 1fr; }
}
