/* ============================================
   ACE PHOTOGRAPHY v2 — INNER PAGES CSS
   ============================================ */

/* ── SPLIT INTRO (session pages) ── */
.split-intro { background: var(--ivory); }
.split-intro-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  min-height: 520px;
}
.split-intro-grid.rev { direction: rtl; }
.split-intro-grid.rev > * { direction: ltr; }
.split-img .img-slot { width: 100%; height: 100%; min-height: 440px; }
.split-text {
  padding: 80px 64px;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--ivory-mid);
}
.split-text .s-body { margin-top: 14px; }
.split-text .btn { margin-top: 32px; align-self: flex-start; }

/* ── SESSION GALLERY ── */
.sess-gallery { background: var(--ivory); }
.sess-gallery-hdr { text-align: center; margin-bottom: 52px; }
.masonry {
  max-width: var(--max); margin: 0 auto;
  columns: 3; column-gap: 6px;
}
.masonry-item {
  break-inside: avoid; margin-bottom: 6px;
  cursor: pointer; overflow: hidden; position: relative;
}
.masonry-item .img-slot { width: 100%; }
.masonry-item .img-slot.tall   { min-height: 400px; }
.masonry-item .img-slot.medium { min-height: 300px; }
.masonry-item .img-slot.short  { min-height: 220px; }
.masonry-item-hover {
  position: absolute; inset: 0; z-index: 1;
  background: rgba(26,22,18,0.4);
  opacity: 0; transition: opacity var(--fast);
  display: flex; align-items: center; justify-content: center;
}
.masonry-item:hover .masonry-item-hover { opacity: 1; }
.masonry-expand {
  width: 40px; height: 40px;
  border: 1px solid rgba(255,255,255,0.4);
  color: var(--white); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.sess-gallery-note {
  text-align: center; margin-top: 40px;
  font-size: 0.78rem; font-weight: 300; color: var(--ink-light);
  font-family: var(--body); font-style: italic;
}

/* ── PORTFOLIO PAGE ── */
.portfolio-pg { background: var(--ivory); }
.filter-bar {
  display: flex; gap: 0; justify-content: center;
  border-bottom: 1px solid var(--ivory-mid);
  margin-bottom: 52px;
}
.f-tab {
  font-size: 0.63rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-light); padding: 13px 26px;
  cursor: pointer; position: relative;
  background: none; border: none; font-family: var(--body); font-weight: 300;
  transition: color var(--fast);
}
.f-tab::after {
  content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 1px;
  background: var(--sand); transform: scaleX(0); transition: transform var(--fast);
}
.f-tab.on, .f-tab:hover { color: var(--ink); }
.f-tab.on::after { transform: scaleX(1); }
.pf-grid {
  max-width: var(--max); margin: 0 auto;
  columns: 3; column-gap: 6px;
}
.pf-item {
  break-inside: avoid; margin-bottom: 6px;
  cursor: pointer; overflow: hidden; position: relative;
  transition: opacity 0.4s, transform 0.4s;
}
.pf-item.hidden { opacity: 0; pointer-events: none; transform: scale(0.97); display: none; }
.pf-item .img-slot { width: 100%; }
.pf-item .img-slot.s { min-height: 260px; }
.pf-item .img-slot.m { min-height: 340px; }
.pf-item .img-slot.l { min-height: 420px; }
.pf-hover {
  position: absolute; inset: 0;
  background: rgba(26,22,18,0.42);
  opacity: 0; transition: opacity var(--fast);
  display: flex; align-items: flex-end; padding: 16px;
}
.pf-item:hover .pf-hover { opacity: 1; }
.pf-cat-label {
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--white); font-family: var(--body); font-weight: 300;
  border-bottom: 1px solid var(--sand); padding-bottom: 3px;
}

/* ── ABOUT PAGE ── */
.about-pg { background: var(--ivory); }
.about-pg-grid {
  display: grid; grid-template-columns: 0.9fr 1.1fr;
  gap: 72px; align-items: start;
  max-width: var(--max); margin: 0 auto;
}
.about-img-stack { position: sticky; top: 100px; }
.about-main-img .img-slot { width: 100%; min-height: 520px; }
.about-accent-img {
  width: 58%; margin-left: auto; margin-top: -64px;
  border: 5px solid var(--ivory);
  box-shadow: var(--shadow);
}
.about-accent-img .img-slot { width: 100%; min-height: 200px; }
.about-pg-text { padding: 56px 0; }
.about-pg-text h2 {
  font-family: var(--display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 300; color: var(--ink); line-height: 1.2;
  margin-bottom: 24px;
}
.about-pg-text h2 em { font-style: italic; color: var(--sand); }
.about-pg-text p {
  font-size: 0.88rem; font-weight: 300; line-height: 1.95;
  color: var(--ink-light); margin-bottom: 20px; font-family: var(--body);
}
.about-sig {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 3rem; color: var(--sand); line-height: 1; margin: 20px 0;
}
.about-vals {
  max-width: var(--max); margin: 72px auto 0;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--ivory-mid);
}
.about-val {
  padding: 44px 36px; background: var(--ivory);
  text-align: center;
}
.about-val-n {
  font-family: var(--display); font-size: 3.5rem; font-weight: 300;
  color: var(--sand); opacity: 0.2; display: block; margin-bottom: 10px;
}
.about-val-title {
  font-size: 0.68rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink); display: block; margin-bottom: 10px; font-family: var(--body);
}
.about-val-desc {
  font-size: 0.82rem; font-weight: 300; line-height: 1.85;
  color: var(--ink-light); font-family: var(--body);
}

/* ── INVESTMENT ── */
.inv { background: var(--ivory); }
.inv-hdr { text-align: center; margin-bottom: 68px; }
.inv-grid {
  max-width: var(--max); margin: 0 auto;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px;
  background: var(--ivory-mid);
}
.pkg {
  background: var(--ivory); padding: 52px 40px;
  transition: background var(--fast);
}
.pkg.dark { background: var(--ink); }
.pkg:hover { background: var(--white); }
.pkg.dark:hover { background: var(--ink-mid); }
.pkg-label {
  font-size: 0.58rem; letter-spacing: 0.32em; text-transform: uppercase;
  color: var(--sand); display: block; margin-bottom: 14px; font-family: var(--body);
}
.pkg-name {
  font-family: var(--display); font-size: 2rem; font-weight: 300;
  color: var(--ink); line-height: 1; margin-bottom: 20px;
}
.pkg.dark .pkg-name { color: var(--white); }
.pkg hr { border: none; border-top: 1px solid var(--ivory-mid); margin: 20px 0; }
.pkg.dark hr { border-top-color: rgba(255,255,255,0.07); }
.pkg ul { display: flex; flex-direction: column; gap: 10px; margin-bottom: 32px; }
.pkg ul li {
  font-size: 0.8rem; font-weight: 300; line-height: 1.7;
  color: var(--ink-light); font-family: var(--body);
  padding-left: 16px; position: relative;
}
.pkg ul li::before { content: '–'; position: absolute; left: 0; color: var(--sand); }
.pkg.dark ul li { color: rgba(255,255,255,0.4); }
.pkg-price {
  font-family: var(--display); font-size: 2.4rem; font-weight: 300;
  color: var(--sand); display: block; margin-bottom: 24px;
}
.pkg-price small { font-size: 1rem; color: var(--ink-light); font-family: var(--body); }
.pkg.dark .pkg-price small { color: rgba(255,255,255,0.35); }
.inv-note {
  max-width: 600px; margin: 56px auto 0; text-align: center;
}
.inv-note p {
  font-family: var(--display); font-style: italic;
  font-size: 1.1rem; font-weight: 300; color: var(--ink-light); line-height: 1.7;
}

/* FAQ */
.faq-wrap { max-width: 720px; margin: 0 auto; }
.faq-item { border-top: 1px solid var(--ivory-mid); }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 0; cursor: pointer;
  font-family: var(--display); font-size: 1.1rem; font-weight: 300;
  color: var(--ink); background: none; border: none; width: 100%; text-align: left;
  transition: color var(--fast);
}
.faq-q:hover { color: var(--sand); }
.faq-toggle {
  width: 26px; height: 26px; flex-shrink: 0;
  border: 1px solid var(--ivory-mid);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem; color: var(--sand); margin-left: 20px;
  transition: var(--fast);
}
.faq-item.open .faq-toggle { background: var(--sand); color: var(--white); border-color: var(--sand); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.5s var(--ease); }
.faq-a-inner {
  padding: 0 0 20px;
  font-size: 0.86rem; font-weight: 300; line-height: 1.9;
  color: var(--ink-light); font-family: var(--body);
}

/* CONTACT */
.contact-pg { background: var(--ivory); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.3fr;
  gap: 80px; align-items: start;
  max-width: var(--max); margin: 0 auto;
}
.contact-info .s-body { margin-top: 16px; }
.contact-dets { margin-top: 40px; display: flex; flex-direction: column; gap: 18px; }
.c-det-label {
  font-size: 0.58rem; letter-spacing: 0.28em; text-transform: uppercase;
  color: var(--sand); display: block; margin-bottom: 3px; font-family: var(--body);
}
.c-det-val {
  font-size: 0.86rem; font-weight: 300; color: var(--ink-light); font-family: var(--body);
}
.c-sig {
  font-family: var(--display); font-style: italic; font-weight: 300;
  font-size: 2.8rem; color: var(--sand); margin-top: 28px; line-height: 1;
}
.contact-form { background: var(--ivory-mid); padding: 52px 48px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.fg { display: flex; flex-direction: column; gap: 7px; margin-bottom: 24px; }
.fg label {
  font-size: 0.58rem; letter-spacing: 0.22em; text-transform: uppercase;
  color: var(--ink-light); font-family: var(--body);
}
.fg input, .fg select, .fg textarea {
  background: transparent; border: none;
  border-bottom: 1px solid rgba(26,22,18,0.15);
  padding: 9px 0; font-family: var(--body); font-size: 0.88rem; font-weight: 300;
  color: var(--ink); transition: border-color var(--fast);
  -webkit-appearance: none; appearance: none; border-radius: 0; width: 100%;
}
.fg input:focus, .fg select:focus, .fg textarea:focus {
  outline: none; border-bottom-color: var(--sand);
}
.fg input::placeholder, .fg textarea::placeholder { color: rgba(26,22,18,0.25); }
.fg textarea { resize: none; min-height: 112px; }
.f-submit { width: 100%; justify-content: center; }
.f-msg {
  margin-top: 18px; padding: 14px 18px;
  background: var(--sand-pale); border-left: 2px solid var(--sand);
  font-size: 0.82rem; font-weight: 300; color: var(--ink-mid);
  line-height: 1.7; display: none; font-family: var(--body);
}

/* Review ticker (contact) */
.rev-ticker { padding: 36px 0; background: var(--ivory-mid); overflow: hidden; }
.rev-ticker-wrap { position: relative; overflow: hidden; }
.rev-ticker-wrap::before,
.rev-ticker-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.rev-ticker-wrap::before { left: 0; background: linear-gradient(to right, var(--ivory-mid), transparent); }
.rev-ticker-wrap::after  { right: 0; background: linear-gradient(to left, var(--ivory-mid), transparent); }
.rev-track {
  display: flex; gap: 32px; width: max-content;
  animation: revScroll 40s linear infinite;
}
.rev-ticker-wrap:hover .rev-track { animation-play-state: paused; }
@keyframes revScroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.rev-item {
  flex-shrink: 0; width: 300px;
  padding: 22px 24px; background: var(--ivory);
}
.rev-item-text {
  font-family: var(--display); font-style: italic; font-size: 0.88rem;
  line-height: 1.7; color: var(--ink-mid); margin-bottom: 12px;
}
.rev-item-name {
  font-size: 0.6rem; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--sand); font-family: var(--body); font-weight: 300;
}

/* ── MOBILE INNER ── */
@media (max-width: 860px) {
  .split-intro-grid { grid-template-columns: 1fr; }
  .split-intro-grid.rev { direction: ltr; }
  .split-text { padding: 52px 28px; }
  .masonry, .pf-grid { columns: 2; }
  .about-pg-grid { grid-template-columns: 1fr; gap: 36px; }
  .about-img-stack { position: static; }
  .about-accent-img { width: 50%; }
  .about-vals { grid-template-columns: 1fr; gap: 0; }
  .inv-grid { grid-template-columns: 1fr; gap: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .contact-form { padding: 36px 24px; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
}
@media (max-width: 580px) {
  .masonry, .pf-grid { columns: 1; }
}
