/* ============================================================
   AB Photography — Premium B&W Portfolio
   ============================================================ */

:root {
  --bg:          #080808;
  --surface:     #111111;
  --surface-2:   #161616;
  --border:      #1e1e1e;
  --border-2:    #2a2a2a;
  --text:        #e8e8e8;
  --text-dim:    #888888;
  --text-faint:  #444444;
  --white:       #ffffff;
  --ease:        cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --font-serif:  'Cormorant Garamond', Georgia, serif;
  --font-sans:   'Inter', system-ui, -apple-system, sans-serif;
}

/* ── Reset ──────────────────────────────────────────────── */

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

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

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

button {
  font-family: var(--font-sans);
  cursor: pointer;
}

ul { list-style: none; }

/* ── Layout ─────────────────────────────────────────────── */

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
}

/* ── Navigation ─────────────────────────────────────────── */

.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 28px 0;
  transition: background 0.5s var(--ease),
              padding    0.4s var(--ease),
              border-color 0.4s;
  border-bottom: 1px solid transparent;
}

.nav.scrolled {
  background: rgba(8, 8, 8, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 18px 0;
  border-color: var(--border);
}

.nav-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 48px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img {
  height: 44px;
  width: auto;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  gap: 44px;
}

.nav-link {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(232, 232, 232, 0.6);
  transition: color 0.3s;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s var(--ease);
}

.nav-link:hover {
  color: var(--white);
}

.nav-link:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 110;
}

.nav-hamburger span {
  display: block;
  width: 26px;
  height: 1px;
  background: var(--text);
  transition: transform 0.35s var(--ease), opacity 0.25s;
}

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

/* ── Mobile Menu ────────────────────────────────────────── */

.mobile-menu {
  position: fixed;
  inset: 0;
  background: var(--bg);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.55s var(--ease-out);
}

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

.mobile-menu-close {
  position: absolute;
  top: 28px;
  right: 48px;
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 28px;
  line-height: 1;
  transition: color 0.2s;
}

.mobile-menu-close:hover { color: var(--white); }

.mobile-menu ul {
  text-align: center;
}

.mobile-link {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(40px, 8vw, 72px);
  font-weight: 300;
  color: var(--text);
  padding: 12px 0;
  letter-spacing: 0.04em;
  transition: color 0.3s;
}

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

/* ── Hero ───────────────────────────────────────────────── */

.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-media {
  position: absolute;
  inset: 0;
}

.hero-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(0.28) grayscale(0.2);
  transform: scale(1.08);
  animation: heroZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}

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

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(8, 8, 8, 0.15) 0%,
    rgba(8, 8, 8, 0.05) 45%,
    rgba(8, 8, 8, 0.65) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
  animation: heroFadeUp 1.2s var(--ease-out) 0.3s both;
}

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

.hero-logo-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 28px;
}

.hero-logo {
  height: 76px;
  width: auto;
  max-width: 300px;
  object-fit: contain;
}

.hero-headline {
  font-family: var(--font-serif);
  font-size: clamp(52px, 9vw, 108px);
  font-weight: 300;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--white);
  margin-bottom: 14px;
}

.hero-tagline {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 48px;
}

.hero-btn {
  display: inline-block;
  padding: 14px 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.85);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  transition: background 0.35s, border-color 0.35s, color 0.35s;
}

.hero-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.6);
  color: var(--white);
}

/* Scroll indicator */
.hero-scroll-indicator {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.scroll-track {
  width: 1px;
  height: 68px;
  background: rgba(255, 255, 255, 0.12);
  position: relative;
  overflow: hidden;
}

.scroll-thumb {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 40%;
  background: rgba(255, 255, 255, 0.5);
  animation: scrollThumb 2.2s ease-in-out infinite;
}

@keyframes scrollThumb {
  0%   { transform: translateY(-100%); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(280%); opacity: 0; }
}

.scroll-text {
  font-size: 9px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Section commons ────────────────────────────────────── */

.section-eyebrow {
  display: block;
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 14px;
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(36px, 5vw, 68px);
  font-weight: 300;
  color: var(--white);
  line-height: 1.05;
  letter-spacing: 0.02em;
}

/* ── Work / Albums ──────────────────────────────────────── */

.work {
  padding: 128px 0 96px;
  background: var(--bg);
}

.section-header {
  margin-bottom: 56px;
}

/* Tabs */
.album-tabs {
  display: flex;
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.album-tabs::-webkit-scrollbar { display: none; }

.tab-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  padding: 12px 28px;
  white-space: nowrap;
  position: relative;
  transition: color 0.3s;
  flex-shrink: 0;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--white);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.35s var(--ease);
}

.tab-btn.active {
  color: var(--white);
}

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

.tab-btn:hover:not(.active) {
  color: var(--text);
}

/* Galleries */
.gallery {
  display: none;
  animation: galleryFade 0.5s var(--ease) both;
}

.gallery.active {
  display: block;
}

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

/* Masonry */
.masonry {
  columns: 3;
  column-gap: 6px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 6px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.masonry-item img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: grayscale(15%) brightness(0.95);
  will-change: transform;
}

.masonry-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background 0.4s;
  pointer-events: none;
}

.masonry-item:hover img {
  transform: scale(1.04);
  filter: grayscale(0%) brightness(1);
}

.masonry-item:hover::after {
  background: rgba(255, 255, 255, 0.03);
}

/* ── About ──────────────────────────────────────────────── */

.about {
  padding: 128px 0;
  background: var(--surface);
}

.about-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 96px;
  align-items: start;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  object-position: center top;
  filter: grayscale(25%) brightness(0.92);
  position: relative;
  z-index: 1;
}

.about-image-frame {
  position: absolute;
  inset: 14px -14px -14px 14px;
  border: 1px solid var(--border-2);
  z-index: 0;
}

.about-content {
  padding-top: 8px;
}

.about-content .section-title {
  margin-bottom: 36px;
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 44px;
}

.about-lead {
  font-family: var(--font-serif);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 300;
  color: var(--text);
  line-height: 1.65;
}

.about-text p:not(.about-lead) {
  font-size: 15px;
  font-weight: 300;
  line-height: 1.88;
  color: rgba(232, 232, 232, 0.65);
}

.about-cta {
  display: inline-block;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text);
  border-bottom: 1px solid var(--border-2);
  padding-bottom: 6px;
  transition: color 0.3s, border-color 0.3s;
}

.about-cta:hover {
  color: var(--white);
  border-color: var(--white);
}

/* ── Contact ────────────────────────────────────────────── */

.contact {
  padding: 128px 0;
  background: var(--bg);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 80px;
  align-items: start;
}

.contact-info .section-title {
  margin-bottom: 20px;
}

.contact-text {
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  color: var(--text-dim);
  margin-bottom: 40px;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-channel {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text);
  transition: color 0.3s;
}

.contact-channel svg {
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s;
}

.contact-channel:hover {
  color: var(--white);
}

.contact-channel:hover svg {
  opacity: 1;
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group input,
.form-group textarea {
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 300;
  padding: 14px 18px;
  outline: none;
  transition: border-color 0.3s, background 0.3s;
  resize: none;
  -webkit-appearance: none;
}

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

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--border-2);
  background: var(--surface);
}

.form-group textarea {
  min-height: 130px;
}

.form-submit {
  align-self: flex-start;
  background: var(--white);
  border: none;
  color: var(--bg);
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 16px 36px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: background 0.35s, color 0.35s;
}

.form-submit::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--text-dim);
  transform: translateX(-101%);
  transition: transform 0.45s var(--ease-out);
}

.form-submit:hover::before {
  transform: translateX(0);
}

.form-submit:hover {
  color: var(--white);
}

.form-submit span {
  position: relative;
  z-index: 1;
}

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

.form-group--gdpr {
  margin-top: 4px;
}

.gdpr-consent {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
}

.gdpr-consent input[type="checkbox"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.gdpr-consent__box {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  border: 1px solid var(--border);
  background: var(--surface-2);
  transition: border-color 0.2s, background 0.2s;
  position: relative;
  margin-top: 2px;
}

.gdpr-consent__box::after {
  content: '';
  position: absolute;
  inset: 3px;
  background: var(--white);
  opacity: 0;
  transition: opacity 0.2s;
}

.gdpr-consent input[type="checkbox"]:checked + .gdpr-consent__box {
  border-color: var(--white);
  background: var(--surface);
}

.gdpr-consent input[type="checkbox"]:checked + .gdpr-consent__box::after {
  opacity: 1;
}

.gdpr-consent input[type="checkbox"]:focus-visible + .gdpr-consent__box {
  outline: 2px solid var(--border-2);
  outline-offset: 2px;
}

.gdpr-consent__text {
  font-size: 12px;
  font-weight: 300;
  color: var(--text-dim);
  line-height: 1.6;
}

.gdpr-consent__text a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.gdpr-consent__text a:hover {
  color: var(--white);
}

.form-success {
  padding: 32px;
  border: 1px solid var(--border);
  text-align: center;
}

.form-success p {
  font-family: var(--font-serif);
  font-size: 20px;
  font-weight: 300;
  color: var(--text);
  line-height: 1.6;
}

/* ── WhatsApp Widget ─────────────────────────────────────── */

.whatsapp-widget {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 58px;
  height: 58px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 150;
  box-shadow: 0 4px 24px rgba(37, 211, 102, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  text-decoration: none;
}

.whatsapp-widget svg {
  width: 28px;
  height: 28px;
  fill: #fff;
}

.whatsapp-widget:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 32px rgba(37, 211, 102, 0.55);
}

.whatsapp-tooltip {
  position: absolute;
  right: 70px;
  background: rgba(8, 8, 8, 0.9);
  color: var(--white);
  font-size: 12px;
  font-weight: 400;
  white-space: nowrap;
  padding: 8px 14px;
  pointer-events: none;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.25s, transform 0.25s;
  border: 1px solid var(--border);
}

.whatsapp-widget:hover .whatsapp-tooltip {
  opacity: 1;
  transform: translateX(0);
}

/* ── Footer ─────────────────────────────────────────────── */

.footer {
  background: var(--surface-2);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  padding: 72px 0 56px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-logo {
  height: 44px;
  width: auto;
  object-fit: contain;
  margin-bottom: 20px;
  display: block;
}

.footer-tagline {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 300;
  font-style: italic;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.6;
}

.footer-heading {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.35);
  margin-bottom: 20px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav-list a {
  font-size: 14px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s;
}

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

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-contact-list a {
  font-size: 13px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.65);
  transition: color 0.3s;
  word-break: break-all;
}

.footer-contact-list a:hover {
  color: var(--white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  gap: 16px;
}

.footer-copy {
  font-size: 12px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.3);
}

.footer-domain {
  font-size: 12px;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.3);
}

/* ── Lightbox ───────────────────────────────────────────── */

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(4, 4, 4, 0.97);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s var(--ease);
  display: grid;
  place-items: center;
}

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

.lightbox-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 60px 80px;
}

.lightbox-stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: opacity 0.2s ease;
  user-select: none;
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 28px;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.45);
  font-size: 40px;
  line-height: 1;
  transition: color 0.25s, transform 0.25s;
  z-index: 201;
}

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

.lightbox-prev,
.lightbox-next {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.45);
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  z-index: 201;
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.35);
}

.lightbox-counter {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 0.18em;
  color: rgba(255, 255, 255, 0.3);
}

/* ── GDPR Banner ────────────────────────────────────────── */

.gdpr-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 300;
  background: rgba(10, 10, 10, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--border);
  transform: translateY(100%);
  transition: transform 0.55s var(--ease-out);
}

.gdpr-banner.visible {
  transform: translateY(0);
}

.gdpr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding-top: 20px;
  padding-bottom: 20px;
}

.gdpr-text {
  flex: 1;
  min-width: 0;
}

.gdpr-title {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.gdpr-text p {
  font-size: 12px;
  font-weight: 300;
  line-height: 1.65;
  color: var(--text-dim);
  margin: 0;
}

.gdpr-text p a {
  color: var(--text);
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.3s;
}

.gdpr-text p a:hover {
  color: var(--white);
}

.gdpr-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

.gdpr-btn {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 11px 22px;
  border: 1px solid var(--border-2);
  cursor: pointer;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  white-space: nowrap;
}

.gdpr-decline {
  background: transparent;
  color: var(--text-dim);
}

.gdpr-decline:hover {
  color: var(--text);
  border-color: var(--text-faint);
}

.gdpr-accept {
  background: var(--white);
  color: var(--bg);
  border-color: var(--white);
}

.gdpr-accept:hover {
  background: var(--text);
  border-color: var(--text);
}

@media (max-width: 768px) {
  .gdpr-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }

  .gdpr-actions {
    width: 100%;
  }

  .gdpr-btn {
    flex: 1;
    text-align: center;
  }
}

/* ── Scroll Reveal ──────────────────────────────────────── */

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.9s var(--ease-out), transform 0.9s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal:nth-child(2) { transition-delay: 0.12s; }
.reveal:nth-child(3) { transition-delay: 0.22s; }

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 1100px) {
  .masonry { columns: 2; }

  .about-inner {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .about-image { max-width: 460px; }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 768px) {
  .container { padding: 0 20px; }

  .nav-menu { display: none; }
  .nav-hamburger { display: flex; }
  .nav-container { padding: 0 20px; }

  .mobile-menu-close { right: 20px; }

  .work,
  .about,
  .contact { padding: 72px 0; }

  .section-header { margin-bottom: 36px; }

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

  .form-submit { width: 100%; justify-content: center; text-align: center; }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 56px 0 40px;
  }

  .footer-brand { grid-column: auto; }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .whatsapp-widget { bottom: 20px; right: 20px; }

  .lightbox-stage { padding: 60px 48px; }
  .lightbox-prev  { left: 6px; }
  .lightbox-next  { right: 6px; }
}

@media (max-width: 520px) {
  .container { padding: 0 16px; }

  .masonry { columns: 1; }
  .masonry-item { margin-bottom: 4px; }

  .tab-btn { padding: 12px 14px; }

  .hero-logo { height: 56px; }

  .about-image { max-width: 100%; }
  .about-image-frame { display: none; }

  .whatsapp-widget { width: 52px; height: 52px; }

  .lightbox-stage { padding: 56px 14px; }
  .lightbox-prev,
  .lightbox-next { width: 40px; height: 40px; }
}
