/* ==========================================================================
   STEWART & CO. PAINTING — Premium Redesign
   Inspired by Soho Painters / Phinney Ridge Painting
   Color system: black, white, cream, warm gold. Nothing else.
   ========================================================================== */

/* ===== DESIGN TOKENS ===== */
:root {
  --black: #0a0a0a;
  --white: #ffffff;
  --cream: #f5f0eb;
  --accent: #c8a96e;
  --dark: #111111;
  --text: #333333;

  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1200px;
}

/* ===== RESET ===== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.8;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  overflow-wrap: break-word;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  text-decoration: none;
  color: inherit;
}
ul { list-style: none; }
button { cursor: pointer; }

/* ===== SKIP LINK ===== */
.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--accent);
  color: var(--black);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}
.skip-link:focus {
  top: 0;
}

/* ===== HONEYPOT ===== */
.form-hp {
  position: absolute;
  left: -9999px;
}

/* ===== UTILITIES ===== */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 40px;
}

/* Section labels — gold uppercase micro text */
.section__tagline {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 20px;
}

/* Section titles — massive Playfair */
.section__title {
  font-family: var(--font-display);
  font-size: clamp(40px, 5vw, 64px);
  font-weight: 700;
  line-height: 1.1;
  color: var(--black);
  margin-bottom: 60px;
}
.section__title--left { text-align: left; }
.section__title--light { color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 16px 36px;
  min-height: 44px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  position: relative;
}
.btn--primary {
  background: var(--accent);
  color: var(--black);
}
.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.4);
}
.btn--full {
  width: 100%;
  justify-content: center;
}

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 24px 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 60%, rgba(0,0,0,0) 100%);
}
.nav--scrolled {
  background: var(--white);
  padding: 16px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav__logo {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 700;
  color: var(--white);
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.nav__logo span {
  color: var(--accent);
}
.nav--scrolled .nav__logo {
  color: var(--black);
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 40px;
}
.nav__links a {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  font-weight: 600;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.nav__links a:hover {
  color: var(--accent);
}
.nav--scrolled .nav__links a {
  color: rgba(0,0,0,0.5);
}
.nav--scrolled .nav__links a:hover {
  color: var(--black);
}

/* Phone CTA in nav — always gold */
.nav__cta {
  color: var(--accent) !important;
  font-weight: 600 !important;
  letter-spacing: 0.04em !important;
}
.nav--scrolled .nav__cta {
  color: var(--accent) !important;
}

/* Mobile toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  padding: 4px;
  z-index: 1001;
  min-height: 44px;
  min-width: 44px;
  align-items: center;
  justify-content: center;
}
.nav__toggle span {
  width: 24px;
  height: 1.5px;
  background: var(--white);
}
.nav--scrolled .nav__toggle span {
  background: var(--black);
}

/* ===== HERO — Editorial Split ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  background: var(--black);
  overflow: hidden;
}

/* Photo: right 60% */
.hero__bg {
  position: absolute;
  top: 0;
  right: 0;
  width: 60%;
  height: 100%;
}
.hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* No gradient overlay — let the photo breathe */
.hero__overlay {
  display: none;
}

/* Text panel: left 40% */
.hero__content {
  position: relative;
  z-index: 2;
  width: 40%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 140px 60px 100px 0;
  margin-left: 40px;
}

/* Gold accent line above headline */
.hero__tagline {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--accent);
  margin-bottom: 32px;
  padding-top: 24px;
  position: relative;
}
.hero__tagline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--accent);
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(36px, 4.5vw, 64px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 24px;
  background: linear-gradient(
    135deg,
    var(--white) 0%,
    var(--white) 40%,
    var(--accent) 50%,
    var(--white) 60%,
    var(--white) 100%
  );
  background-size: 300% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero__subtitle {
  font-size: 17px;
  font-weight: 400;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 400px;
}

.hero__actions {
  display: flex;
  gap: 16px;
}

/* ===== SCROLLING MARQUEE ===== */
.marquee {
  background: var(--dark);
  border-top: 1px solid rgba(255,255,255,0.06);
  border-bottom: 1px solid rgba(255,255,255,0.06);
  padding: 18px 0;
  overflow: hidden;
  white-space: nowrap;
}
.marquee-inner {
  display: flex;
  gap: 3rem;
  animation: scroll-marquee 12s linear infinite;
}
.marquee-item {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  flex-shrink: 0;
}
.marquee-dot {
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
  flex-shrink: 0;
}
@keyframes scroll-marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .marquee-inner { animation: none; }
}

/* ===== SERVICES — Editorial with large numbers ===== */
.services {
  padding: 140px 0;
}
.services .section__tagline,
.services .section__title {
  text-align: left;
}
.services__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.service-card {
  position: relative;
  padding: 48px 40px;
  background: var(--white);
  overflow: hidden;
  cursor: default;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 4px 20px rgba(0,0,0,0.04), 0 1px 3px rgba(0,0,0,0.03);
}
.service-card:hover {
  background: var(--cream);
}

/* Large decorative number */
.service-card::before {
  content: attr(data-number);
  font-family: var(--font-display);
  font-size: 120px;
  font-weight: 700;
  color: var(--black);
  opacity: 0.04;
  position: absolute;
  top: 12px;
  right: 24px;
  line-height: 1;
  pointer-events: none;
}

.service-card__icon {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--cream);
  border-radius: 12px;
  margin-bottom: 20px;
  color: var(--accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--black);
  margin-bottom: 16px;
  position: relative;
  display: inline-block;
}
.service-card h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
}

.service-card p {
  font-size: 16px;
  color: rgba(0,0,0,0.5);
  line-height: 1.7;
  max-width: 360px;
}

/* ===== GALLERY — Overlapping Editorial Masonry ===== */
.gallery {
  padding: 140px 0;
  background: var(--cream);
  content-visibility: auto;
}
.gallery .section__tagline,
.gallery .section__title {
  text-align: left;
}
/* Scroll wrapper with arrows */
.gallery__scroll-wrapper {
  position: relative;
}
.gallery__scroll {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery__scroll::-webkit-scrollbar {
  display: none;
}
.gallery__page {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 20px;
}
/* Center the incomplete last row on the last page */
.gallery__page:last-child .gallery__grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}
.gallery__page:last-child .gallery__item {
  flex: 0 0 calc(33.333% - 14px);
}

/* Navigation arrows */
.gallery__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  background: var(--dark);
  color: var(--white);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s var(--ease);
}
.gallery__arrow:hover {
  background: var(--accent);
  border-color: var(--accent);
}
.gallery__arrow:disabled {
  opacity: 0.3;
  cursor: default;
  pointer-events: none;
}
.gallery__arrow--left {
  left: -24px;
}
.gallery__arrow--right {
  right: -24px;
}

/* Dot indicators */
.gallery__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.gallery__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s var(--ease);
}
.gallery__dot.active {
  background: var(--accent);
}
.gallery__item {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 4/3;
  border-radius: 4px;
}

.gallery__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Zoom icon for lightbox */
.gallery__item::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 48px;
  height: 48px;
  transform: translate(-50%, -50%) scale(0.7);
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'/%3E%3Cline x1='11' y1='8' x2='11' y2='14'/%3E%3Cline x1='8' y1='11' x2='14' y2='11'/%3E%3C/svg%3E") center/24px no-repeat;
  z-index: 3;
  opacity: 0;
  pointer-events: none;
}

/* Black overlay on hover */
.gallery__item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--black);
  opacity: 0;
  pointer-events: none;
}

/* Caption slides up on hover */
.gallery__caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 24px;
  color: var(--white);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  z-index: 2;
  transform: translateY(100%);
}

/* ===== TRANSFORMATIONS — Before / After ===== */
.transformations {
  padding: 140px 0;
  background: var(--dark);
  text-align: center;
  content-visibility: auto;
}
.transformations .section__tagline {
  color: var(--accent);
}
.transformations__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  text-align: left;
}
.ba-card {
  overflow: hidden;
}
.ba-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  color: var(--white);
  padding: 20px 0 16px;
  text-align: center;
}

/* Slider */
.ba-slider {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  cursor: ew-resize;
  user-select: none;
  -webkit-user-select: none;
}
.ba-slider__img {
  position: absolute;
  inset: 0;
}
.ba-slider__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}
.ba-slider__img--before {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 50%;
  overflow: hidden;
  z-index: 2;
}
.ba-slider__divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  background: var(--accent);
  z-index: 3;
  transform: translateX(-50%);
}
.ba-slider__handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
  color: var(--black);
}
.ba-slider__handle svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--black);
}

/* Gold pill labels */
.ba-slider__label {
  position: absolute;
  bottom: 16px;
  z-index: 4;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--black);
  background: var(--accent);
  padding: 6px 14px;
  border-radius: 20px;
  pointer-events: none;
}
.ba-slider__label--before { left: 12px; }
.ba-slider__label--after { right: 12px; }

/* ===== ABOUT — Split Screen Minimal ===== */
.about {
  padding: 0;
  display: flex;
  min-height: 80vh;
  content-visibility: auto;
}
.about .container {
  padding: 0;
  max-width: none;
  width: 100%;
}
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  min-height: 80vh;
}

/* Photo: left half, contained and centered */
.about__image {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px;
  background: var(--black);
}
.about__image img {
  width: 100%;
  max-width: 360px;
  height: auto;
  object-fit: cover;
  border-radius: 12px;
}

/* Right side: cream background */
.about__content {
  background: var(--cream);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 80px;
  position: relative;
}

/* Large decorative quotation mark */
.about__content::before {
  content: '\201C';
  font-family: var(--font-display);
  font-size: 200px;
  color: var(--accent);
  opacity: 0.2;
  position: absolute;
  top: 40px;
  left: 60px;
  line-height: 1;
  pointer-events: none;
}

.about__content .section__tagline {
  text-align: left;
}
.about__content .section__title {
  text-align: left;
  font-size: clamp(32px, 3.5vw, 48px);
  margin-bottom: 24px;
}

.about__text {
  font-size: 18px;
  color: rgba(0,0,0,0.6);
  line-height: 1.8;
  margin-bottom: 32px;
  max-width: 440px;
}

/* Hide checkmark features — too busy for this design. Use inline stats instead. */
.about__features {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-bottom: 40px;
  padding: 0;
  list-style: none;
}
.about__features li {
  font-size: 14px;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.about__features li svg {
  color: var(--accent);
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

/* About has no visible list — show as inline stats */
.about__features {
  flex-direction: row;
  gap: 24px;
  flex-wrap: wrap;
}
.about__features li {
  padding-right: 24px;
  border-right: 1px solid rgba(0,0,0,0.1);
}
.about__features li:last-child {
  border-right: none;
  padding-right: 0;
}

.about .btn--primary {
  align-self: flex-start;
}

/* ===== CONTACT — Dark and Premium ===== */
.contact {
  padding: 140px 0;
  background: var(--black);
  content-visibility: auto;
}
.contact .section__tagline {
  color: var(--accent);
}
.contact .section__title {
  font-size: clamp(40px, 4.5vw, 56px);
  color: var(--white);
  margin-bottom: 60px;
}

.contact__inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 80px;
  align-items: start;
}

/* Form — minimal bottom-border inputs */
.contact__form {
  background: transparent;
  padding: 0;
  border: none;
  box-shadow: none;
  position: relative;
}
.form__group {
  margin-bottom: 32px;
}
.form__group label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.4);
  margin-bottom: 8px;
}
.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  padding: 12px 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.15);
  border-radius: 0;
  font-family: var(--font-body);
  font-size: 16px;
  color: var(--white);
  outline: none;
  -webkit-appearance: none;
}
.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-bottom-color: var(--accent);
  outline: 2px solid var(--accent);
  outline-offset: 4px;
}
.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(255,255,255,0.2);
}
.form__group select {
  cursor: pointer;
}
.form__group select option {
  background: var(--dark);
  color: var(--white);
}
.form__group textarea {
  resize: vertical;
  min-height: 80px;
}

.contact .btn--primary {
  background: var(--accent);
  color: var(--black);
  border: none;
  padding: 18px 48px;
  min-height: 44px;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 700;
}

.form__note {
  font-size: 13px;
  color: rgba(255,255,255,0.25);
  margin-top: 16px;
  text-align: left;
}

/* Contact info — right column */
.contact__info {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 20px;
}
.contact__card {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.contact__card:first-child {
  padding-top: 0;
}
.contact__card:last-child {
  border-bottom: none;
}
.contact__card-icon {
  width: auto;
  height: auto;
  background: transparent;
  border-radius: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--accent);
}
.contact__card h4 {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.35);
  margin-bottom: 6px;
}
.contact__card a,
.contact__card p {
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 600;
  color: var(--white);
  line-height: 1.3;
}
.contact__card a:hover {
  color: var(--accent);
}

/* Form success state */
.form__success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form__success.active { display: block; }
.form__success svg { color: var(--accent); margin-bottom: 16px; }
.form__success h3 {
  font-family: var(--font-display);
  font-size: 28px;
  color: var(--white);
  margin-bottom: 8px;
}
.form__success p { color: rgba(255,255,255,0.5); }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.4);
  padding-top: 0;
  border-top: 1px solid var(--accent);
  content-visibility: auto;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 60px;
  padding: 80px 0 60px;
}
.footer .nav__logo {
  color: var(--white);
  font-size: 22px;
  display: inline-block;
  margin-bottom: 12px;
}
.footer__brand p {
  font-size: 14px;
  font-style: italic;
  color: var(--accent);
  line-height: 1.6;
  opacity: 0.7;
}
.footer h4 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--white);
  margin-bottom: 24px;
}
.footer__links li {
  margin-bottom: 12px;
}
.footer__links a {
  font-size: 15px;
  color: rgba(255,255,255,0.4);
}
.footer__links a:hover {
  color: var(--accent);
}
.footer__contact p {
  font-size: 15px;
  margin-bottom: 6px;
}
.footer__contact a {
  color: rgba(255,255,255,0.4);
}
.footer__contact a:hover {
  color: var(--accent);
}
.footer__social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.1);
  margin-top: 16px;
  color: rgba(255,255,255,0.4);
}
.footer__social:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.footer__bottom {
  padding: 24px 0;
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer__bottom p {
  font-size: 12px;
  color: rgba(255,255,255,0.2);
  letter-spacing: 0.05em;
}

/* ===== CTA BANNER ===== */
.cta-banner {
  padding: 0;
  background: var(--black);
  content-visibility: auto;
}
.cta-banner__card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: var(--dark);
  overflow: hidden;
  min-height: 500px;
}
.cta-banner__img {
  height: 100%;
  min-height: 400px;
}
.cta-banner__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cta-banner__content {
  padding: 60px 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.cta-banner__content .section__tagline {
  color: var(--accent);
}
.cta-banner__content h3 {
  font-family: var(--font-display);
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.cta-banner__content > p:not(.section__tagline) {
  font-size: 17px;
  color: rgba(255,255,255,0.5);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 440px;
}
.cta-banner__actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.btn--dark-outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}

/* ===== LIGHTBOX ===== */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(0,0,0,0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  cursor: zoom-out;
}
.lightbox.active {
  opacity: 1;
  visibility: visible;
}
.lightbox__content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.lightbox__img {
  max-width: 90vw;
  max-height: 80vh;
  object-fit: contain;
  border-radius: 4px;
  cursor: default;
}
.lightbox__caption {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-top: 16px;
  text-align: center;
}
.lightbox__close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
}
.lightbox__prev,
.lightbox__next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  color: var(--white);
  cursor: pointer;
  z-index: 10;
}
.lightbox__prev { left: 24px; }
.lightbox__next { right: 24px; }

/* ===== SCROLL REVEAL (static states — no animation) ===== */
.reveal {
  opacity: 0;
  transform: translateY(80px);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hero stagger-in from left (static states) */
.hero-reveal {
  opacity: 0;
  transform: translateX(-60px);
}
.hero-reveal.visible {
  opacity: 1;
  transform: translateX(0);
}

/* ===== ANIMATIONS — Respect reduced motion ===== */
@media (prefers-reduced-motion: no-preference) {
  a {
    transition: color 0.3s var(--ease);
  }
  .btn {
    transition: all 0.4s var(--ease-out);
  }
  .btn--primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(200, 169, 110, 0.35);
  }
  .btn--outline:hover {
    transform: translateY(-3px);
  }
  .btn--dark-outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
    transform: translateY(-3px);
  }
  .nav {
    transition: all 0.4s var(--ease);
  }
  .nav__logo {
    transition: color 0.3s var(--ease);
  }
  .nav__links a {
    transition: color 0.3s var(--ease);
  }
  .nav__toggle span {
    transition: all 0.3s var(--ease);
  }

  /* Service card premium hover */
  .service-card {
    transition: background 0.5s var(--ease-out), transform 0.5s var(--ease-out), box-shadow 0.5s var(--ease-out);
  }
  .service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 48px rgba(0,0,0,0.1), 0 8px 16px rgba(0,0,0,0.06);
    border-color: var(--accent);
  }
  .service-card h3::after {
    transition: width 0.5s var(--ease-out);
  }
  .service-card:hover h3::after {
    width: 100%;
  }

  /* Gallery premium hover */
  .gallery__item img {
    transition: transform 0.8s var(--ease-out), filter 0.8s var(--ease);
  }
  .gallery__item:hover img {
    transform: scale(1.06);
    filter: brightness(1.05);
  }
  .gallery__item::after {
    transition: opacity 0.5s var(--ease);
  }
  .gallery__item:hover::after {
    opacity: 0.6;
  }
  .gallery__item::before {
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease-out);
  }
  .gallery__item:hover::before {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
  .gallery__caption {
    transition: transform 0.5s var(--ease-out), opacity 0.5s var(--ease);
    opacity: 0;
  }
  .gallery__item:hover .gallery__caption {
    transform: translateY(0);
    opacity: 1;
  }

  /* BA slider */
  .ba-slider__handle {
    transition: transform 0.2s var(--ease);
  }
  .ba-slider:active .ba-slider__handle {
    transform: translate(-50%, -50%) scale(1.15);
  }

  /* CTA banner hover */
  .cta-banner__card {
    transition: border-color 0.4s var(--ease), box-shadow 0.4s var(--ease);
  }
  .cta-banner__card:hover {
    border-color: var(--accent);
    box-shadow: 0 20px 60px rgba(200, 169, 110, 0.1);
  }

  /* Footer & contact */
  .footer__social {
    transition: all 0.3s var(--ease);
  }
  .footer__links a {
    transition: color 0.3s var(--ease);
  }
  .footer__contact a {
    transition: color 0.3s var(--ease);
  }
  .form__group input,
  .form__group select,
  .form__group textarea {
    transition: border-color 0.3s var(--ease);
  }
  .contact .btn--primary:hover {
    background: var(--white);
    color: var(--black);
  }
  .btn--primary:hover {
    background: var(--white);
    color: var(--black);
  }
  .btn--outline:hover {
    background: var(--white);
    color: var(--black);
    border-color: var(--white);
  }

  /* Premium scroll reveal transitions */
  .reveal {
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  }
  .hero-reveal {
    transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  }

  /* Lightbox transitions */
  .lightbox {
    transition: opacity 0.4s var(--ease), visibility 0.4s;
  }
  .lightbox__img {
    transition: transform 0.4s var(--ease-out);
  }
  .lightbox.active .lightbox__img {
    animation: lightbox-zoom 0.4s var(--ease-out);
  }
  @keyframes lightbox-zoom {
    from { transform: scale(0.9); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
  }
  .lightbox__close,
  .lightbox__prev,
  .lightbox__next {
    transition: all 0.3s var(--ease);
  }
  .lightbox__close:hover,
  .lightbox__prev:hover,
  .lightbox__next:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
  }

  /* Section stagger reveal for children */
  .reveal.reveal--scale {
    transform: scale(0.95) translateY(30px);
  }
  .reveal.reveal--scale.visible {
    transform: scale(1) translateY(0);
  }

  /* Hero bg slow zoom out */
  .hero__bg img {
    animation: hero-zoom-out 20s ease-out forwards;
    transform-origin: center center;
  }
  @keyframes hero-zoom-out {
    0% { transform: scale(1.15); }
    100% { transform: scale(1); }
  }

  /* Contact card hover */
  .contact__card {
    transition: transform 0.3s var(--ease);
  }
  .contact__card:hover {
    transform: translateX(8px);
  }

  /* Hero title gold sweep */
  .hero__title {
    animation: gold-sweep 4s var(--ease) 0.8s both;
  }
  @keyframes gold-sweep {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }

  /* Hero gold accent line draw-in */
  .hero__tagline::before {
    animation: draw-line 1s var(--ease-out) 0.3s both;
  }
  @keyframes draw-line {
    from { width: 0; }
    to { width: 60px; }
  }

  /* About image parallax-lite zoom on reveal */
  .about__image img {
    transition: transform 12s linear;
    transform: scale(1.2);
  }
  .about__image:hover img,
  .about.visible .about__image img {
    transform: scale(1);
  }

  /* Contact form groups slide up individually */
  .form__group.reveal:nth-child(1) { transition-delay: 0.1s; }
  .form__group.reveal:nth-child(2) { transition-delay: 0.25s; }
  .form__group.reveal:nth-child(3) { transition-delay: 0.4s; }
  .form__group.reveal:nth-child(4) { transition-delay: 0.55s; }

  /* Contact cards slide in from right */
  .contact__card.reveal {
    transform: translateX(60px);
    opacity: 0;
  }
  .contact__card.reveal.visible {
    transform: translateX(0);
    opacity: 1;
  }
  .contact__card.reveal:nth-child(1) { transition-delay: 0.1s; }
  .contact__card.reveal:nth-child(2) { transition-delay: 0.25s; }
  .contact__card.reveal:nth-child(3) { transition-delay: 0.4s; }

  /* Service card icon bounce on reveal */
  .service-card.reveal.visible .service-card__icon {
    animation: icon-pop 0.6s var(--ease-out) 0.3s both;
  }
  @keyframes icon-pop {
    0% { transform: scale(0); opacity: 0; }
    60% { transform: scale(1.15); }
    100% { transform: scale(1); opacity: 1; }
  }

  /* Footer links stagger */
  .footer__links li {
    opacity: 0;
    transform: translateY(10px);
    animation: fade-up 0.5s var(--ease-out) forwards;
  }
  .footer__links li:nth-child(1) { animation-delay: 0s; }
  .footer__links li:nth-child(2) { animation-delay: 0.05s; }
  .footer__links li:nth-child(3) { animation-delay: 0.1s; }
  .footer__links li:nth-child(4) { animation-delay: 0.15s; }
  @keyframes fade-up {
    to { opacity: 1; transform: translateY(0); }
  }

  /* Section tagline shimmer */
  .section__tagline {
    background: linear-gradient(90deg, var(--accent) 0%, #e8d5a8 50%, var(--accent) 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shimmer 3s ease-in-out infinite;
  }
  @keyframes shimmer {
    0% { background-position: 100% 0; }
    100% { background-position: -100% 0; }
  }

  /* BA card scale in */
  .ba-card.reveal {
    transform: scale(0.8) translateY(60px);
  }
  .ba-card.reveal.visible {
    transform: scale(1) translateY(0);
  }
  .ba-card.reveal:nth-child(1) { transition-delay: 0s; }
  .ba-card.reveal:nth-child(2) { transition-delay: 0.2s; }
  .ba-card.reveal:nth-child(3) { transition-delay: 0.4s; }

  /* Service card stagger entrance */
  .service-card.reveal:nth-child(1) { transition-delay: 0s; }
  .service-card.reveal:nth-child(2) { transition-delay: 0.15s; }
  .service-card.reveal:nth-child(3) { transition-delay: 0.3s; }
  .service-card.reveal:nth-child(4) { transition-delay: 0.45s; }

  /* Gallery item stagger entrance */
  .gallery__page:first-child .gallery__item.reveal:nth-child(1) { transition-delay: 0s; }
  .gallery__page:first-child .gallery__item.reveal:nth-child(2) { transition-delay: 0.15s; }
  .gallery__page:first-child .gallery__item.reveal:nth-child(3) { transition-delay: 0.3s; }
  .gallery__page:first-child .gallery__item.reveal:nth-child(4) { transition-delay: 0.45s; }
  .gallery__page:first-child .gallery__item.reveal:nth-child(5) { transition-delay: 0.6s; }
  .gallery__page:first-child .gallery__item.reveal:nth-child(6) { transition-delay: 0.75s; }

  /* CTA banner slide in from right */
  .cta-banner__card.reveal {
    transform: translateX(100px);
    opacity: 0;
  }
  .cta-banner__card.reveal.visible {
    transform: translateX(0);
    opacity: 1;
    transition: opacity 1.2s var(--ease-out), transform 1.2s var(--ease-out);
  }

  /* Button pulse on hero */
  .hero__actions .btn--primary {
    animation: pulse-glow 2.5s ease-in-out infinite;
  }
  @keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(200, 169, 110, 0.2); }
    50% { box-shadow: 0 8px 40px rgba(200, 169, 110, 0.45); }
  }
}

/* ===== RESPONSIVE — 960px ===== */
@media (max-width: 960px) {
  .container { padding: 0 32px; }

  /* Hero: stack */
  .hero {
    flex-direction: column;
    min-height: auto;
  }
  .hero__bg {
    position: relative;
    width: 100%;
    height: 50vh;
  }
  .hero__content {
    width: 100%;
    padding: 60px 32px 80px;
    margin-left: 0;
  }
  .hero__title {
    font-size: 52px;
  }

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

  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
  }
  .gallery__page:last-child .gallery__item {
    flex: 0 0 calc(50% - 10px);
  }
  .gallery__arrow--left { left: -16px; }
  .gallery__arrow--right { right: -16px; }

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

  .about__inner {
    grid-template-columns: 1fr;
    min-height: auto;
  }
  .about__image {
    height: 50vh;
  }
  .about__content {
    padding: 60px 40px;
  }
  .about__content::before {
    font-size: 140px;
    top: 20px;
    left: 30px;
  }

  .contact__inner {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .cta-banner__card {
    grid-template-columns: 1fr;
  }
  .cta-banner__img {
    min-height: 280px;
  }
  .cta-banner__content {
    padding: 48px 40px;
  }

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

/* ===== RESPONSIVE — 640px (Mobile) ===== */
@media (max-width: 640px) {
  .container { padding: 0 24px; }

  /* Mobile nav */
  .nav__links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: var(--black);
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 32px;
    z-index: 1000;
  }
  .nav__links.active {
    right: 0;
  }
  .nav__links a {
    color: rgba(255,255,255,0.6) !important;
    font-size: 16px !important;
    letter-spacing: 0.15em;
  }
  .nav__links a:hover {
    color: var(--white) !important;
  }
  .nav__toggle {
    display: flex;
    z-index: 1001;
  }
  .nav__toggle.active span {
    background: var(--white) !important;
  }
  .nav__toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .nav__toggle.active span:nth-child(2) {
    opacity: 0;
  }
  .nav__toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  /* Hero: full bleed photo with dark overlay on mobile */
  .hero {
    position: relative;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero__bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero__overlay {
    display: block;
    position: absolute;
    inset: 0;
    background: rgba(10,10,10,0.6);
    z-index: 1;
  }
  .hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 0 24px;
    margin: 0;
    background: transparent;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero__tagline::before {
    left: 50%;
    transform: translateX(-50%);
  }
  .hero__subtitle {
    max-width: 340px;
  }

  /* Marquee faster on mobile */
  .marquee-inner {
    animation-duration: 8s;
  }
  .hero__title {
    font-size: 36px;
  }
  .hero__subtitle {
    font-size: 16px;
  }
  .hero__actions {
    flex-direction: column;
  }
  .hero__actions .btn {
    justify-content: center;
    text-align: center;
  }

  /* Services: single column */
  .services {
    padding: 100px 0;
  }
  .services__grid {
    grid-template-columns: 1fr;
  }
  .service-card {
    padding: 40px 24px;
    border-right: none !important;
  }
  .service-card::before {
    font-size: 80px;
  }

  /* Gallery */
  .gallery {
    padding: 100px 0;
  }
  .gallery__grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    gap: 12px;
  }
  .gallery__page:last-child .gallery__grid {
    gap: 12px;
  }
  .gallery__page:last-child .gallery__item {
    flex: 0 0 calc(50% - 6px);
  }
  .gallery__arrow {
    width: 40px;
    height: 40px;
  }
  .gallery__arrow--left { left: -8px; }
  .gallery__arrow--right { right: -8px; }
  .gallery__arrow svg { width: 18px; height: 18px; }

  /* CTA Banner mobile */
  .cta-banner__content {
    padding: 36px 24px;
  }
  .cta-banner__actions {
    flex-direction: column;
  }
  .cta-banner__actions .btn {
    justify-content: center;
    text-align: center;
  }

  /* Lightbox mobile */
  .lightbox__prev { left: 8px; }
  .lightbox__next { right: 8px; }
  .lightbox__prev,
  .lightbox__next {
    width: 44px;
    height: 44px;
  }

  /* Transformations */
  .transformations {
    padding: 100px 0;
  }
  .transformations__grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  /* About: stack, photo on top */
  .about__image {
    height: 60vw;
  }
  .about__content {
    padding: 48px 24px;
  }
  .about__content::before {
    font-size: 100px;
    top: 10px;
    left: 16px;
  }
  .about__features {
    flex-direction: column;
    gap: 12px;
  }
  .about__features li {
    border-right: none;
    padding-right: 0;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }
  .about__features li:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

  /* Contact */
  .contact {
    padding: 100px 0;
  }
  .contact__card a,
  .contact__card p {
    font-size: 20px;
  }

  /* Footer */
  .footer__inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  /* About image needs overflow hidden for zoom animation */
  .about__image {
    overflow: hidden;
    padding: 0;
  }
  .about__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0;
    max-width: none;
  }

  /* Center section titles on mobile */
  .services .section__tagline,
  .services .section__title,
  .gallery .section__tagline,
  .gallery .section__title {
    text-align: center;
  }

  /* Center about content on mobile */
  .about__content .section__tagline,
  .about__content .section__title {
    text-align: center;
  }
  .about__text {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .about .btn--primary {
    align-self: center;
  }
  .about__features {
    align-items: center;
  }

  /* Contact center on mobile */
  .contact .section__tagline,
  .contact .section__title {
    text-align: center;
  }

  /* Mobile nav transition */
  @media (prefers-reduced-motion: no-preference) {
    .nav__links {
      transition: right 0.4s var(--ease-out);
    }

    /* Hero slide-up from bottom on mobile */
    .hero-reveal {
      transform: translateY(40px);
    }
    .hero-reveal.visible {
      transform: translateY(0);
    }

    /* Service cards slide from alternating sides on mobile */
    .service-card.reveal:nth-child(odd) {
      transform: translateX(-60px);
      opacity: 0;
    }
    .service-card.reveal:nth-child(even) {
      transform: translateX(60px);
      opacity: 0;
    }
    .service-card.reveal.visible {
      transform: translateX(0);
      opacity: 1;
    }

    /* Gallery items scale up on mobile */
    .gallery__item.reveal {
      transform: scale(0.85);
      opacity: 0;
    }
    .gallery__item.reveal.visible {
      transform: scale(1);
      opacity: 1;
    }

    /* About content slide up on mobile */
    .about__text.reveal,
    .about__features.reveal,
    .about .btn.reveal {
      transform: translateY(50px);
    }

    /* CTA banner slide up instead of right on mobile */
    .cta-banner__card.reveal {
      transform: translateY(80px);
    }
    .cta-banner__card.reveal.visible {
      transform: translateY(0);
    }

    /* Contact cards slide up on mobile instead of right */
    .contact__card.reveal {
      transform: translateY(40px);
    }
    .contact__card.reveal.visible {
      transform: translateY(0);
    }
  }
}
