/* ============================================================
   LATHIYA HARSHAL — PHOTOGRAPHY PORTFOLIO
   Editorial · Cinematic · Minimal
   ============================================================ */

/* ===== DESIGN TOKENS ===== */
:root {
  /* Surfaces */
  --color-bg: #0a0a0a;
  --color-surface: #111111;
  --color-surface-elevated: #171717;

  /* Text */
  --color-text: #f5f3ee;
  --color-text-muted: #a8a6a0;
  --color-text-subtle: #8c8c8c; /* ~6:1 on --color-bg, passes WCAG AA for small text */

  /* Accent */
  --color-accent: #c9a96e;
  --color-accent-soft: rgba(201, 169, 110, 0.12);

  /* Borders */
  --color-border: rgba(255, 255, 255, 0.1);
  --color-border-accent: rgba(201, 169, 110, 0.35);

  /* Overlays */
  --color-overlay: rgba(0, 0, 0, 0.55);
  --color-overlay-deep: rgba(0, 0, 0, 0.85);

  /* Layout */
  --container-width: 1400px;
  --container-pad: 2rem;
  --section-pad: 7rem;

  /* Header height for sticky offset */
  --header-height: 72px;

  /* Typography */
  --font-display: "Cinzel", serif;
  --font-body: "Inter", sans-serif;

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-smooth: cubic-bezier(0.165, 0.84, 0.44, 1);
  --duration-fast: 0.25s;
  --duration-med: 0.5s;
  --duration-slow: 0.8s;

  /* Focus */
  --focus-ring: 2px solid var(--color-accent);
  --focus-offset: 3px;
}

/* ===== RESET & BASE ===== */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 5rem;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul {
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  background: none;
  border: none;
  color: inherit;
}

/* ===== FOCUS STATES ===== */
:focus-visible {
  outline: var(--focus-ring);
  outline-offset: var(--focus-offset);
}

/* ===== TYPOGRAPHY ===== */
h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 1.2;
}

.eyebrow {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  color: var(--color-text);
  letter-spacing: 0.02em;
}

/* ===== LAYOUT ===== */
.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
}

.section {
  padding: var(--section-pad) 0;
}

.section-heading {
  margin-bottom: 4rem;
  text-align: center;
}

/* ===== SKIP LINK ===== */
.skip-link {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 2000;
  padding: 0.75rem 1.25rem;
  background: var(--color-accent);
  color: var(--color-bg);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transform: translateY(-200%);
  transition: transform var(--duration-fast) ease;
}

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

/* ===== SCROLL PROGRESS ===== */
.progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 0%;
  background: var(--color-accent);
  z-index: 1000;
  pointer-events: none;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.9rem 2.75rem;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  transition:
    background-color var(--duration-fast) ease,
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease;
}

.btn-outline {
  border: 1px solid var(--color-border-accent);
  color: var(--color-text);
  background: transparent;
}

.btn-outline:hover {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--color-bg);
}

.btn-solid {
  border: 1px solid var(--color-accent);
  background: var(--color-accent);
  color: var(--color-bg);
}

.btn-solid:hover {
  background: transparent;
  color: var(--color-accent);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  height: var(--header-height);
  background: rgba(10, 10, 10, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition:
    background-color var(--duration-med) ease,
    border-color var(--duration-med) ease;
}

.site-header.scrolled {
  background: rgba(10, 10, 10, 0.9);
  border-bottom-color: var(--color-border);
}

.nav {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 var(--container-pad);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.logo-mark {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  border: 1px solid var(--color-border-accent);
  padding: 0.3rem 0.55rem;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-display);
  font-size: 0.85rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-link {
  position: relative;
  font-size: 0.78rem;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  padding: 0.25rem 0;
  transition: color var(--duration-fast) ease;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-med) var(--ease-out);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-text);
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Hamburger */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 0.5rem;
  z-index: 200;
}

.menu-toggle-bar {
  width: 26px;
  height: 1.5px;
  background: var(--color-text);
  transition:
    transform var(--duration-med) var(--ease-out),
    opacity var(--duration-fast) ease;
}

.menu-toggle.open .menu-toggle-bar:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.menu-toggle.open .menu-toggle-bar:nth-child(2) {
  opacity: 0;
}

.menu-toggle.open .menu-toggle-bar:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* ===== MOBILE MENU ===== */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 150;
  background: var(--color-bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5rem 2rem 3rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-med) ease,
    visibility var(--duration-med) ease;
}

.mobile-menu.open {
  opacity: 1;
  visibility: visible;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-link {
  display: flex;
  align-items: baseline;
  gap: 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 7vw, 2.5rem);
  color: var(--color-text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-border);
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity var(--duration-med) ease,
    transform var(--duration-med) var(--ease-out),
    color var(--duration-fast) ease;
}

.mobile-menu.open .mobile-link {
  opacity: 1;
  transform: translateY(0);
}

.mobile-menu.open .mobile-link:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open .mobile-link:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open .mobile-link:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open .mobile-link:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open .mobile-link:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open .mobile-link:nth-child(6) { transition-delay: 0.3s; }

.mobile-link span {
  font-family: var(--font-body);
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: var(--color-accent);
}

.mobile-link:hover {
  color: var(--color-accent);
}

.mobile-menu-footer {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-menu-footer p {
  font-size: 0.8rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.mobile-menu-footer a {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  transition: color var(--duration-fast) ease;
}

.mobile-menu-footer a:hover {
  color: var(--color-accent);
}

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  animation: heroZoom 12s var(--ease-out) forwards;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(to bottom, rgba(10, 10, 10, 0.55) 0%, rgba(10, 10, 10, 0.25) 40%, rgba(10, 10, 10, 0.85) 100%),
    radial-gradient(ellipse at center, transparent 0%, rgba(10, 10, 10, 0.45) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 0 var(--container-pad);
  margin-top: 2rem;
}

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 1.75rem;
  opacity: 0;
  animation: fadeUp 0.9s var(--ease-out) 0.2s forwards;
}

.hero-title {
  font-size: clamp(2.75rem, 8vw, 5.5rem);
  line-height: 1.08;
  letter-spacing: 0.01em;
  color: var(--color-text);
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.4s forwards;
}

.hero-title-accent {
  color: var(--color-accent);
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2vw, 1.15rem);
  font-weight: 300;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2.5rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.6s forwards;
}

.hero .btn {
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 0.8s forwards;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  opacity: 0;
  animation: fadeUp 1s var(--ease-out) 1.2s forwards;
}

.scroll-indicator-text {
  font-size: 0.65rem;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--color-text-muted);
}

.scroll-indicator-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}

/* ============================================================
   ABOUT
   ============================================================ */
.about {
  background: var(--color-bg);
}

.about-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 5rem;
  align-items: center;
}

.about-portrait {
  position: relative;
}

.about-portrait::before {
  content: "";
  position: absolute;
  top: -1.25rem;
  left: -1.25rem;
  width: 100%;
  height: 100%;
  border: 1px solid var(--color-border-accent);
  z-index: 0;
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  filter: grayscale(15%);
}

.about-name {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.about-role {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 2.5rem;
}

.about-bio p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
  max-width: 60ch;
}

.about-focus {
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-border);
}

.about-focus-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  margin-bottom: 1rem;
}

.about-focus-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.about-focus-list li {
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  border: 1px solid var(--color-border);
  padding: 0.5rem 1.25rem;
  transition:
    border-color var(--duration-fast) ease,
    color var(--duration-fast) ease;
}

.about-focus-list li:hover {
  border-color: var(--color-border-accent);
  color: var(--color-accent);
}

/* ============================================================
   THE GALLERY
   ============================================================ */
.portfolio {
  background: var(--color-surface);
  padding-bottom: var(--section-pad);
}

.portfolio .section-heading {
  margin-bottom: 4rem;
}

/* Sticky category navigation */
.gallery-filter {
  position: sticky;
  top: var(--header-height);
  z-index: 50;
  background: transparent;
  transition:
    background-color var(--duration-med) ease,
    border-color var(--duration-med) ease,
    backdrop-filter var(--duration-med) ease;
  border-top: 1px solid transparent;
  border-bottom: 1px solid transparent;
}

.gallery-filter.is-stuck {
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-top-color: var(--color-border);
  border-bottom-color: var(--color-border);
}

.filter-buttons {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  padding: 1.25rem 0;
}

.filter-btn {
  position: relative;
  padding: 0.25rem 0;
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  transition: color var(--duration-fast) ease;
}

.filter-btn::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--duration-med) var(--ease-out);
}

.filter-btn:hover {
  color: var(--color-text-muted);
}

.filter-btn.active {
  color: var(--color-text);
}

.filter-btn.active::after {
  transform: scaleX(1);
}

/* Gallery container */
.gallery-container {
  padding-top: 2rem;
}

/* Editorial masonry — preserves natural image proportions using CSS columns */
.gallery {
  column-count: 3;
  column-gap: 1.25rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: var(--color-surface-elevated);
  break-inside: avoid;
  margin-bottom: 1.25rem;
  opacity: 0;
  transform: translateY(16px);
  animation: galleryIn 0.5s var(--ease-out) forwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.02s; }
.gallery-item:nth-child(2) { animation-delay: 0.05s; }
.gallery-item:nth-child(3) { animation-delay: 0.08s; }
.gallery-item:nth-child(4) { animation-delay: 0.11s; }
.gallery-item:nth-child(5) { animation-delay: 0.14s; }
.gallery-item:nth-child(6) { animation-delay: 0.17s; }
.gallery-item:nth-child(7) { animation-delay: 0.2s; }
.gallery-item:nth-child(8) { animation-delay: 0.23s; }
.gallery-item:nth-child(9) { animation-delay: 0.26s; }
.gallery-item:nth-child(10) { animation-delay: 0.29s; }

.gallery-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform var(--duration-slow) var(--ease-smooth);
}

.gallery-item:hover img {
  transform: scale(1.04);
}

.item-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.85) 0%, transparent 60%);
  opacity: 0;
  transition: opacity var(--duration-med) ease;
}

.gallery-item:hover .item-overlay,
.gallery-item:focus-visible .item-overlay {
  opacity: 1;
}

.item-overlay h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.item-overlay p {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent);
}

/* Placeholder height while an image loads, and a quiet fallback if one is missing */
.gallery-item img {
  min-height: 160px;
}

.gallery-item.loaded img {
  min-height: 0;
}

.gallery-item.is-broken {
  min-height: 160px;
}

.gallery-item.is-broken img {
  visibility: hidden;
}

/* Honeypot: off-screen rather than display:none */
.form-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* Filter transition */
.gallery.filtering {
  opacity: 0;
  transform: translateY(8px);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

/* Empty state */
.gallery-empty {
  text-align: center;
  padding: 4rem 0;
  color: var(--color-text-muted);
  font-size: 0.95rem;
  letter-spacing: 0.05em;
}

/* ============================================================
   EXPERTISE
   ============================================================ */
.expertise {
  background: var(--color-bg);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.expertise-item {
  padding: 2.5rem 2rem;
  border: 1px solid var(--color-border);
  background: var(--color-surface-elevated);
  transition:
    border-color var(--duration-med) ease,
    transform var(--duration-med) var(--ease-out);
}

.expertise-item:hover {
  border-color: var(--color-border-accent);
  transform: translateY(-4px);
}

.expertise-number {
  display: block;
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--color-accent);
  margin-bottom: 1.5rem;
}

.expertise-title {
  font-size: 1.4rem;
  color: var(--color-text);
  margin-bottom: 0.75rem;
}

.expertise-desc {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.expertise-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  border-bottom: 1px solid var(--color-border-accent);
  padding-bottom: 2px;
  transition: border-color var(--duration-fast) ease;
}

.expertise-link:hover {
  border-bottom-color: var(--color-accent);
}

/* Five items in a three-column grid: centre the last two on the final row */
@media (min-width: 1025px) {
  .expertise-grid {
    grid-template-columns: repeat(6, 1fr);
  }

  .expertise-item {
    grid-column: span 2;
  }

  .expertise-item:nth-child(4) {
    grid-column: 2 / span 2;
  }

  .expertise-item:nth-child(5) {
    grid-column: 4 / span 2;
  }
}

/* ============================================================
   RECOGNITION
   ============================================================ */
.recognition {
  background: var(--color-surface);
}

.recognition-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.recognition-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 1px;
  background: var(--color-border);
}

.recognition-item {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 2.5rem;
  padding: 2rem 0 2rem 3rem;
}

.recognition-item::before {
  content: "";
  position: absolute;
  left: -4px;
  top: 2.5rem;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 4px var(--color-accent-soft);
}

.recognition-year {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--color-accent);
  padding-top: 0.25rem;
}

.recognition-content {
  position: relative;
}

.recognition-number {
  position: absolute;
  top: -0.5rem;
  right: 0;
  font-family: var(--font-display);
  font-size: 3.5rem;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-border);
  line-height: 1;
}

.recognition-title {
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.recognition-desc {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

.recognition-org {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact {
  background: var(--color-bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 5rem;
  align-items: start;
}

.contact-statement {
  font-size: 1.15rem;
  color: var(--color-text-muted);
  margin-bottom: 3rem;
  max-width: 40ch;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.contact-item-label {
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.contact-item-value {
  font-size: 1rem;
  color: var(--color-text);
  transition: color var(--duration-fast) ease;
}

a.contact-item-value:hover {
  color: var(--color-accent);
}

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

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--color-border);
  color: var(--color-text-muted);
  font-size: 1rem;
  transition:
    color var(--duration-fast) ease,
    border-color var(--duration-fast) ease,
    transform var(--duration-fast) ease;
}

.social-links a:hover {
  color: var(--color-accent);
  border-color: var(--color-border-accent);
  transform: translateY(-2px);
}

/* Form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-field label {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.form-field input,
.form-field textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  transition: border-color var(--duration-fast) ease;
  resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-subtle);
}

.form-field input:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--color-accent);
}

.form-field input.invalid,
.form-field textarea.invalid {
  border-color: #c0392b;
}

.form-error {
  font-size: 0.75rem;
  color: #e74c3c;
  min-height: 1em;
}

.form-status {
  font-size: 0.9rem;
  padding: 0.75rem 1rem;
  border: 1px solid transparent;
  min-height: 1em;
}

.form-status.success {
  color: #7fbf7f;
  border-color: rgba(127, 191, 127, 0.3);
  background: rgba(127, 191, 127, 0.08);
}

.form-status.error {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
  background: rgba(231, 76, 60, 0.08);
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--color-bg);
  border-top: 1px solid var(--color-border);
  padding: 3rem 0;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.footer-copy {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-tagline {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
}

.footer-nav {
  display: flex;
  gap: 2rem;
  margin-top: 0.5rem;
}

.footer-nav a {
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text-subtle);
  transition: color var(--duration-fast) ease;
}

.footer-nav a:hover {
  color: var(--color-accent);
}

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: var(--color-overlay-deep);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity var(--duration-med) ease,
    visibility var(--duration-med) ease;
}

.lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: min(90vw, 1200px);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 78vh;
  object-fit: contain;
  border: 1px solid var(--color-border);
}

.lightbox-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.25rem;
}

.lightbox-title {
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--color-text);
}

.lightbox-category {
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
}

.lightbox-counter {
  margin-top: 0.5rem;
  font-size: 0.7rem;
  letter-spacing: 0.3em;
  color: var(--color-text-subtle);
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text);
  transition:
    color var(--duration-fast) ease,
    background-color var(--duration-fast) ease;
}

.lightbox-close {
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  font-size: 1.25rem;
  border: 1px solid var(--color-border);
}

.lightbox-close:hover {
  color: var(--color-accent);
  border-color: var(--color-border-accent);
}

.lightbox-prev,
.lightbox-next {
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  font-size: 1rem;
  border: 1px solid var(--color-border);
  background: rgba(10, 10, 10, 0.5);
}

.lightbox-prev {
  left: 1.5rem;
}

.lightbox-next {
  right: 1.5rem;
}

.lightbox-prev:hover,
.lightbox-next:hover {
  color: var(--color-accent);
  border-color: var(--color-border-accent);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes heroZoom {
  from {
    transform: scale(1.08);
  }
  to {
    transform: scale(1);
  }
}

@keyframes scrollPulse {
  0%,
  100% {
    transform: scaleY(0.6);
    opacity: 0.4;
  }
  50% {
    transform: scaleY(1);
    opacity: 1;
  }
}

@keyframes galleryIn {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Scroll reveal */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity var(--duration-slow) var(--ease-out),
    transform var(--duration-slow) var(--ease-out);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================================
   REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .hero-bg img {
    transform: scale(1);
    animation: none;
  }

  .hero-eyebrow,
  .hero-title,
  .hero-subtitle,
  .hero .btn,
  .scroll-indicator {
    opacity: 1;
    animation: none;
  }

  .fade-in {
    opacity: 1;
    transform: none;
  }

  .gallery-item {
    opacity: 1;
    transform: none;
    animation: none;
  }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* Large desktop */
@media (max-width: 1280px) {
  .gallery {
    column-count: 3;
  }
}

/* Tablet */
@media (max-width: 1024px) {
  :root {
    --section-pad: 5rem;
    --header-height: 64px;
  }

  .nav-links {
    gap: 1.75rem;
  }

  .gallery {
    column-count: 2;
  }

  .about-layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .about-portrait {
    max-width: 420px;
    margin: 0 auto;
  }

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

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --container-pad: 1.25rem;
    --section-pad: 4rem;
    --header-height: 60px;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: flex;
  }

  .logo-text {
    display: none;
  }

  .hero {
    min-height: 100svh;
  }

  .hero-content {
    padding: 0 var(--container-pad);
  }

  .hero-title {
    font-size: clamp(2.25rem, 10vw, 3.25rem);
  }

  .hero-subtitle {
    letter-spacing: 0.18em;
  }

  .scroll-indicator {
    bottom: 1.75rem;
  }

  /* Gallery becomes single column editorial */
  .gallery {
    column-count: 1;
    column-gap: 0;
  }

  .gallery-item {
    margin-bottom: 1.25rem;
  }

  /* Horizontally scrollable sticky filter */
  .gallery-filter .container {
    padding: 0;
  }

  .filter-buttons {
    justify-content: flex-start;
    gap: 2rem;
    padding: 1rem var(--container-pad);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    white-space: nowrap;
  }

  .filter-buttons::-webkit-scrollbar {
    display: none;
  }

  .filter-btn {
    flex-shrink: 0;
  }

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

  .recognition-item {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    padding-left: 2rem;
  }

  .recognition-number {
    font-size: 2.5rem;
  }

  .lightbox-prev,
  .lightbox-next {
    top: auto;
    bottom: 1.5rem;
    transform: none;
    width: 48px;
    height: 48px;
  }

  .lightbox-prev {
    left: 1.25rem;
  }

  .lightbox-next {
    right: 1.25rem;
  }

  .lightbox-close {
    top: 1rem;
    right: 1rem;
  }

  .lightbox-content img {
    max-height: 68vh;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .filter-buttons {
    gap: 1.5rem;
  }

  .recognition-item {
    padding-left: 1.5rem;
  }

  .recognition-year {
    font-size: 1.25rem;
  }

  .recognition-title {
    font-size: 1.25rem;
  }
}