/* =============================================================
   NEEV — Automotive Photographer
   Stylesheet
   ============================================================= */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@300;400;500;600;700&family=Inter:wght@300;400;500&display=swap');

/* -------------------------------------------------------------
   Design tokens
   ------------------------------------------------------------- */
:root {
  --black: #0a0a0b;
  --black-soft: #131315;
  --card: #17181a;
  --chrome-1: #8f9296;
  --chrome-2: #d9dbdd;
  --chrome-3: #ffffff;
  --chrome-4: #5a5d61;
  --line: #2a2b2d;
  --text: #e8e9ea;
  --text-dim: #8a8c8f;
  --accent: #5ad17a;

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-weight: 300;
  overflow-x: hidden;
}

::selection {
  background: var(--chrome-2);
  color: var(--black);
}

h1,
h2,
h3,
.mono {
  font-family: 'Oswald', sans-serif;
  text-transform: uppercase;
}

/* Chrome text / gradient utility */
.chrome-text {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #c7c9cc 22%,
    #8f9296 45%,
    #f2f3f4 55%,
    #9a9da1 70%,
    #e5e6e8 88%,
    #6c6e71 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 100% 300%;
}

/* Film-grain overlay */
.noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* Scroll progress bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2px;
  width: 100%;
  transform: scaleX(0);
  transform-origin: 0 50%;
  background: linear-gradient(90deg, var(--chrome-1), var(--chrome-3), var(--chrome-1));
  z-index: 200;
  will-change: transform;
}

/* -------------------------------------------------------------
   Navigation
   ------------------------------------------------------------- */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 28px 5vw;
  background: linear-gradient(180deg, rgba(10, 10, 11, 0.9), rgba(10, 10, 11, 0));
  transition: padding 0.4s var(--ease-out), background 0.4s ease, border-color 0.4s ease;
  border-bottom: 1px solid transparent;
}

nav.scrolled {
  padding: 16px 5vw;
  background: rgba(10, 10, 11, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.logo {
  font-size: 20px;
  letter-spacing: 4px;
  font-weight: 600;
}

.navlinks {
  display: flex;
  gap: 40px;
  list-style: none;
}

.navlinks a {
  color: var(--text-dim);
  text-decoration: none;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.navlinks a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, var(--chrome-1), var(--chrome-3), var(--chrome-1));
  transition: width 0.35s ease;
}

.navlinks a:hover {
  color: var(--chrome-3);
}

.navlinks a:hover::after {
  width: 100%;
}

/* Hamburger toggle — hidden on desktop, shown on mobile */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  padding: 0;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: var(--text);
  transition: transform 0.35s var(--ease-out), opacity 0.3s ease;
}

.nav-toggle.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* -------------------------------------------------------------
   Hero
   ------------------------------------------------------------- */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 0 5vw 80px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 70% 20%, rgba(140, 145, 150, 0.08), transparent 60%),
    linear-gradient(180deg, rgba(10, 10, 11, 0.35) 0%, rgba(10, 10, 11, 0.55) 55%, rgba(10, 10, 11, 0.95) 100%),
    url('../images/hero.jpg');
  background-size: cover;
  background-position: center 40%;
  background-repeat: no-repeat;
}

/* Cinematic entrance veil (only active when JS animations run) */
.hero-veil {
  position: absolute;
  inset: 0;
  background: var(--black);
  z-index: 20;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease;
}

html.js .hero-veil {
  opacity: 1;
}

html.js .hero-veil.out {
  opacity: 0;
}

.eyebrow {
  font-family: 'Oswald', sans-serif;
  letter-spacing: 6px;
  font-size: 12px;
  color: var(--text-dim);
  margin-bottom: 18px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eyebrow::before {
  content: '';
  width: 36px;
  height: 1px;
  background: linear-gradient(90deg, var(--chrome-3), transparent);
}

.hero h1 {
  font-size: clamp(48px, 9vw, 130px);
  line-height: 0.92;
  font-weight: 700;
  letter-spacing: -1px;
  text-transform: none;
  padding-bottom: 0.15em;
}

.hero-sub {
  margin-top: 26px;
  max-width: 520px;
  color: var(--text-dim);
  font-size: 16px;
  line-height: 1.7;
  font-weight: 300;
}

.hero-status {
  margin-top: 28px;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 5vw;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 3px;
  color: var(--text-dim);
  text-transform: uppercase;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 50px;
  background: linear-gradient(180deg, var(--chrome-3), transparent);
  animation: scrollpulse 2s ease-in-out infinite;
}

@keyframes scrollpulse {
  0%,
  100% { opacity: 0.3; }
  50% { opacity: 1; }
}

/* -------------------------------------------------------------
   Availability status pill
   ------------------------------------------------------------- */
.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 9px 18px;
  border: 1px solid var(--line);
  border-radius: 100px;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  background: rgba(19, 19, 21, 0.4);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.status-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 0 rgba(90, 209, 122, 0.55);
  animation: pulseDot 2.2s infinite;
}

@keyframes pulseDot {
  0% { box-shadow: 0 0 0 0 rgba(90, 209, 122, 0.55); }
  70% { box-shadow: 0 0 0 10px rgba(90, 209, 122, 0); }
  100% { box-shadow: 0 0 0 0 rgba(90, 209, 122, 0); }
}

/* -------------------------------------------------------------
   Section scaffolding
   ------------------------------------------------------------- */
.section {
  padding: 140px 5vw;
  position: relative;
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 70px;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 24px;
}

.section-head h2 {
  font-size: clamp(30px, 4vw, 52px);
  font-weight: 600;
  letter-spacing: -0.5px;
}

.section-num {
  font-family: 'Oswald', sans-serif;
  color: var(--text-dim);
  font-size: 14px;
  letter-spacing: 2px;
}

/* -------------------------------------------------------------
   Gallery
   ------------------------------------------------------------- */
.gallery {
  columns: 3 220px;
  column-gap: 2px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 2px;
  background: var(--card);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border: 1px solid transparent;
  transition: border-color 0.4s ease;
}

.gallery-item.short { aspect-ratio: 4 / 3; }
.gallery-item.med { aspect-ratio: 3 / 4; }
.gallery-item.tall { aspect-ratio: 2 / 3; }

.gallery-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  filter: saturate(1.05) contrast(1.03);
  transition: transform 0.6s ease, filter 0.4s ease;
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 1px solid transparent;
  background: linear-gradient(135deg, var(--chrome-3), var(--chrome-1), var(--chrome-3)) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
  z-index: 2;
}

.gallery-item:hover::after { opacity: 1; }
.gallery-item:hover .gallery-img { transform: scale(1.06); }

/* Empty gallery slots — awaiting future photos */
.gallery-item.is-placeholder {
  cursor: default;
  background: var(--card);
}

.gallery-item.is-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.22;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 30px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8c8f' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M23 19a2 2 0 0 1-2 2H3a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h4l2-3h6l2 3h4a2 2 0 0 1 2 2z'/%3E%3Ccircle cx='12' cy='13' r='4'/%3E%3C/svg%3E");
}

.gallery-item.is-placeholder:hover::after { opacity: 0; }

.gallery-note {
  margin-top: 24px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
  text-align: center;
  text-transform: uppercase;
}

/* -------------------------------------------------------------
   About
   ------------------------------------------------------------- */
.about-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 70px;
  align-items: start;
}

.about-content {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

/* Portrait — placeholder until a photo is supplied */
.about-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}

.about-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.about-photo-icon {
  width: 42px;
  height: 42px;
  color: var(--text-dim);
  opacity: 0.55;
}

.about-photo-label {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
}

.about-text p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--text-dim);
  margin-bottom: 22px;
  max-width: 520px;
}

.about-text strong {
  color: var(--text);
  font-weight: 500;
}

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

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
}

.spec-label {
  color: var(--text-dim);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.spec-val {
  font-size: 15px;
  letter-spacing: 0.5px;
}

.niche-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.niche-tag {
  padding: 10px 18px;
  border: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-dim);
  transition: all 0.35s ease;
  position: relative;
}

.niche-tag:hover {
  color: var(--text);
  border-color: var(--chrome-2);
  box-shadow: 0 0 0 1px var(--chrome-1), 0 4px 20px rgba(200, 203, 206, 0.08);
}

.niche-tag.primary {
  color: var(--black);
  background: linear-gradient(135deg, var(--chrome-3), var(--chrome-1) 50%, var(--chrome-2));
  border-color: transparent;
}

/* -------------------------------------------------------------
   Services / What I Shoot
   ------------------------------------------------------------- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.service-card {
  background: var(--card);
  border: 1px solid transparent;
  padding: 40px 28px 44px;
  position: relative;
  overflow: hidden;
  transition: border-color 0.4s ease, transform 0.5s var(--ease-out), background 0.4s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(150deg, rgba(217, 219, 221, 0.06), transparent 55%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.service-card:hover {
  border-color: var(--chrome-2);
  transform: translateY(-6px);
}

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

.service-num {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--text-dim);
}

.service-card h3 {
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.3px;
  margin: 16px 0 14px;
}

.service-card p {
  color: var(--text-dim);
  font-size: 14px;
  line-height: 1.75;
}

/* -------------------------------------------------------------
   Contact / Hire Me
   ------------------------------------------------------------- */
.contact-section {
  text-align: center;
  padding: 160px 5vw 100px;
}

.contact-section h2 {
  font-size: clamp(36px, 6vw, 80px);
  font-weight: 700;
  margin-bottom: 24px;
  letter-spacing: -1px;
}

.contact-status {
  margin-bottom: 34px;
}

.contact-section p {
  color: var(--text-dim);
  font-size: 16px;
  margin-bottom: 50px;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.chrome-btn {
  padding: 18px 40px;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  letter-spacing: 3px;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--text);
  border: 1px solid var(--line);
  position: relative;
  overflow: hidden;
  transition: color 0.4s ease, border-color 0.4s ease, transform 0.3s var(--ease-out);
}

.chrome-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.5) 48%,
    rgba(255, 255, 255, 0.9) 50%,
    rgba(255, 255, 255, 0.5) 52%,
    transparent 70%
  );
  transform: translateX(-120%);
  transition: transform 0.7s ease;
}

.chrome-btn:hover {
  color: var(--black);
  border-color: var(--chrome-2);
}

.chrome-btn:hover::before { transform: translateX(120%); }

.chrome-btn span {
  position: relative;
  z-index: 2;
  mix-blend-mode: difference;
}

button.chrome-btn {
  background: none;
  cursor: pointer;
  align-self: center;
  margin-top: 10px;
}

/* Email + Instagram line */
.contact-section .contact-details {
  margin-bottom: 46px;
  font-family: 'Oswald', sans-serif;
  font-size: 15px;
  letter-spacing: 1.5px;
  color: var(--text-dim);
}

.contact-details a {
  color: var(--text);
  text-decoration: none;
  border-bottom: 1px solid var(--line);
  padding-bottom: 2px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.contact-details a:hover {
  color: var(--chrome-3);
  border-color: var(--chrome-2);
}

.contact-sep {
  margin: 0 14px;
  color: var(--text-dim);
}

/* Contact form */
.contact-form {
  max-width: 540px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.form-row {
  display: flex;
  gap: 16px;
}

.form-row > * {
  flex: 1;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 15px 16px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  color: var(--text);
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  transition: border-color 0.3s ease, background 0.3s ease;
  -webkit-appearance: none;
  appearance: none;
}

.contact-form textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.6;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--chrome-2);
  background: var(--black-soft);
}

/* Select: dim while on the placeholder option, custom chevron */
.contact-form select {
  color: var(--text-dim);
  cursor: pointer;
  padding-right: 40px;
  background-repeat: no-repeat;
  background-position: right 16px center;
  background-size: 12px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%238a8c8f' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
}

.contact-form select:valid {
  color: var(--text);
}

.contact-form select option {
  color: var(--text);
  background: var(--black-soft);
}

.form-note {
  min-height: 16px;
  margin-top: 2px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text-dim);
  text-align: center;
}

/* -------------------------------------------------------------
   Lightbox
   ------------------------------------------------------------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 6, 7, 0.94);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  padding: 40px;
}

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

.lightbox-img {
  max-width: 90vw;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
  border: 1px solid var(--line);
  transform: scale(0.94);
  opacity: 0;
  transition: transform 0.45s var(--ease-out), opacity 0.35s ease;
}

.lightbox.active .lightbox-img {
  transform: scale(1);
  opacity: 1;
}

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 5vw;
  font-size: 36px;
  line-height: 1;
  color: var(--chrome-2);
  cursor: pointer;
  font-family: 'Oswald', sans-serif;
  font-weight: 300;
  transition: color 0.3s ease, transform 0.3s ease;
}

.lightbox-close:hover {
  color: var(--chrome-3);
  transform: rotate(90deg);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  padding: 0;
  background: rgba(19, 19, 21, 0.5);
  border: 1px solid var(--line);
  color: var(--chrome-2);
  cursor: pointer;
  z-index: 3;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.lightbox-prev { left: 5vw; }
.lightbox-next { right: 5vw; }

.lightbox-nav:hover {
  color: var(--chrome-3);
  border-color: var(--chrome-2);
  background: rgba(19, 19, 21, 0.85);
}

.lightbox-nav svg {
  width: 22px;
  height: 22px;
}

@media (max-width: 560px) {
  .lightbox-nav { width: 44px; height: 44px; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}

/* -------------------------------------------------------------
   Footer
   ------------------------------------------------------------- */
footer {
  padding: 40px 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* -------------------------------------------------------------
   Scroll reveal (CSS transitions + IntersectionObserver)
   Initial hidden states apply only under html.js. If JS is off
   or the user prefers reduced motion, .reveal elements stay
   fully visible — nothing is trapped behind an animation.
   ------------------------------------------------------------- */
html.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s var(--ease-out);
  will-change: opacity, transform;
}

html.js .reveal.reveal--right { transform: translateX(30px); }
html.js .reveal.reveal--fade { transform: none; }

html.js .reveal.in {
  opacity: 1;
  transform: none;
}

/* -------------------------------------------------------------
   Responsive
   ------------------------------------------------------------- */
@media (max-width: 900px) {
  .gallery { columns: 2 200px; }
  .about-wrap { grid-template-columns: 1fr; gap: 50px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Show the hamburger, turn the links into a slide-in panel */
  .nav-toggle { display: flex; }

  .navlinks {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: min(72vw, 300px);
    flex-direction: column;
    justify-content: center;
    gap: 34px;
    padding: 0 44px;
    background: rgba(10, 10, 11, 0.97);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-left: 1px solid var(--line);
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }

  .navlinks.open { transform: translateX(0); }

  .navlinks a {
    font-size: 18px;
    letter-spacing: 3px;
  }
}

@media (max-width: 560px) {
  .gallery { columns: 2; column-gap: 2px; }
  nav { padding: 22px 6vw; }
  nav.scrolled { padding: 14px 6vw; }
  .section { padding: 90px 6vw; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { flex-direction: column; }
}

/* Respect reduced-motion for CSS-driven loops */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
