/* ===========================================
   LEGACY LENS PHOTOGRAPHY — Design System
   Inspired by Pixieset aesthetic
   =========================================== */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garant:ital,wght@0,300;0,400;0,500;1,300;1,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --cream: #f5f0eb;
  --light-cream: #faf8f5;
  --dark: #3d3530;
  --mid: #6b5d54;
  --accent: #c9a882;
  --white: #ffffff;
  --nav-h: 64px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  color: var(--dark);
  background: var(--white);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ===== TYPOGRAPHY ===== */
h1, h2, h3, h4 {
  font-family: 'Cormorant Garant', serif;
  font-weight: 400;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  line-height: 1.2;
}
h1 { font-size: clamp(1.8rem, 4.5vw, 3.5rem); }
h2 { font-size: clamp(1.4rem, 2.8vw, 2.2rem); }
h3 { font-size: clamp(1.1rem, 2vw, 1.5rem); }

p {
  font-size: 0.875rem;
  line-height: 1.9;
  color: var(--mid);
}

.label {
  font-size: 0.68rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--mid);
}

.divider {
  width: 55px;
  height: 1px;
  background: var(--dark);
  margin: 1.4rem auto;
}
.divider.left { margin-left: 0; }

/* ===== NAVIGATION ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 4rem;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(61,53,48,0.08);
}

.nav-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  white-space: nowrap;
}

.nav-links {
  display: flex;
  gap: 2.8rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--dark);
  transition: color 0.25s;
}

.nav-links a:hover,
.nav-links a.active { color: var(--accent); }

.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 1px;
  background: var(--dark);
  transition: all 0.3s;
}

/* ===== NAV DROPDOWNS ===== */
.nav-dropdown { position: relative; }

.nav-submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: var(--white);
  list-style: none;
  min-width: 210px;
  padding: 0.5rem 0;
  box-shadow: 0 8px 24px rgba(61,53,48,0.12);
  border-top: 2px solid var(--accent);
  z-index: 300;
}

.nav-submenu li a {
  display: block;
  padding: 0.6rem 1.6rem;
  font-size: 0.62rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--mid);
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
  text-decoration: none;
}

.nav-submenu li a:hover { color: var(--dark); background: var(--cream); }

.nav-dropdown:hover .nav-submenu { display: block; }

.nav-transparent .nav-submenu li a { color: var(--mid); }

/* ===== TRANSPARENT NAV (home page) ===== */
.nav-transparent {
  background: transparent;
  border-bottom: none;
  backdrop-filter: none;
}
.nav-transparent .nav-logo {
  visibility: hidden;
}

.hero-logo {
  position: absolute;
  top: 1.2rem;
  left: 1.1rem;
  width: 82px;
  opacity: 0.52;
  z-index: 10;
  display: block;
  text-decoration: none;
}
.hero-logo img { width: 100%; display: block; }
.nav-transparent .nav-links a {
  color: var(--white);
}
.nav-transparent .nav-links a:hover { color: rgba(255,255,255,0.65); }
.nav-transparent .nav-hamburger span { background: var(--white); }
.nav-transparent .nav-links.open {
  background: rgba(255,255,255,0.96);
}
.nav-transparent .nav-links.open a { color: var(--dark); }

/* ===== PAGE OFFSET ===== */
.page-top { padding-top: var(--nav-h); }

/* ===== HERO ===== */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background: var(--dark);
}

.hero-track {
  display: flex;
  width: 100%;
  height: 100%;
  will-change: transform;
}

.hero-slide {
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}


.hero-caption {
  position: absolute;
  bottom: 2.8rem;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  white-space: nowrap;
  z-index: 10;
  display: flex;
  align-items: center;
  gap: 1.8rem;
}

.hero-arrow {
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.78rem, 1.4vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.1em;
  cursor: pointer;
  padding: 0;
  transition: color 0.25s;
  line-height: 1;
}
.hero-arrow:hover { color: rgba(255, 255, 255, 1); }

.hero-caption p {
  color: rgba(255, 255, 255, 0.88);
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(0.78rem, 1.4vw, 1.1rem);
  font-weight: 300;
  letter-spacing: 0.5em;
  text-transform: uppercase;
  margin: 0;
}


/* ===== SECTION ===== */
.section { padding: 6rem 4rem; }
.section-sm { padding: 4rem 4rem; }
.section-center { text-align: center; max-width: 820px; margin: 0 auto; }
.container { max-width: 1150px; margin: 0 auto; }

.services-heading {
  text-align: center;
  padding: 0 4rem 3rem;
}

/* Mobile hero elements hidden by default */
#mobileTrack { display: none; }
#mobileHero  { display: none; }

/* ===== TWO-COL ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
}
.two-col.wide { max-width: 1200px; gap: 4rem; }
.two-col.reverse { grid-template-areas: "b a"; }
.two-col.reverse > :first-child { grid-area: a; }
.two-col.reverse > :last-child  { grid-area: b; }

/* ===== PHOTO ===== */
.photo-cover {
  width: 100%;
  object-fit: cover;
  display: block;
}

/* ===== PAGE HEADER ===== */
.page-header {
  padding: calc(var(--nav-h) + 5rem) 4rem 5rem;
  text-align: center;
  background: var(--light-cream);
}

/* ===== PORTFOLIO HERO ===== */
.portfolio-hero {
  position: relative;
  height: 80vh;
  min-height: 480px;
  margin-top: var(--nav-h);
  overflow: hidden;
  background: var(--dark);
}
.portfolio-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 88%;
  display: block;
}
.portfolio-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 40%, rgba(30,25,20,0.58) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  gap: 0.4rem;
  text-align: center;
  padding: 2rem 2rem 2.8rem;
}
.portfolio-hero-overlay .label { color: rgba(255,255,255,0.78); }
.portfolio-hero-overlay h1 { color: #fff; font-size: 1.7rem; letter-spacing: 0.18em; margin: 0; }
.portfolio-hero-overlay .divider { background: rgba(255,255,255,0.35); margin: 0.4rem auto; }
.portfolio-hero-overlay p { color: rgba(255,255,255,0.72); max-width: 420px; margin: 0 auto; font-size: 0.78rem; letter-spacing: 0.06em; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(61,53,48,0.12);
  border-left: 1px solid rgba(61,53,48,0.12);
}

.service-card {
  border-right: 1px solid rgba(61,53,48,0.12);
  border-bottom: 1px solid rgba(61,53,48,0.12);
  text-decoration: none;
  color: var(--dark);
  transition: background 0.3s;
  overflow: hidden;
}

.service-card:hover { background: var(--light-cream); }

.service-card img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  transition: transform 0.5s;
}
.service-card:hover img { transform: scale(1.04); }

.service-card-body {
  padding: 2rem 1.8rem 2.5rem;
  text-align: center;
}

.service-card h3 {
  font-size: 0.9rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.75rem;
}

.service-card p { font-size: 0.8rem; }

/* ===== TESTIMONIAL ===== */
.testimonial-block {
  background: var(--cream);
  padding: 5.5rem 4rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  max-width: 1100px;
  margin: 0 auto;
  align-items: center;
}

.testimonial-text h3 {
  font-size: 1rem;
  letter-spacing: 0.22em;
  margin-bottom: 1.2rem;
}

.testimonial-text blockquote {
  font-size: 0.875rem;
  font-style: italic;
  color: var(--mid);
  line-height: 1.95;
  margin-bottom: 1.5rem;
}

.testimonial-text cite {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: var(--dark);
  font-style: normal;
}

.testimonial-text .divider { margin-bottom: 2rem; }

.testimonial-img img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

/* ===== TESTIMONIALS LIST ===== */
.testimonials-list {
  max-width: 1100px;
  margin: 0 auto;
}

.testimonial-item {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 4rem;
  align-items: center;
  padding: 5rem 0;
  border-bottom: 1px solid rgba(61,53,48,0.1);
}

.testimonial-item:nth-child(even) {
  direction: rtl;
}
.testimonial-item:nth-child(even) > * {
  direction: ltr;
}

.testimonial-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.testimonial-item.landscape-photo {
  grid-template-columns: 300px 1fr;
}

.testimonial-item.landscape-photo img {
  height: auto;
}

/* ===== INQUIRY FORM ===== */
.inquiry-form {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

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

.form-group label {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--mid);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(61,53,48,0.04);
  border: 1px solid rgba(61,53,48,0.14);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem;
  color: var(--dark);
  outline: none;
  transition: background 0.2s, border-color 0.2s;
  width: 100%;
  -webkit-appearance: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  background: rgba(61,53,48,0.07);
  border-color: rgba(61,53,48,0.32);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(61,53,48,0.35);
}

.form-group textarea {
  resize: vertical;
  min-height: 130px;
  line-height: 1.7;
}

.form-group select {
  cursor: pointer;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='11' height='7' viewBox='0 0 11 7'%3E%3Cpath d='M1 1l4.5 4.5L10 1' stroke='%233d3530' stroke-width='1.5' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-color: rgba(61,53,48,0.04);
  padding-right: 2.5rem;
}

.form-success {
  border-left: 3px solid var(--accent);
  background: var(--light-cream);
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--dark);
}

.form-error {
  border-left: 3px solid #b05050;
  background: #fdf5f5;
  padding: 1.2rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: var(--dark);
}

.contact-info-secondary {
  margin-top: 2.5rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--mid);
}

.contact-info-secondary a {
  color: var(--dark);
  text-decoration: none;
  border-bottom: 1px solid rgba(61,53,48,0.25);
  padding-bottom: 1px;
}

/* ===== PRICING ===== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid rgba(61,53,48,0.12);
  border-left: 1px solid rgba(61,53,48,0.12);
  max-width: 1100px;
  margin: 3rem auto 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(61,53,48,0.08), 0 12px 40px rgba(61,53,48,0.10);
}

.pricing-card {
  border-right: 1px solid rgba(61,53,48,0.12);
  border-bottom: 1px solid rgba(61,53,48,0.12);
  padding: 3.5rem 2.5rem;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
}

.pricing-card.featured { background: var(--light-cream); }

.popular-badge {
  position: absolute;
  top: 1.2rem;
  left: 0;
  right: 0;
  text-align: center;
  display: block;
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
}

.pricing-card h3 {
  font-size: 1.3rem;
  letter-spacing: 0.22em;
  margin-bottom: 0.5rem;
}

.pricing-card h4 {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  color: var(--mid);
  margin-bottom: 1.5rem;
}

.price-bar {
  width: 2px;
  height: 60px;
  background: var(--dark);
  margin: 1.5rem auto;
}

.pricing-features {
  list-style: none;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 2.6;
  color: var(--mid);
}

.price-amount {
  font-family: 'Cormorant Garant', serif;
  font-size: 2.4rem;
  font-weight: 300;
  letter-spacing: 0.12em;
  color: var(--dark);
  margin: auto 0 0.4rem;
}

.price-note {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid);
}

/* ===== PORTRAIT PRICING ===== */
.portrait-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-top: 1px solid rgba(61,53,48,0.12);
  border-left: 1px solid rgba(61,53,48,0.12);
  max-width: 780px;
  margin: 3rem auto 0;
}

.portrait-grid .pricing-card {
  max-width: none;
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 10px;
  column-gap: 1.25rem;
  max-width: 1200px;
  margin: 2.5rem auto 0;
}

.gallery-grid img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 1.25rem;
  transition: opacity 0.3s;
  box-shadow: 0 4px 22px rgba(61,53,48,0.13);
}
.gallery-grid img:hover { opacity: 0.88; }

.portfolio-gallery { background: var(--light-cream); }

/* natural proportions — no forced cropping */
.gallery-grid img.tall { }
.gallery-grid img.wide { }

/* ===== PORTFOLIO HUB ===== */
.portfolio-hub-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}
.portfolio-hub-tile {
  position: relative;
  display: block;
  overflow: hidden;
  text-decoration: none;
  aspect-ratio: 4/3;
}
.portfolio-hub-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.portfolio-hub-tile:hover img { transform: scale(1.04); }
.portfolio-hub-overlay {
  position: absolute;
  inset: 0;
  background: rgba(30,25,20,0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  transition: background 0.4s;
}
.portfolio-hub-tile:hover .portfolio-hub-overlay { background: rgba(30,25,20,0.52); }
.portfolio-hub-overlay h2 {
  color: #fff;
  margin: 0;
  font-size: 1.9rem;
  text-shadow: 0 2px 16px rgba(0,0,0,0.35);
}

/* ===== PORTFOLIO STACK ===== */
.portfolio-stack-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5rem 4rem;
  max-width: 820px;
  margin: 0 auto;
}
.portfolio-stack-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.photo-stack {
  position: relative;
  width: 240px;
  height: 340px;
  margin: 0 auto 1.75rem;
  display: block;
  cursor: pointer;
}
.photo-stack img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border-radius: 10px;
  box-shadow: 0 6px 24px rgba(61,53,48,0.16);
  transition: transform 0.45s ease, box-shadow 0.45s ease;
}
.photo-stack .stack-back  { transform: rotate(-5deg) translate(-14px, 10px); z-index: 1; }
.photo-stack .stack-mid   { transform: rotate(3.5deg) translate(12px, -7px); z-index: 2; }
.photo-stack .stack-front { transform: rotate(0deg); z-index: 3; }
.photo-stack:hover .stack-back  { transform: rotate(-9deg) translate(-26px, 14px); }
.photo-stack:hover .stack-mid   { transform: rotate(7deg) translate(22px, -12px); }
.photo-stack:hover .stack-front { transform: translateY(-8px); box-shadow: 0 14px 40px rgba(61,53,48,0.24); }
.stack-label { text-align: center; }
.stack-label h2 {
  font-size: 1.1rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.55rem;
  color: var(--dark);
}
.stack-label a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  text-decoration: none;
}
.stack-label a:hover { text-decoration: underline; }

/* ===== FAQ ===== */
.faq-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 5rem;
  max-width: 1000px;
  margin: 3rem auto 0;
}

.faq-item {
  padding: 2rem 0;
  border-bottom: 1px solid rgba(61,53,48,0.12);
}

.faq-item h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.faq-item p { font-size: 0.82rem; }

/* ===== CONTACT SPLIT SCREEN ===== */
.contact-mobile-nav { display: none; }

.contact-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 100vh;
}

.contact-split-photo {
  position: sticky;
  top: 0;
  height: 100vh;
  overflow: hidden;
}

.contact-split-photo > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.contact-logo-link {
  position: absolute;
  top: 1.2rem;
  left: 1.1rem;
  z-index: 10;
  display: block;
  line-height: 0;
}

.contact-logo-link img {
  width: 82px;
  opacity: 0.52;
}

.contact-split-form {
  background: #f2f4f6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 50px rgba(0,0,0,0.18);
  position: relative;
  z-index: 1;
}

.contact-panel-nav {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 2.5rem;
  padding: 1.6rem 4rem;
  border-bottom: 1px solid rgba(61,53,48,0.1);
  flex-shrink: 0;
}

.contact-panel-nav a {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--dark);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-panel-nav a:hover { color: var(--accent); }
.contact-panel-nav a.active { color: var(--accent); }

.contact-split-inner {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 4rem;
}

.allana-bubble {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 58%;
  border: 2px solid rgba(61,53,48,0.15);
  flex-shrink: 0;
}

.inquiry-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 3rem 3rem 2.5rem;
  width: 100%;
  box-shadow:
    0 2px 4px rgba(0,0,0,0.04),
    0 8px 20px rgba(0,0,0,0.08),
    0 24px 48px rgba(0,0,0,0.12),
    inset 0 1px 0 rgba(255,255,255,0.9);
}

/* ===== CONTACT HERO ===== */
.contact-hero {
  position: relative;
  width: 100%;
  height: 70vh;
  min-height: 420px;
  overflow: hidden;
}

.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 40%;
}

.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-top: var(--nav-h);
}

/* ===== CONTACT CARD ===== */
.contact-card-section {
  background: var(--light-cream);
  padding-top: 3.5rem !important;
}

.contact-card {
  max-width: 700px;
  margin: 0 auto;
  background: white;
  box-shadow: 0 6px 50px rgba(61,53,48,0.11);
}

.contact-bubble {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  overflow: hidden;
  margin: -60px auto 0;
  border: 4px solid white;
  box-shadow: 0 4px 20px rgba(61,53,48,0.2);
  position: relative;
  z-index: 1;
}

.contact-bubble img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
}

.contact-card-inner {
  padding: 2rem 4rem 4rem;
}

/* ===== CONTACT (legacy) ===== */
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
  max-width: 1050px;
  margin: 0 auto;
  align-items: start;
}

.contact-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 2rem;
}

.contact-table td {
  padding: 1rem 0;
  border-bottom: 1px solid rgba(61,53,48,0.1);
  font-size: 0.82rem;
  vertical-align: top;
}

.contact-table td:first-child {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--dark);
  width: 38%;
  padding-right: 1rem;
}

.contact-table td:last-child { color: var(--mid); }
.contact-table a { text-decoration: none; color: var(--mid); transition: color 0.25s; }
.contact-table a:hover { color: var(--dark); }

.contact-img img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
}

/* ===== CTA ===== */
.cta-section {
  background: var(--dark);
  padding: 6.5rem 4rem;
  text-align: center;
}

.cta-section h2 { color: var(--white); }
.cta-section .divider { background: rgba(255,255,255,0.35); margin: 1.5rem auto; }
.cta-section p { color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 2.5rem; }

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.85rem 2.8rem;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
}

.btn-outline-light {
  border: 1px solid var(--white);
  color: var(--white);
  background: transparent;
}
.btn-outline-light:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-outline-dark {
  border: 1px solid var(--dark);
  color: var(--dark);
  background: transparent;
}
.btn-outline-dark:hover {
  background: var(--dark);
  color: var(--white);
}

/* ===== FOOTER ===== */
.footer {
  background: var(--white);
  border-top: 1px solid rgba(61,53,48,0.1);
  padding: 3.5rem 4rem;
  text-align: center;
}

.footer-logo {
  font-family: 'Cormorant Garant', serif;
  font-size: 1.05rem;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--dark);
  margin-bottom: 1.8rem;
  display: block;
}

.footer-links {
  display: flex;
  gap: 2.5rem;
  justify-content: center;
  list-style: none;
  margin-bottom: 2rem;
}

.footer-links a {
  font-size: 0.68rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--mid);
  transition: color 0.25s;
}
.footer-links a:hover { color: var(--dark); }

.footer-copy {
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  color: var(--mid);
}

.footer-social { margin-bottom: 1.8rem; }

.footer-social-icons {
  display: flex;
  gap: 1.2rem;
  justify-content: center;
  margin-bottom: 0.7rem;
}

.footer-social-icon {
  color: var(--mid);
  line-height: 1;
  transition: color 0.25s;
}
.footer-social-icon:hover { color: var(--accent); }

.footer-social-handle {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  color: var(--mid);
  margin-bottom: 0.4rem;
}

.footer-social-text {
  font-size: 0.75rem;
  font-style: italic;
  color: var(--mid);
  max-width: 580px;
  margin: 0 auto;
  line-height: 1.7;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  .pricing-grid {
    grid-template-columns: 1fr;
    border: none;
  }
  .pricing-card {
    border: 1px solid rgba(61,53,48,0.12) !important;
    margin-bottom: 1px;
  }

  .portrait-grid {
    grid-template-columns: 1fr;
    border: none;
  }
  .portrait-grid .pricing-card {
    border: 1px solid rgba(61,53,48,0.12) !important;
    margin-bottom: 1px;
  }
}

@media (max-width: 768px) {
  .nav { padding: 0 1.5rem; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0;
    border-bottom: 1px solid rgba(61,53,48,0.1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; text-align: center; }
  .nav-links a {
    display: block;
    padding: 1.1rem;
    border-bottom: 1px solid rgba(61,53,48,0.06);
  }
  .nav-hamburger { display: flex; }

  .nav-submenu {
    position: static;
    transform: none;
    box-shadow: none;
    border-top: none;
    border-left: 2px solid var(--accent);
    display: block;
    background: var(--light-cream);
    min-width: unset;
    padding: 0;
    margin: 0 0 0.5rem 1rem;
  }
  .nav-submenu li a {
    padding: 0.75rem 1.2rem;
    font-size: 0.6rem;
    white-space: normal;
  }

  .hero-logo { width: 68px; top: calc(var(--nav-h) + 1rem); left: 1rem; }
  .hero-caption { bottom: 2rem; }

  .section { padding: 4rem 1.5rem; }
  .section-sm { padding: 2.5rem 1.5rem; }
  .page-header { padding: calc(var(--nav-h) + 3rem) 1.5rem 3rem; }

  .portfolio-hero { height: 52vh; min-height: 300px; }
  .portfolio-hero-overlay h1 { font-size: 1.4rem; }
  .portfolio-hero-overlay p { font-size: 0.74rem; }

  .two-col {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .two-col.reverse { grid-template-areas: none; }
  .two-col.reverse > :first-child { grid-area: unset; }
  .two-col.reverse > :last-child  { grid-area: unset; }

  .testimonial-block { padding: 4rem 1.5rem; }
  .testimonial-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .testimonial-img img { height: 340px; }

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

  .testimonial-item { grid-template-areas: "text" "image"; grid-template-columns: 1fr; direction: ltr !important; gap: 1.5rem; }
  .testimonial-item:nth-child(even) { direction: ltr; }
  .testimonial-item > div:first-child { grid-area: image; display: flex; justify-content: center; }
  .testimonial-item > div:last-child { grid-area: text; }
  .testimonial-item img { width: auto; height: 200px; max-width: 100%; object-fit: cover; border-radius: 8px; }
  .testimonial-item.landscape-photo { grid-template-columns: 1fr; }
  .testimonial-item.landscape-photo img { width: 100%; height: 160px; object-fit: cover; }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); column-gap: 0.75rem; }
  .gallery-grid img.wide, .gallery-grid img.tall { height: auto; }

  .portfolio-hub-grid { grid-template-columns: 1fr; }
  .portfolio-stack-grid { grid-template-columns: 1fr; gap: 4rem; }
  .photo-stack { width: 220px; height: 310px; }

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

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

  .contact-wrap { grid-template-columns: 1fr; gap: 3rem; }
  .contact-img img { min-height: 280px; height: 280px; }
  .contact-mobile-nav { display: flex; }
  .contact-panel-nav { display: none; }
  .contact-split { grid-template-columns: 1fr; min-height: auto; }
  .contact-split-photo { position: relative; height: 62vh; min-height: 320px; }
  .contact-split-form { min-height: auto; box-shadow: 0 -10px 40px rgba(0,0,0,0.14); }
  .contact-split-inner { padding: 2.5rem 1.2rem 3.5rem; align-items: center; }
  .inquiry-card { padding: 2rem 1.5rem 2rem; width: 100%; }
  .allana-bubble { width: 100px; height: 100px; }
  .contact-hero { height: 45vh; min-height: 280px; }
  .contact-card-section { padding-top: 2.5rem !important; }
  .contact-card-inner { padding: 2rem 1.5rem 3rem; }

  .cta-section { padding: 4.5rem 1.5rem; }

  .footer { padding: 3rem 1.5rem; }
  .footer-links { gap: 1.5rem; flex-wrap: wrap; }

  /* Fix photos that have a fixed height set inline — auto height on mobile, capped at 420px */
  .photo-cover { height: auto !important; max-height: 420px; }

  /* Bigger tap targets for the hero prev/next arrows */
  .hero-arrow { padding: 0.6rem 1rem; }

  /* Mobile hero — full screen height */
  .hero { height: 100svh; height: 100dvh; }

  /* Fix the services section heading padding */
  .services-heading { padding: 0 1.5rem 3rem; }

  /* Hide desktop slideshow; show mobile hero */
  #desktopTrack  { display: none; }
  #mobileHero {
    display: block;
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
  }
  #mobileHero img {
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    transition: opacity 1.8s ease-in-out;
  }
  #mobileHero img.active { opacity: 1; }
}

/* Very small phones (under 480px wide) */
@media (max-width: 480px) {
  .hero-caption p { letter-spacing: 0.25em; font-size: 0.72rem; }
  .nav-logo { font-size: 0.82rem; letter-spacing: 0.16em; }
  .btn { padding: 0.85rem 2rem; }
  .footer-links { gap: 1rem; }
  .page-header { padding: calc(var(--nav-h) + 2.5rem) 1.2rem 2.5rem; }
}

/* ===== TESTIMONIAL CAROUSEL ===== */
.testimonial-carousel-wrap {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
}

.testimonial-carousel-track {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial-carousel-slide {
  min-width: 33.333%;
  text-align: center;
  padding: 0 1.8rem;
  opacity: 0.25;
  transition: opacity 0.45s ease;
}

.testimonial-carousel-slide.active {
  opacity: 1;
}

.testimonial-carousel-slide img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 0.7rem;
  display: block;
}

.testimonial-carousel-slide h3 {
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  margin-bottom: 0.2rem;
}

.t-session {
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  color: var(--mid);
  text-transform: uppercase;
  display: block;
  margin-bottom: 0.8rem;
}

.testimonial-carousel-slide blockquote {
  font-style: italic;
  font-size: 0.85rem;
  line-height: 1.75;
  color: var(--mid);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: 1px solid rgba(61,53,48,0.3);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  font-size: 1rem;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}

.carousel-btn:hover { background: var(--cream); border-color: var(--dark); }
.carousel-btn.prev { left: 0; }
.carousel-btn.next { right: 0; }

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.8rem;
}

.carousel-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(61,53,48,0.25);
  cursor: pointer;
  transition: background 0.2s;
  border: none;
  padding: 0;
}

.carousel-dot.active { background: var(--dark); }

/* ===== FAQ ACCORDION ===== */
.faq-accordion {
  max-width: 760px;
  margin: 0 auto;
}

.faq-accordion-item {
  border-bottom: 1px solid rgba(61,53,48,0.15);
}

.faq-accordion-item:first-child {
  border-top: 1px solid rgba(61,53,48,0.15);
}

.faq-accordion-btn {
  width: 100%;
  background: none;
  border: none;
  text-align: left;
  padding: 1.2rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--dark);
  gap: 1rem;
}

.faq-accordion-icon {
  font-size: 1.4rem;
  line-height: 1;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-accordion-btn.open .faq-accordion-icon {
  transform: rotate(45deg);
}

.faq-accordion-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-accordion-answer.open {
  max-height: 400px;
  padding-bottom: 1.2rem;
}

.faq-accordion-answer p {
  font-size: 0.82rem;
  line-height: 1.9;
  color: var(--mid);
}

@media (max-width: 768px) {

  /* Force two-col to stack even when grid-template-columns is set inline */
  .two-col { grid-template-columns: 1fr !important; }

  /* Fix only horizontal padding on page headers — leave top/bottom as-is so hero pages aren't affected */
  .page-header { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }

  /* Prevent nowrap text overflowing on mobile pricing headers */
  .page-header p { white-space: normal !important; text-align: center; }

  /* Portrait images in two-col — preserve natural ratio, no cropping */
  .two-col img { height: auto !important; max-height: 280px !important; width: auto !important; max-width: 100% !important; object-fit: contain !important; display: block; margin: 0 auto; }

  /* Compact pricing cards on mobile */
  .pricing-card { padding: 1.8rem 1.2rem 1rem !important; }
  .pricing-card.featured { padding-top: 2.6rem !important; }
  .pricing-features { font-size: 0.75rem; line-height: 1.7; }
  .price-bar { height: 26px !important; }
  .price-amount { font-size: 1.5rem; }

  /* Reverse pricing card order on mobile — cheapest first, most expensive last */
  .pricing-grid > .pricing-card:nth-child(1) { order: 3; }
  .pricing-grid > .pricing-card:nth-child(2) { order: 2; }
  .pricing-grid > .pricing-card:nth-child(3) { order: 1; }

  /* FAQ header — left-align on mobile so bubble has room on the right */
  .faq-section-header { text-align: left !important; padding-right: 90px !important; }
  .faq-section-header .divider { margin: 0.8rem 0 0 !important; }

  /* Shrink FAQ circle bubble on mobile */
  .faq-bubble { width: 75px !important; height: 75px !important; }

  /* Testimonial carousel — single slide on mobile, full readable size */
  .testimonial-carousel-wrap { max-width: 100%; }
  .testimonial-carousel-slide { min-width: 100% !important; opacity: 1 !important; padding: 0 2.8rem; }
  .testimonial-carousel-slide.active { opacity: 1; }
  .testimonial-carousel-slide blockquote { -webkit-line-clamp: 3; font-size: 0.88rem; }
  .carousel-btn { width: 32px; height: 32px; font-size: 0.85rem; }

  /* Wedding portfolio CTA — shrink buttons to fit side by side with gap */
  .cta-section a[href="pricing-weddings.html"],
  .cta-section a[href="pricing-weddings.html"] + a {
    font-size: 0.7rem !important;
    padding: 0.65rem 0.9rem !important;
    letter-spacing: 0.05em !important;
  }
  .cta-section a[href="pricing-weddings.html"] { margin-right: 1rem !important; }

  /* Flip image above text on mobile — Amethyst (portraits) and Bump+Baby (newborn) */
  .section[style*="light-cream"] .two-col > div:last-child { order: -1; }

  /* Flip image above text on mobile — My Philosophy (about page) */
  .two-col.reverse { grid-template-areas: none !important; }
  .two-col.reverse > :first-child { grid-area: auto !important; }
  .two-col.reverse > :last-child { grid-area: auto !important; order: -1; }

}
