/* ============================================================
   MY PHOTO CORNER — Cinematic luxury homepage
   Design system
   ============================================================ */

:root {
  /* Palette — warm, luxurious, easy on the eye */
  --paper:        #F6F2EC;   /* warm cream */
  --paper-2:      #EFE7DB;   /* deeper warm */
  --ink:          #1C1A17;   /* warm near-black */
  --ink-soft:     #34302A;
  --muted:        #8C8378;   /* warm gray */
  --muted-2:      #B7AEA1;
  --line:         rgba(28, 26, 23, 0.13);
  --line-light:   rgba(246, 242, 236, 0.22);

  /* Accent — single quiet warm taupe */
  --accent:       #A8927A;
  --accent-deep:  #8A7258;
  --accent-soft:  rgba(168, 146, 122, 0.14);

  /* Type */
  --font-display: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --font-sans:    'Hanken Grotesk', system-ui, -apple-system, sans-serif;

  /* Motion */
  --ease:    cubic-bezier(0.22, 1, 0.36, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --reveal-dur: 1.2s;

  /* Layout */
  --pad: clamp(20px, 6vw, 120px);
  --maxw: 1500px;
}

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

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }

body {
  font-family: var(--font-sans);
  background: var(--paper);
  color: var(--ink);
  font-size: 17px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

::selection { background: var(--accent); color: var(--paper); }

/* ---------- Typographic primitives ---------- */
.kicker {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  color: var(--accent-deep);
}
.kicker--light { color: var(--accent); }

.display {
  font-family: var(--font-display);
  font-weight: 400;
  line-height: 0.98;
  letter-spacing: -0.01em;
  font-feature-settings: "liga" 1, "dlig" 1;
}
.display em { font-style: italic; color: var(--accent-deep); }
.display--light em { color: var(--accent); }

.lede {
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.55;
  color: var(--ink-soft);
  font-weight: 350;
  max-width: 46ch;
}

.serif-note {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 32px);
  line-height: 1.35;
  color: var(--ink-soft);
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.7em;
  font-family: var(--font-sans);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 17px 30px;
  border: 1px solid var(--ink);
  background: var(--ink);
  color: var(--paper);
  cursor: pointer;
  transition: background 0.5s var(--ease), color 0.5s var(--ease), border-color 0.5s var(--ease);
  border-radius: 0;
}
.btn:hover { background: transparent; color: var(--ink); }
.btn .arrow { transition: transform 0.5s var(--ease); }
.btn:hover .arrow { transform: translateX(5px); }

.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--paper); }

.btn--light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn--light:hover { background: transparent; color: var(--paper); border-color: var(--paper); }

.btn--outline-light { background: transparent; color: var(--paper); border-color: var(--line-light); }
.btn--outline-light:hover { background: var(--paper); color: var(--ink); border-color: var(--paper); }

/* Text link with animated underline */
.link-underline {
  position: relative;
  text-decoration: none;
  color: inherit;
  padding-bottom: 3px;
}
.link-underline::after {
  content: "";
  position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(0); transform-origin: right;
  transition: transform 0.55s var(--ease);
}
.link-underline:hover::after { transform: scaleX(1); transform-origin: left; }

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; inset: 0 0 auto 0;
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 26px var(--pad);
  transition: background 0.6s var(--ease), padding 0.6s var(--ease), box-shadow 0.6s var(--ease);
  color: var(--paper);
}
.nav.scrolled {
  background: rgba(246, 242, 236, 0.92);
  backdrop-filter: blur(14px) saturate(1.2);
  -webkit-backdrop-filter: blur(14px) saturate(1.2);
  padding-top: 16px; padding-bottom: 16px;
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
}
.nav__brand {
  display: block;
  position: relative;
  line-height: 0;
  text-decoration: none;
}
.nav__logo {
  display: block;
  height: 52px;
  width: auto;
  transition: height 0.6s var(--ease), opacity 0.5s var(--ease);
}
.nav__logo--dark { position: absolute; inset: 0; opacity: 0; }
.nav.scrolled .nav__logo { height: 42px; }
.nav.scrolled .nav__logo--light { opacity: 0; }
.nav.scrolled .nav__logo--dark { opacity: 1; }
.nav__links {
  display: flex; align-items: center; gap: 34px;
  list-style: none;
}
.nav__links a {
  font-size: 12px; font-weight: 500; letter-spacing: 0.16em;
  text-transform: uppercase; text-decoration: none; color: inherit;
  white-space: nowrap;
}
.nav__cta { margin-left: 8px; }
.nav.scrolled .btn--outline-light { color: var(--ink); border-color: var(--line); }
.nav.scrolled .btn--outline-light:hover { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.nav__burger { display: none; background: none; border: none; cursor: pointer; color: inherit; }
.nav__burger span { display: block; width: 26px; height: 1.5px; background: currentColor; margin: 6px 0; transition: 0.4s var(--ease); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  height: 100svh;
  min-height: 640px;
  overflow: hidden;
  background: #100f0d;
}
.hero__media {
  position: absolute; inset: -4% ;
  width: 108%; height: 108%;
}
.hero__media image-slot {
  width: 100%; height: 100%;
  animation: kenburns 24s ease-in-out infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate(0,0); }
  to   { transform: scale(1.12) translate(-1.5%, -1.5%); }
}
.hero__scrim {
  position: absolute; inset: 0;
  background:
    linear-gradient(to bottom, rgba(8,7,6,0.55) 0%, rgba(8,7,6,0.12) 32%, rgba(8,7,6,0.28) 62%, rgba(8,7,6,0.78) 100%);
  z-index: 2;
}
.hero__grain {
  position: absolute; inset: 0; z-index: 3; pointer-events: none;
  opacity: 0.5; mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}
.hero__inner {
  position: relative; z-index: 4;
  height: 100%;
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 0 var(--pad) clamp(48px, 9vh, 110px);
  color: var(--paper);
}
.hero__kicker { margin-bottom: 26px; opacity: 0; }
.hero__title {
  font-size: clamp(46px, 8vw, 132px);
  max-width: 15ch;
  margin-bottom: 30px;
  overflow: hidden;
}
.hero__title .reveal-clip { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero__title .reveal-inner { display: block; transform: translateY(110%); }
.hero__row {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; flex-wrap: wrap;
}
.hero__sub {
  font-size: clamp(16px, 1.4vw, 19px);
  max-width: 44ch; color: rgba(246,242,236,0.86);
  font-weight: 350; opacity: 0;
}
.hero__actions { display: flex; gap: 16px; align-items: center; opacity: 0; flex-wrap: wrap; }

.hero__scroll {
  position: absolute; left: 50%; bottom: 30px; transform: translateX(-50%);
  z-index: 4; display: flex; flex-direction: column; align-items: center; gap: 10px;
  color: var(--paper); opacity: 0.8;
}
.hero__scroll .line-v { width: 1px; height: 46px; background: linear-gradient(var(--paper), transparent); animation: scrolly 2.4s var(--ease-io) infinite; }
.hero__scroll span { font-size: 9.5px; letter-spacing: 0.3em; text-transform: uppercase; }
@keyframes scrolly { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }

/* Hero intro animation states (added via JS) */
.hero.ready .hero__title .reveal-inner { transform: translateY(0); transition: transform 1.25s var(--ease); }
.hero.ready .hero__kicker { opacity: 1; transition: opacity 1s ease 0.1s; }
.hero.ready .hero__sub { opacity: 1; transition: opacity 1.1s ease 0.5s; }
.hero.ready .hero__actions { opacity: 1; transition: opacity 1.1s ease 0.65s; }

/* ============================================================
   SECTION SCAFFOLD
   ============================================================ */
.section { padding: clamp(80px, 12vh, 170px) var(--pad); }
.section--tight { padding-top: clamp(60px, 8vh, 110px); padding-bottom: clamp(60px, 8vh, 110px); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--paper2 { background: var(--paper-2); }
.wrap { max-width: var(--maxw); margin: 0 auto; }

.eyebrow-row { display: flex; align-items: center; gap: 16px; margin-bottom: 28px; }
.eyebrow-row .rule { height: 1px; width: 46px; background: var(--accent); }

/* ============================================================
   STORY
   ============================================================ */
.story__grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.story__title { font-size: clamp(34px, 4.6vw, 72px); margin-bottom: 32px; max-width: 16ch; }
.story__body p { color: var(--ink-soft); max-width: 52ch; margin-bottom: 20px; }
.story__sign {
  margin-top: 34px; display: flex; align-items: center; gap: 18px;
}
.story__sign .name { font-family: var(--font-display); font-size: 30px; font-style: italic; }
.story__sign .role { font-size: 11.5px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.story__media { position: relative; }
.story__media image-slot { width: 100%; aspect-ratio: 4/5; }
.story__media .tag {
  position: absolute; bottom: -22px; left: -22px;
  background: var(--paper); padding: 18px 24px; border: 1px solid var(--line);
}
.story__media .tag .n { font-family: var(--font-display); font-size: 40px; line-height: 1; }
.story__media .tag .t { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-top: 4px; }

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr);
  gap: 30px; margin-top: clamp(60px, 9vh, 110px);
  border-top: 1px solid var(--line); padding-top: 48px;
}
.stat .n { font-family: var(--font-display); font-size: clamp(40px, 4vw, 64px); line-height: 1; }
.stat .l { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-top: 8px; }

/* ============================================================
   PILLARS (Why)
   ============================================================ */
.pillars {
  margin-top: clamp(56px, 9vh, 110px);
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(40px, 6vw, 90px);
  align-items: start;
}
.pillars__lead .serif-note { margin-top: 14px; max-width: 18ch; }
.pillars__grid { display: grid; gap: 0; }
.pillar { padding: 26px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 64px 1fr; gap: 8px 20px; align-items: baseline; }
.pillar:last-child { border-bottom: 1px solid var(--line); }
.pillar__n { font-family: var(--font-display); font-size: 20px; color: var(--accent-deep); grid-row: span 2; }
.pillar h4 { font-family: var(--font-display); font-size: 27px; font-weight: 500; }
.pillar p { color: var(--ink-soft); font-size: 15px; max-width: 44ch; }

/* ============================================================
   OTHER SERVICES (card grid)
   ============================================================ */
.svc-head { margin-bottom: clamp(40px, 6vh, 72px); }
.svc-head__row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.svc-head__title { font-size: clamp(38px, 5.5vw, 88px); }
.svc-head__intro { color: rgba(246,242,236,0.78); max-width: 42ch; font-size: 16px; }
.svc-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(20px, 2.6vw, 40px); }
.svc-card__media { overflow: hidden; margin-bottom: 26px; }
.svc-card__media image-slot { width: 100%; aspect-ratio: 4/5; transition: transform 1.1s var(--ease); }
.svc-card:hover .svc-card__media image-slot { transform: scale(1.04); }
.svc-card__num { font-family: var(--font-display); font-size: 15px; color: var(--accent); letter-spacing: 0.1em; margin-bottom: 8px; }
.svc-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(26px, 2.4vw, 34px); margin-bottom: 12px; }
.svc-card p { color: rgba(246,242,236,0.74); font-size: 15px; max-width: 38ch; }
.svc-foot { display: flex; justify-content: center; margin-top: clamp(48px, 7vh, 80px); }

/* ============================================================
   WHAT TO EXPECT (weddings)
   ============================================================ */
.expect__top {
  display: grid; grid-template-columns: 0.7fr 1.3fr; gap: clamp(30px, 5vw, 80px);
  align-items: start; margin-bottom: clamp(40px, 6vh, 70px);
}
.expect__top .eyebrow-row { margin-bottom: 0; padding-top: 8px; }
.expect__lead { max-width: 24ch; }
.expect__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(28px, 4vw, 64px);
  margin-bottom: clamp(40px, 6vh, 68px);
}
.expect__item { border-top: 1px solid var(--line); padding-top: 24px; }
.expect__n { font-family: var(--font-display); font-size: 22px; color: var(--accent-deep); margin-bottom: 14px; }
.expect__item h4 { font-family: var(--font-display); font-weight: 500; font-size: clamp(22px, 2vw, 28px); line-height: 1.12; margin-bottom: 12px; }
.expect__item p { color: var(--ink-soft); font-size: 15px; }
.expect__includes {
  background: var(--accent-soft); border: 1px solid var(--line);
  padding: clamp(28px, 4vw, 48px);
  display: grid; grid-template-columns: 0.55fr 1.45fr; gap: clamp(20px, 4vw, 60px);
  align-items: start;
}
.expect__includes-label {
  font-family: var(--font-display); font-style: italic; font-size: clamp(22px, 2.2vw, 30px);
  line-height: 1.2; color: var(--ink);
}
.expect__includes ul { list-style: none; display: grid; gap: 18px; }
.expect__includes li { display: flex; gap: 14px; align-items: baseline; font-size: 15.5px; color: var(--ink-soft); line-height: 1.55; }
.expect__includes li .i { color: var(--accent-deep); font-family: var(--font-display); font-size: 18px; }
.expect__includes li strong { color: var(--ink); font-weight: 600; }

/* Hero darkness tweak overlay */
.hero__darken { position: absolute; inset: 0; z-index: 2; background: #08070699; opacity: var(--hero-darken, 0); pointer-events: none; transition: opacity 0.4s var(--ease); }
.port__head {
  display: flex; align-items: flex-end; justify-content: space-between;
  gap: 40px; margin-bottom: 52px; flex-wrap: wrap;
}
.port__title { font-size: clamp(38px, 5.5vw, 92px); }
.port__filters { display: flex; gap: 6px; flex-wrap: wrap; }
.port__filters button {
  font-family: var(--font-sans); font-size: 12px; font-weight: 500;
  letter-spacing: 0.14em; text-transform: uppercase;
  background: none; border: 1px solid var(--line); color: var(--muted);
  padding: 11px 20px; cursor: pointer; border-radius: 999px;
  transition: 0.4s var(--ease);
}
.port__filters button:hover { color: var(--ink); border-color: var(--ink); }
.port__filters button.active { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.port__grid { display: block; }
.gallery-row { display: flex; gap: 16px; margin-bottom: 16px; }
.gallery-row:last-child { margin-bottom: 0; }
.tile {
  position: relative; overflow: hidden; cursor: pointer;
  background: var(--paper-2);
  flex: 0 0 auto;
}
.tile image-slot { display: block; width: 100%; height: 100%; }
.tile__inner { position: absolute; inset: 0; transition: transform 1.1s var(--ease); }
.tile:hover .tile__inner { transform: scale(1.045); }
.tile__cap {
  position: absolute; inset: auto 0 0 0; z-index: 3;
  padding: 22px; color: var(--paper);
  background: linear-gradient(transparent, rgba(10,9,8,0.72));
  opacity: 0; transform: translateY(8px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease);
  pointer-events: none;
}
.tile:hover .tile__cap { opacity: 1; transform: translateY(0); }
.tile__cap .c-t { font-family: var(--font-display); font-size: 25px; line-height: 1.1; }
.tile__cap .c-m { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; opacity: 0.82; margin-top: 4px; }
.tile.hide { display: none; }

.port__foot { display: flex; justify-content: center; margin-top: 56px; }

/* ============================================================
   SERVICES
   ============================================================ */
.svc { display: flex; flex-direction: column; gap: clamp(70px, 12vh, 150px); }
.svc__row {
  display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 96px);
  align-items: center;
}
.svc__row.reverse .svc__media { order: 2; }
.svc__media { position: relative; }
.svc__media image-slot { width: 100%; aspect-ratio: 5/6; }
.svc__num { font-family: var(--font-display); font-size: 16px; color: var(--accent-deep); letter-spacing: 0.1em; }
.svc__title { font-size: clamp(34px, 4.4vw, 68px); margin: 14px 0 22px; }
.svc__desc { color: var(--ink-soft); max-width: 46ch; margin-bottom: 28px; }
.svc__list { list-style: none; display: grid; gap: 0; margin-bottom: 34px; max-width: 460px; }
.svc__list li {
  display: flex; align-items: baseline; gap: 14px;
  padding: 14px 0; border-top: 1px solid var(--line);
  font-size: 15px;
}
.svc__list li:last-child { border-bottom: 1px solid var(--line); }
.svc__list li .i { font-family: var(--font-display); font-style: italic; color: var(--accent-deep); font-size: 16px; min-width: 26px; }

.section--dark .svc__desc { color: rgba(246,242,236,0.8); }
.section--dark .svc__list li { border-color: var(--line-light); }
.section--dark .svc__num { color: var(--accent); }

/* ============================================================
   QUOTE / PARALLAX
   ============================================================ */
.quote {
  position: relative; min-height: 78vh;
  display: flex; align-items: center; justify-content: center;
  text-align: center; overflow: hidden; color: var(--paper);
  padding: var(--pad);
}
.quote__bg { position: absolute; inset: -12% 0; z-index: 0; }
.quote__bg image-slot { width: 100%; height: 124%; }
.quote__scrim { position: absolute; inset: 0; background: rgba(10,9,8,0.5); z-index: 1; }
.quote__inner { position: relative; z-index: 2; max-width: 22ch; }
.quote__mark { font-family: var(--font-display); font-size: 90px; line-height: 0.5; color: var(--accent); display: block; margin-bottom: 10px; }
.quote__text { font-family: var(--font-display); font-size: clamp(30px, 4.6vw, 70px); line-height: 1.12; font-weight: 400; }
.quote__text em { font-style: italic; color: var(--accent); }
.quote__by { margin-top: 32px; font-size: 11.5px; letter-spacing: 0.24em; text-transform: uppercase; color: rgba(246,242,236,0.8); }

/* ============================================================
   CONTACT
   ============================================================ */
.contact__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); }
.contact__title { font-size: clamp(40px, 6vw, 100px); margin-bottom: 28px; max-width: 12ch; }
.contact__intro { color: var(--ink-soft); max-width: 42ch; margin-bottom: 40px; }
.contact__detail { display: grid; gap: 22px; }
.contact__detail .d { border-top: 1px solid var(--line); padding-top: 16px; }
.contact__detail .d .k { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.contact__detail .d .v { font-family: var(--font-display); font-size: 24px; }
.contact__detail .d .v a { color: inherit; text-decoration: none; }

.form { display: grid; gap: 22px; }
.form .field { display: grid; gap: 9px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.form label { font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--muted); }
.form input, .form select, .form textarea {
  font-family: var(--font-sans); font-size: 16px; color: var(--ink);
  background: transparent; border: none; border-bottom: 1px solid var(--line);
  padding: 10px 2px; outline: none; transition: border-color 0.4s var(--ease);
}
.form input::placeholder, .form textarea::placeholder { color: var(--muted-2); }
.form input:focus, .form select:focus, .form textarea:focus { border-color: var(--accent-deep); }
.form textarea { resize: vertical; min-height: 90px; }
.form .submit { margin-top: 8px; justify-self: start; }
.form__note { font-size: 13px; color: var(--muted); }
.form__success { display: none; padding: 18px 22px; border: 1px solid var(--accent); background: var(--accent-soft); font-size: 15px; }
.form.sent .form__success { display: block; }
.form.sent .form__live { display: none; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { background: var(--ink); color: var(--paper); padding: clamp(60px,9vh,110px) var(--pad) 40px; }
.footer__top { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 50px; padding-bottom: 60px; border-bottom: 1px solid var(--line-light); }
.footer__brand img { height: clamp(80px, 9vw, 130px); width: auto; }
.footer__col h4 { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-bottom: 18px; font-weight: 600; }
.footer__col ul { list-style: none; display: grid; gap: 11px; }
.footer__col a { color: rgba(246,242,236,0.82); text-decoration: none; font-size: 15px; }
.footer__col a:hover { color: var(--paper); }
.footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding-top: 26px; flex-wrap: wrap; }
.footer__bottom p { font-size: 12.5px; color: rgba(246,242,236,0.6); letter-spacing: 0.04em; }
.footer__bottom a { color: rgba(246,242,236,0.78); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: rgba(246,242,236,0.35); transition: color 0.3s var(--ease), text-decoration-color 0.3s var(--ease); }
.footer__bottom a:hover { color: var(--paper); text-decoration-color: var(--accent); }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 200;
  background: rgba(12,11,9,0.96);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
  padding: 5vh 6vw;
}
.lightbox.open { opacity: 1; pointer-events: auto; }
.lightbox__stage { position: relative; max-width: min(1100px, 92vw); width: 100%; display: flex; flex-direction: column; align-items: center; }
.lightbox__frame { position: relative; width: auto; max-width: 100%; max-height: 80vh; aspect-ratio: 3/2; background: #161410; overflow: hidden; }
.lightbox__frame img { width: 100%; height: 100%; object-fit: cover; }
.lightbox__ph {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  text-align: center; padding: 30px; color: rgba(246,242,236,0.55);
  font-family: var(--font-display); font-style: italic; font-size: 22px;
  background:
    repeating-linear-gradient(45deg, rgba(168,146,122,0.06) 0 12px, rgba(168,146,122,0.02) 12px 24px),
    #161410;
}
.lightbox__cap { color: var(--paper); margin-top: 18px; text-align: center; }
.lightbox__cap .c-t { font-family: var(--font-display); font-size: 28px; }
.lightbox__cap .c-m { font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--accent); margin-top: 6px; }
.lightbox__close { position: absolute; top: 4vh; right: 6vw; background: none; border: none; color: var(--paper); cursor: pointer; font-size: 30px; line-height: 1; opacity: 0.8; }
.lightbox__close:hover { opacity: 1; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); background: none; border: 1px solid var(--line-light); color: var(--paper); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 18px; transition: 0.4s var(--ease); }
.lightbox__nav:hover { background: var(--paper); color: var(--ink); }
.lightbox__nav.prev { left: 2vw; } .lightbox__nav.next { right: 2vw; }

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity var(--reveal-dur) var(--ease), transform var(--reveal-dur) var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal[data-d="1"] { transition-delay: 0.1s; }
.reveal[data-d="2"] { transition-delay: 0.2s; }
.reveal[data-d="3"] { transition-delay: 0.3s; }
.reveal[data-d="4"] { transition-delay: 0.4s; }

.reveal-img { clip-path: inset(0 0 100% 0); transition: clip-path 1.3s var(--ease); }
.reveal-img.in { clip-path: inset(0 0 0 0); }

html.no-motion .reveal,
html.no-motion .reveal-img { opacity: 1 !important; transform: none !important; clip-path: none !important; }
html.no-motion .hero__media image-slot { animation: none !important; }
html.no-motion .hero__title .reveal-inner { transform: none !important; }

/* image-slot styling to match luxe palette */
image-slot { --slot-bg: var(--paper-2); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav__links { display: none; }
  .nav__burger { display: block; }
  .story__grid { grid-template-columns: 1fr; gap: 60px; }
  .pillars { grid-template-columns: 1fr; gap: 40px; }
  .svc-cards { grid-template-columns: 1fr; gap: 40px; }
  .svc-card { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 24px; align-items: center; }
  .svc-card__media { margin-bottom: 0; }
  .svc-card__media image-slot { aspect-ratio: 4/3; }
  .svc__row, .svc__row.reverse .svc__media { grid-template-columns: 1fr; order: 0; }
  .svc__row .svc__media { order: -1 !important; }
  .contact__grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1 / -1; margin-bottom: 20px; }
}
@media (max-width: 680px) {
  body { font-size: 16px; }
  .stats { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
  .svc-card { grid-template-columns: 1fr; }
  .svc-card__media { margin-bottom: 18px; }
  .form .row2 { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; }
  .hero__row { flex-direction: column; align-items: flex-start; }
}
