/* Neku Studio — Figma 94:431 ("Neku Website"): single centered column */

:root {
  --font: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif; /* Inter from Google Fonts, index.html */

  --slate-6: #64748b;
  --slate-7: #475569;
  --slate-8: #334155;
  --zinc-4: #d4d4d8;
  --zinc-8: #27272a;
  --gray-1: #fcfcfc;
  --gray-2: #f9f9f9;
  --gray-3: #f0f0f0;
  --slate-1: #f8fafc;

  --hairline: rgba(0,0,0,.05);
  --shadow-s: 0 .301px 1.505px -1.5px rgba(0,0,0,.08), 0 1.144px 5.721px -3px rgba(0,0,0,.04), 0 5px 25px -4.5px rgba(0,0,0,.016);
  --shadow-btn: 0 2px 3px -2px rgba(0,0,0,.12);

  --ease-out: cubic-bezier(.23, 1, .32, 1);
}

*, *::before, *::after { box-sizing: border-box; }
/* Figma tracking: -2% of each element's own font size (an em on body would inherit as a fixed px) */
body * { letter-spacing: -.02em; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  background: var(--gray-2);
  color: var(--slate-8);
  font-family: var(--font);
  letter-spacing: -.02em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-synthesis: none; /* a missing Inter weight shows as a bug, never a faked bold */
}
h1, h2, p, ul { margin: 0; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }
:focus-visible { outline: 2px solid var(--zinc-8); outline-offset: 2px; }
.lightbox :focus-visible { outline-color: #fff; } /* neutral on the dark viewer */

/* ---------- Page: one centered column (hero 444 · projects 994 · work 650 · plans 551 · about 444) ---------- */
main { display: flex; flex-direction: column; align-items: center; padding: 0 16px; }

/* ---------- Hero (94:38) ---------- */
.hero { width: 100%; max-width: 444px; padding-top: 69px; display: flex; flex-direction: column; gap: 30px; }
.hero__top { display: flex; flex-direction: column; gap: 24px; }
.intro__brand { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.logo { position: relative; display: inline-flex; align-items: center; gap: 8px; align-self: flex-start; }
.logo::before { content: ""; position: absolute; inset: -4px; } /* 43px hit area */
.logo__mark {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 35px;
  border-radius: 6px;
  background: linear-gradient(to bottom, #393939, #000);
  box-shadow: inset 0 0 6px rgba(255,255,255,.25);
}
.logo__text { font-size: 15px; line-height: 18px; font-weight: 600; color: #000; }
/* Live studio clock (Central Time), set by script.js */
.clock { display: flex; align-items: center; gap: 8px; font-size: 13px; line-height: 17px; color: var(--slate-6); white-space: nowrap; }
.clock__time { color: var(--slate-7); font-variant-numeric: tabular-nums; }

.hero__content { display: flex; flex-direction: column; gap: 32px; }
.hero__copy { display: flex; flex-direction: column; gap: 16px; }
.hero__title {
  max-width: 273px;
  font-size: 30px;
  font-weight: 600;
  line-height: 1.1; /* 33px */
  color: var(--slate-8);
  text-wrap: balance;
}
.hero__sub { max-width: 371px; font-size: 16px; line-height: 21px; color: var(--slate-6); text-wrap: pretty; }

/* Services: three on the first line, "Pitch decks" wraps (Figma 100:515) */
.services { display: flex; flex-wrap: wrap; gap: 14px 20px; max-width: 352px; padding: 0; list-style: none; }
.service { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 17px; color: var(--slate-6); white-space: nowrap; }
.service__icon { flex: none; width: 18px; height: 18px; }
.service__icon--phone { position: relative; }
.service__icon--phone img { position: absolute; left: 3.375px; top: .75px; width: 11.25px; height: 16.5px; } /* smart-phone-01 glyph position */

/* ---------- Buttons (CTA Buttons) ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 16px;
  border: .5px solid rgba(0,0,0,.15);
  border-radius: 999px;
  background: var(--gray-1);
  box-shadow: var(--shadow-btn);
  color: var(--slate-7);
  font-size: 16px;
  font-weight: 600;
  line-height: 24px;
  white-space: nowrap;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease-out, color .15s ease-out, border-color .15s ease-out, transform .16s var(--ease-out);
}
.btn:active { transform: scale(.96); }
.btn--dark { background: var(--zinc-8); color: rgba(255,255,255,.95); }

@media (hover: hover) and (pointer: fine) {
  .btn:hover { background: #fff; color: var(--slate-8); }
  .btn--dark:hover { background: #3f3f46; color: #fff; }
}

.btn--cta { align-self: flex-start; gap: 10px; height: 56px; padding: 0 17px 0 20px; font-size: 16px; } /* Large: 20px text side, 17px photo side */
.btn__avatar { flex: none; width: 20px; height: 20px; border-radius: 999px; object-fit: cover; }

/* ---------- Testimonials carousel (Figma 94:56) ---------- */
.detail {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: none;
  min-height: 173px;
  padding: 16px 20px 20px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--gray-3);
  box-shadow: var(--shadow-s);
  font-size: 16px;
  line-height: 19px;
}
/* Every slide shares one grid cell, so the card is as tall as the longest quote and never jumps */
.testimonials__track { display: grid; flex: 1; }
.testimonial {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  margin: 0;
  opacity: 0;
  transform: translateY(6px);
  visibility: hidden;
  transition: opacity .2s ease, transform .2s ease, visibility 0s linear .2s;
}
.testimonial.is-active {
  opacity: 1;
  transform: none;
  visibility: visible;
  transition: opacity .4s var(--ease-out) .1s, transform .4s var(--ease-out) .1s, visibility 0s;
}
.testimonial__quote { margin: 0; color: var(--slate-7); text-wrap: pretty; }
.testimonial__person { display: flex; align-items: flex-end; gap: 12px; padding-right: 112px; /* clears the dots */ }
.testimonial__avatar { flex: none; width: 41px; height: 41px; border-radius: 999px; object-fit: cover; background: #d7d7d7; }
.testimonial__meta { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.testimonial__name { font-weight: 600; color: var(--slate-8); white-space: nowrap; }
.testimonial__company { color: var(--slate-7); }

/* Dots: the active one stretches into a bar that fills while the quote is shown */
.testimonials__dots {
  position: absolute;
  right: 15px;
  bottom: 20px; /* centers the 40px targets on the name/company row */
  display: flex;
  align-items: center;
}
.testimonials__dot {
  display: grid;
  place-items: center;
  height: 40px;
  padding: 0 5px; /* 16px-wide targets that sit edge to edge, never overlapping */
  border: 0;
  background: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.testimonials__dot::before {
  content: "";
  grid-area: 1 / 1;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: rgba(0,0,0,.14);
  transition: width .3s var(--ease-out), background-color .15s ease-out;
}
.testimonials__dot[aria-current="true"]::before { width: 20px; }
@media (hover: hover) and (pointer: fine) {
  .testimonials__dot:not([aria-current="true"]):hover::before { background: rgba(0,0,0,.28); }
}
.testimonials__fill {
  grid-area: 1 / 1;
  width: 20px;
  height: 6px;
  border-radius: 999px;
  background: var(--slate-7);
  transform: scaleX(0);
  transform-origin: left;
  display: none; /* inactive dots stay 6px wide */
}
.testimonials__dot[aria-current="true"] .testimonials__fill {
  display: block;
  animation: testimonial-progress var(--duration, 6s) linear forwards;
}
@keyframes testimonial-progress { to { transform: scaleX(1); } }
/* Hold the current quote while someone is reading, hovering, or away from the tab */
.testimonials:hover .testimonials__fill,
.testimonials:focus-within .testimonials__fill,
.testimonials.is-paused .testimonials__fill { animation-play-state: paused; }

@media (prefers-reduced-motion: reduce) {
  .testimonial, .testimonial.is-active { transform: none; transition: none; }
  /* No auto-advance; the dots still switch quotes */
  .testimonials__dot[aria-current="true"] .testimonials__fill { animation: none; transform: none; }
}

/* ---------- Featured projects (115:1515): 2×2 preview cards ---------- */
.projects {
  width: 100%;
  max-width: 994px;
  margin-top: 66px; /* hero's 36px bottom + section's 30px top */
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
}
.project {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 4px 4px 20px;
  border: 1px solid var(--hairline);
  border-radius: 20px;
  background: var(--gray-2);
  box-shadow: 0 .301px 1.505px rgba(0,0,0,.08), 0 1.144px 5.721px rgba(0,0,0,.04);
}
.project__img {
  width: 100%;
  height: auto;
  aspect-ratio: 475 / 338;
  object-fit: cover;
  border: 1px solid var(--hairline);
  border-radius: 16px;
  box-shadow: var(--shadow-s);
}
.project__img--top { object-position: top; }      /* Meridian: hero section */
.project__img--orbit { object-position: 92% 50%; } /* Orbit: sign-in, chat and upgrade screens */
.project__meta { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; white-space: nowrap; }
.project__name { font-size: 16px; font-weight: 600; line-height: 19px; color: var(--slate-8); }
.project__type { font-size: 13px; font-weight: 500; line-height: 16px; color: var(--slate-7); }

/* ---------- Work (94:445): one 650px column of shots ---------- */
.work { width: 100%; max-width: 650px; padding-top: 78px; /* 30 + 47.5 in Figma */ display: flex; flex-direction: column; gap: 36px; scroll-margin-top: 24px; }
.shot { padding: 6px; border: 1px solid var(--hairline); border-radius: 18px; background: #fff; box-shadow: var(--shadow-s); }
.shot__zoom { display: block; width: 100%; padding: 0; border: 0; border-radius: 12px; background: none; cursor: zoom-in; -webkit-tap-highlight-color: transparent; }
.shot__zoom:focus-visible { outline-offset: 4px; }
.shot__img { width: 100%; height: auto; border-radius: 12px; } /* full picture at its natural proportions */

/* ---------- Plans (115:1365): gray tray, heading on top, white card inside ---------- */
.pricing {
  width: 100%;
  max-width: 551px;
  margin-top: 100px; /* 47.5 + 52 in Figma */
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px 4px 4px;
  border: 1px solid var(--hairline);
  border-radius: 28px;
  background: var(--gray-2);
  box-shadow: 0 .301px 1.505px rgba(0,0,0,.08), 0 1.144px 5.721px rgba(0,0,0,.04);
}
.pricing__head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 0 20px; }
.pricing__title { font-size: 22px; font-weight: 600; line-height: 27px; color: var(--slate-8); }
.pricing__card {
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding: 16px 20px 20px;
  border: 1px solid var(--hairline);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-s);
}
.pricing__spots { font-size: 13px; font-weight: 500; line-height: 16px; color: var(--slate-7); }
.pricing__list { display: flex; flex-direction: column; gap: 12px; }
/* Each plan links to the booking page */
.plan {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 16px 12px;
  border-radius: 20px;
  background: var(--gray-3);
  font-size: 13px;
  line-height: 16px;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease-out, transform .16s var(--ease-out);
}
.plan:active { transform: scale(.96); }
.plan__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; font-weight: 600; color: var(--slate-8); white-space: nowrap; }
.plan__name { font-size: 16px; line-height: 19px; }
.plan__price { font-size: 15px; line-height: 18px; font-variant-numeric: tabular-nums; }
.plan__desc { max-width: 268px; line-height: 20px; /* Figma 1.5 at 13px, rounded per line */ color: var(--slate-7); text-wrap: pretty; }
.plan__note { color: var(--slate-6); }
.plan--featured { background: var(--zinc-8); }
.plan--featured .plan__name { color: var(--slate-1); }
.plan--featured .plan__price { color: #fff; }
.plan--featured .plan__desc { color: var(--gray-1); }
.plan--featured .plan__note { color: var(--zinc-4); }
@media (hover: hover) and (pointer: fine) {
  .plan:hover { background: #e7e7e7; }
  .plan--featured:hover { background: #3f3f46; }
}
@media (prefers-reduced-motion: reduce) {
  .plan { transition: none; }
  .plan:active { transform: none; }
}
.pricing__foot { font-size: 13px; font-weight: 500; line-height: 16px; color: var(--slate-7); text-align: center; text-wrap: balance; }
.pricing__foot a { text-decoration: underline; text-decoration-thickness: from-font; text-underline-offset: 2px; text-decoration-color: rgba(71,85,105,.4); transition: text-decoration-color .15s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .pricing__foot a:hover { text-decoration-color: currentColor; }
}

/* ---------- About (94:541) ---------- */
.about { width: 100%; margin-top: 103px; /* 52 + 51 in Figma */ padding-bottom: 14px; /* + the strip's 40px shadow room ≈ Figma's 51px below the photos */ display: flex; flex-direction: column; align-items: center; }
.about__copy { width: 100%; max-width: 444px; display: flex; flex-direction: column; gap: 16px; }
.about__head { display: flex; align-items: center; gap: 16px; min-height: 51px; }
.about__title { font-size: 22px; font-weight: 600; line-height: 24px; color: var(--slate-8); }
.about__tile {
  position: relative;
  flex: none;
  width: 45px;
  height: 45px;
  overflow: hidden;
  border: 1px solid var(--gray-1);
  border-radius: 8px;
  box-shadow: var(--shadow-s);
  transform: rotate(8.19deg);
}
.about__tile img { width: 100%; height: 100%; object-fit: cover; }
.about__tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(144.37deg, rgba(255,255,255,0) 33%, rgba(255,255,255,.34) 91%); pointer-events: none; }
.about__text { display: flex; flex-direction: column; gap: 21px; font-size: 16px; line-height: 21px; color: var(--slate-6); text-wrap: pretty; }

/* Photo strip: centered when it fits, swipeable when it doesn't */
.photos {
  width: 100%;
  margin-top: 42px; /* + 18px padding = Figma's 60px; the padding is room for the hover lift */
  display: flex;
  justify-content: safe center;
  gap: 20px;
  padding: 18px 10px 40px; /* bottom room so the hover shadow fades out instead of being clipped */
  list-style: none;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scrollbar-width: none;
}
.photos::-webkit-scrollbar { display: none; }
.photos:focus-visible { outline-offset: -2px; border-radius: 20px; }
/* Wider than the screen: drag with a mouse (script.js); fingers swipe natively */
.photos.is-scrollable { cursor: grab; touch-action: pan-x pan-y; }
.photos.is-dragging { cursor: grabbing; scroll-snap-type: none; user-select: none; }
.photos.is-dragging .photos__item { pointer-events: none; } /* no hover lift mid-drag */
.photos__item {
  flex: none;
  overflow: hidden;
  border: 1px solid #fff;
  border-radius: 16px;
  box-shadow: var(--shadow-s);
  transform: rotate(var(--tilt, 0deg));
  scroll-snap-align: center;
  transition: transform .45s var(--ease-out), box-shadow .45s var(--ease-out);
}
/* Hover: the photo straightens, lifts and comes forward; it eases back to its tilt on leave */
@media (hover: hover) and (pointer: fine) {
  .photos__item { position: relative; }
  .photos__item:hover {
    z-index: 1;
    transform: rotate(0deg) translateY(-8px) scale(1.04);
    box-shadow: 0 1px 2px rgba(0,0,0,.04), 0 10px 22px -10px rgba(0,0,0,.18); /* soft lift shadow */
  }
}
@media (prefers-reduced-motion: reduce) {
  .photos__item { transition: none; }
  .photos__item:hover { transform: rotate(var(--tilt, 0deg)); }
}
.photos__item img { width: auto; height: 249px; object-fit: cover; user-select: none; -webkit-user-drag: none; }

/* ---------- Lightbox (shared with figma-home/lightbox.js) ---------- */
html.lightbox-open { overflow: hidden; }
.lightbox {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  overflow: hidden;
  color: #fff;
}
.lightbox::backdrop { background: transparent; }
.lightbox__bg {
  position: absolute;
  inset: 0;
  background: rgba(39,39,42,.8);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}
.lightbox__count {
  position: absolute;
  top: 28px;
  left: 28px;
  z-index: 2;
  font-family: var(--font);
  font-size: 15px;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 2px rgba(0,0,0,.45), 0 0 12px rgba(0,0,0,.35);
}
.lightbox__btn {
  position: absolute;
  z-index: 2;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 9999px;
  background: #f4f4f5;
  color: var(--zinc-8);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
  cursor: pointer;
  transition: background-color .15s ease-out, transform .15s ease-out;
}
.lightbox__btn:active { transform: scale(.96); }
.lightbox__close { top: 20px; right: 24px; }
.lightbox__nav { top: 50%; margin-top: -24px; }
.lightbox__nav--prev { left: 24px; }
.lightbox__nav--next { right: 24px; }
.lightbox__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 88px 104px 104px;
}
.lightbox__frame { position: relative; border-radius: 14px; }
.lightbox__img {
  display: block;
  max-width: min(1200px, calc(100vw - 208px));
  max-height: calc(100vh - 192px);
  max-height: calc(100dvh - 192px);
  border-radius: 14px;
  box-shadow: 0 30px 80px -20px rgba(0,0,0,.55);
  transform: translate(var(--x, 0px), var(--y, 0px)) scale(var(--z, 1));
  transition: transform .3s cubic-bezier(.23, 1, .32, 1);
  cursor: zoom-in;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
}
.lightbox__img.is-zoomed { cursor: grab; }
.lightbox__img.is-dragging { cursor: grabbing; transition: none; }
.lightbox__toolbar {
  position: absolute;
  left: 50%;
  bottom: 20px;
  z-index: 2;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 4px;
  translate: -50% 0;
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 9999px;
  background: #f4f4f5;
  color: var(--zinc-8);
  box-shadow: 0 4px 14px rgba(0,0,0,.22);
}
.lightbox__tool {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 9999px;
  background: none;
  color: inherit;
  cursor: pointer;
  transition: background-color .15s ease-out, transform .16s var(--ease-out);
}
.lightbox__tool:active:not(:disabled) { transform: scale(.96); }
.lightbox__tool:disabled { opacity: .35; cursor: default; background: none; }
.lightbox__zoom {
  min-width: 60px;
  text-align: center;
  font-family: var(--font);
  font-weight: 500;
  font-size: 15px;
  font-variant-numeric: tabular-nums;
}
.lightbox__divider { width: 1px; height: 24px; margin: 0 4px; background: rgba(0,0,0,.1); }

/* Gallery: thumbnail strip above the zoom bar, only for projects with 2+ images */
.lightbox__gallery {
  position: absolute;
  left: 50%;
  bottom: 80px;
  z-index: 2;
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  max-width: calc(100vw - 48px);
  translate: -50% 0;
}
.lightbox.has-gallery .lightbox__gallery { display: flex; }
.lightbox.has-gallery .lightbox__stage { padding-bottom: 176px; }
.lightbox.has-gallery .lightbox__img { max-height: calc(100vh - 264px); max-height: calc(100dvh - 264px); }
.lightbox__gallery-count {
  font-family: var(--font);
  font-size: 13px;
  font-variant-numeric: tabular-nums;
  color: rgba(255,255,255,.9);
  text-shadow: 0 1px 2px rgba(0,0,0,.45);
}
.lightbox__thumbs {
  display: flex;
  gap: 8px;
  max-width: 100%;
  padding: 6px;
  overflow-x: auto;
  scrollbar-width: none;
  border-radius: 14px;
  background: rgba(39,39,42,.55);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}
.lightbox__thumbs::-webkit-scrollbar { display: none; }
.lightbox__thumb {
  flex: none;
  width: 64px;
  height: 42px;
  padding: 0;
  border: 0;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  opacity: .55;
  outline: 2px solid transparent;
  outline-offset: 2px;
  cursor: pointer;
  transition: opacity .15s ease-out, outline-color .15s ease-out;
}
.lightbox__thumb img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; }
.lightbox__thumb.is-active { opacity: 1; outline-color: #fff; }

/* Chrome fades with the backdrop; the image itself is FLIP-animated in JS */
.lightbox__bg, .lightbox__count, .lightbox__btn, .lightbox__toolbar, .lightbox__gallery { opacity: 0; transition: opacity .25s ease; }
.lightbox.is-open .lightbox__bg,
.lightbox.is-open .lightbox__count,
.lightbox.is-open .lightbox__btn,
.lightbox.is-open .lightbox__toolbar,
.lightbox.is-open .lightbox__gallery { opacity: 1; }
.lightbox__btn { transition: opacity .25s ease, background-color .15s ease-out, transform .15s ease-out; }
@media (hover: hover) and (pointer: fine) {
  .lightbox__btn:hover { background: #fff; }
  .lightbox__tool:hover { background: rgba(0,0,0,.06); }
  .lightbox__thumb:hover { opacity: .85; }
}

@media (max-width: 640px) {
  .lightbox__stage { padding: 76px 12px 84px; }
  .lightbox__img { max-width: calc(100vw - 24px); max-height: calc(100dvh - 160px); }
  .lightbox__count { top: 24px; left: 20px; }
  .lightbox__close { top: 14px; right: 14px; }
  .lightbox__nav { top: auto; bottom: 20px; margin-top: 0; }
  .lightbox__nav--prev { left: 14px; }
  .lightbox__nav--next { right: 14px; }
  .lightbox.has-gallery .lightbox__stage { padding-bottom: 156px; }
  .lightbox.has-gallery .lightbox__img { max-height: calc(100dvh - 232px); }
  .lightbox__thumb { width: 52px; height: 34px; }
}

/* ---------- Touch targets ---------- */
@media (pointer: coarse) {
  .testimonials__dot { height: 44px; }
  .testimonials__dots { bottom: 18px; }
}

/* ---------- Project cards stack once two no longer fit ---------- */
@media (max-width: 760px) {
  .projects { grid-template-columns: minmax(0, 1fr); gap: 14px; }
}

/* ---------- Small screens ---------- */
@media (max-width: 600px) {
  .hero { padding-top: 32px; }
  .hero__title, .hero__sub { max-width: none; }
  .projects { margin-top: 40px; }
  .work { padding-top: 48px; gap: 20px; }
  .pricing { margin-top: 56px; }
  .pricing__head { padding: 0 16px; }
  .pricing__card { padding: 16px; }
  .about { margin-top: 72px; padding-bottom: 14px; }
  .photos {
    margin: 22px -16px 0;
    width: calc(100% + 32px);
    padding-inline: 16px;
    scroll-padding-inline: 16px;
    scroll-snap-type: x mandatory; /* each swipe settles on a photo */
    /* right edge fades to hint there's more to swipe */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
            mask-image: linear-gradient(to right, #000 calc(100% - 40px), transparent);
  }
  .photos__item { scroll-snap-align: start; }
  .photos__item img { height: 220px; }
}
