/* ==========================================================================
   MINARDIPHOTO — Design System & Layout
   Matches the visual identity of www.minardiphoto.com
   ========================================================================== */

:root {
  color-scheme: light only;
  --bg-primary: #ffffff;
  --bg-accent: #f2f2f2;
  --text-heading: #000000;
  --text-body: #4c4c4c;
  --text-muted: #767676;
  --border-light: #cdcdcd;
  --border-subtle: #e5e5e5;
  --btn-bg: #4c4c4c;
  --btn-bg-hover: #000000;
  --btn-text: #ffffff;

  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Raleway', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  --header-height: 72px;
  --max-width: 1180px;
  --transition: 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  color-scheme: light only;
  background-color: #ffffff;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  background-color: #ffffff;
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  overflow-x: hidden;
}

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

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

button {
  font-family: inherit;
  cursor: pointer;
}

/* ==========================================================================
   Header & Navigation Overlay
   ========================================================================== */

.site-header {
  position: sticky;
  top: 0;
  z-index: 900;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 clamp(20px, 4vw, 48px);
}

.site-logo {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.95rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-heading);
  transition: opacity var(--transition);
}

.site-logo:hover {
  opacity: 0.7;
}

.menu-toggle {
  position: absolute;
  right: clamp(20px, 4vw, 48px);
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  padding: 6px;
  background: transparent;
  border: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 1.5px;
  background-color: var(--text-heading);
  transition: transform var(--transition), opacity var(--transition);
}

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.nav-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.nav-overlay__close {
  position: absolute;
  top: 20px;
  right: clamp(20px, 4vw, 48px);
  width: 44px;
  height: 44px;
  background: transparent;
  border: 0;
  font-size: 1.85rem;
  line-height: 1;
  color: var(--text-heading);
  font-weight: 200;
}

.nav-overlay__list {
  list-style: none;
  margin: 0;
  padding: 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.nav-overlay__link {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.35rem, 2.2vw, 1.85rem);
  color: var(--text-body);
  padding: 4px 16px;
  display: inline-block;
  transition: color var(--transition), transform var(--transition);
}

.nav-overlay__link:hover,
.nav-overlay__link.is-active {
  color: var(--text-heading);
}

.nav-overlay__link.is-active {
  font-weight: 400;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1px;
}

/* ==========================================================================
   Buttons & Shared CTA / Footer
   ========================================================================== */

.btn {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  background-color: var(--btn-bg);
  color: var(--btn-text);
  padding: 15px 34px;
  border: 0;
  transition: background-color var(--transition), transform var(--transition);
}

.btn:hover {
  background-color: var(--btn-bg-hover);
}

.cta-block {
  text-align: center;
  padding: 88px 24px 64px;
}

.cta-block--tinted {
  max-width: 960px;
  margin: 64px auto 40px;
  background-color: var(--bg-accent);
  padding: 72px 24px;
}

.cta-eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.75rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-body);
  margin: 0 0 12px;
}

.cta-heading {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.9rem);
  line-height: 1.45;
  color: var(--text-heading);
  margin: 0 0 16px;
}

.cta-subtext {
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--text-body);
  margin: 0 0 30px;
}

.site-footer {
  padding: 48px 24px 56px;
  text-align: center;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px 28px;
  margin-bottom: 28px;
}

.footer-nav a {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.875rem;
  color: var(--text-body);
  transition: color var(--transition);
}

.footer-nav a:hover,
.footer-nav a.is-active {
  color: var(--text-heading);
}

.footer-copy {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin: 0;
}

/* ==========================================================================
   Home Page
   ========================================================================== */

.hero-triptych {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.hero-triptych__track {
  display: grid;
  grid-template-columns: 1fr 2fr 1fr;
  gap: 6px;
  height: clamp(360px, 68vh, 720px);
}

.hero-triptych__panel {
  position: relative;
  overflow: hidden;
  height: 100%;
}

.hero-triptych__panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.hero-triptych__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.78);
  color: var(--text-heading);
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition), background-color var(--transition);
}

.hero-triptych:hover .hero-triptych__nav {
  opacity: 1;
}

.hero-triptych__nav:hover {
  background: #ffffff;
}

.hero-triptych__nav--prev {
  left: 18px;
}

.hero-triptych__nav--next {
  right: 18px;
}

.identity-section {
  text-align: center;
  padding: 58px 24px 48px;
  max-width: 960px;
  margin: 0 auto;
}

.identity-name {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 2.5vw, 2.15rem);
  letter-spacing: 0.04em;
  color: var(--text-heading);
  margin: 0 0 2px;
}

.identity-role {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-body);
  margin: 0 0 32px;
}

.identity-tagline {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 0.92rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0;
}

.identity-divider {
  width: min(860px, 92%);
  height: 1px;
  background-color: #666666;
  border: 0;
  margin: 34px auto;
}

.identity-categories {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.85rem, 1.3vw, 1.05rem);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0;
}

.worlds-intro {
  text-align: center;
  padding: 26px 24px 46px;
}

.worlds-intro__small {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(1.15rem, 1.6vw, 1.4rem);
  color: var(--text-heading);
  margin: 0 0 2px;
}

.worlds-intro__big {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  color: var(--text-heading);
  margin: 0;
}

.worlds-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
}

.world-card {
  display: flex;
  flex-direction: column;
}

.world-card__label {
  text-align: center;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-heading);
  padding: 14px 8px 18px;
}

.world-card__media {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4.2;
}

.world-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.65s ease, filter 0.4s ease;
}

.world-card:hover .world-card__media img {
  transform: scale(1.03);
}

.behind-camera {
  max-width: 1040px;
  margin: 96px auto 40px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: clamp(24px, 4vw, 52px);
  align-items: center;
}

.behind-camera__photo {
  overflow: hidden;
  aspect-ratio: 3 / 4.4;
}

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

.behind-camera__copy {
  text-align: center;
  padding: 12px 6px;
}

.behind-camera__eyebrow {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 14px;
}

.behind-camera__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.7rem, 2.3vw, 2.15rem);
  color: var(--text-heading);
  margin: 0 0 22px;
}

.behind-camera__text {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0 0 28px;
}

/* ==========================================================================
   Page Heroes (Full-bleed with text overlay)
   ========================================================================== */

.page-hero {
  position: relative;
  width: 100%;
  min-height: clamp(420px, 74vh, 760px);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  color: #ffffff;
}

.page-hero--top {
  align-items: flex-start;
  padding-top: clamp(56px, 9vw, 110px);
}

.page-hero__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.page-hero__scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28) 0%,
    rgba(0, 0, 0, 0.16) 55%,
    rgba(0, 0, 0, 0.34) 100%
  );
  z-index: 1;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 32px 24px;
}

.page-hero__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 3vw, 2.65rem);
  line-height: 1.3;
  margin: 0 0 12px;
  text-shadow: 0 2px 16px rgba(0, 0, 0, 0.28);
}

.page-hero__subtitle {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: clamp(0.98rem, 1.35vw, 1.2rem);
  margin: 0;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.28);
}

.page-hero--realestate .page-hero__title {
  line-height: 1.35;
  margin-bottom: 36px;
}

.page-hero__desc {
  font-family: var(--font-body);
  font-size: 0.96rem;
  line-height: 1.75;
  max-width: 440px;
  margin: 0 auto 72px;
  text-shadow: 0 1px 10px rgba(0, 0, 0, 0.35);
}

.page-hero__footnote {
  font-family: var(--font-body);
  font-size: 0.82rem;
  opacity: 0.92;
  margin: 0;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.4);
}

/* ==========================================================================
   About Page
   ========================================================================== */

.about-header {
  text-align: center;
  padding: 52px 24px 44px;
}

.about-header h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.85rem, 2.6vw, 2.35rem);
  color: var(--text-heading);
  margin: 0;
}

.about-layout {
  max-width: var(--max-width);
  margin: 0 auto 64px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}

.about-collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  align-items: start;
}

.about-collage__col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-collage__item {
  overflow: hidden;
  cursor: zoom-in;
}

.about-collage__item img {
  width: 100%;
  transition: transform 0.45s ease;
}

.about-collage__item:hover img {
  transform: scale(1.02);
}

.about-bio {
  text-align: center;
  padding-top: 24px;
}

.about-bio h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--text-heading);
  margin: 0 0 28px;
}

.about-bio p {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-body);
  margin: 0 0 20px;
}

.about-bio__highlight {
  font-weight: 600;
  color: var(--text-heading);
}

/* ==========================================================================
   Real Estate Grid
   ========================================================================== */

.property-grid {
  max-width: 1120px;
  margin: 72px auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 56px clamp(32px, 5vw, 68px);
}

.property-card {
  text-align: center;
}

.property-card__img-wrap {
  overflow: hidden;
  aspect-ratio: 16 / 10.6;
  cursor: zoom-in;
}

.property-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.property-card:hover .property-card__img-wrap img {
  transform: scale(1.03);
}

.property-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 22px 0 8px;
}

.property-card__action {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.85rem;
  color: var(--text-body);
  background: transparent;
  border: 0;
  padding: 4px 10px;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-color: transparent;
  transition: color var(--transition), text-decoration-color var(--transition);
}

.property-card__action:hover {
  color: var(--text-heading);
  text-decoration-color: var(--text-heading);
}

/* ==========================================================================
   Masonry Galleries (Weddings, Family, Sport)
   ========================================================================== */

.weddings-intro {
  max-width: 1120px;
  margin: 42px auto 56px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 28px;
  align-items: center;
}

.weddings-intro__side {
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
}

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

.weddings-intro__center {
  text-align: center;
  padding: 16px 8px;
}

.botanical-mark {
  width: 56px;
  margin: 0 auto 24px;
  opacity: 0.85;
}

.weddings-intro__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.55rem, 2.3vw, 2.15rem);
  letter-spacing: 0.03em;
  color: var(--text-heading);
  margin: 0 0 18px;
}

.weddings-intro__scroll {
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-body);
  margin: 0;
}

.family-intro {
  max-width: 820px;
  margin: 64px auto 56px;
  padding: 0 24px;
  text-align: center;
}

.family-intro p {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(0.88rem, 1.25vw, 1.08rem);
  line-height: 1.75;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0;
}

.masonry-wrap {
  padding: 20px 16px 40px;
  max-width: 1680px;
  margin: 0 auto;
}

.masonry-grid {
  column-count: 3;
  column-gap: 14px;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 14px;
  overflow: hidden;
  cursor: zoom-in;
  background: #f7f7f7;
}

.masonry-item img {
  width: 100%;
  transition: transform 0.45s ease, opacity 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.015);
}

/* ==========================================================================
   Video Page
   ========================================================================== */

.video-intro {
  max-width: 780px;
  margin: 72px auto 56px;
  padding: 0 24px;
  text-align: center;
}

.video-intro p {
  font-family: var(--font-body);
  font-size: 0.96rem;
  color: var(--text-body);
  margin: 0 0 24px;
}

.video-showcase {
  max-width: 780px;
  margin: 0 auto 36px;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.video-card {
  text-align: center;
}

.video-card__title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.4rem, 2vw, 1.75rem);
  color: var(--text-heading);
  margin: 0 0 26px;
}

.video-player {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #111111;
  overflow: hidden;
  cursor: pointer;
}

.video-player__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease, filter 0.35s ease;
}

.video-player:hover .video-player__thumb {
  transform: scale(1.02);
  filter: brightness(0.88);
}

.video-player__btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  background: rgba(0, 0, 0, 0.28);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--transition), background-color var(--transition);
}

.video-player:hover .video-player__btn {
  transform: translate(-50%, -50%) scale(1.07);
  background: rgba(0, 0, 0, 0.55);
}

.video-player__btn svg {
  width: 24px;
  height: 24px;
  margin-left: 3px;
  fill: currentColor;
}

.video-player iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ==========================================================================
   Contact Page
   ========================================================================== */

.contact-collage {
  max-width: 1140px;
  margin: 24px auto 48px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.contact-collage__item {
  aspect-ratio: 3 / 4.2;
  overflow: hidden;
}

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

.contact-intro {
  max-width: 820px;
  margin: 0 auto 64px;
  padding: 0 24px;
  text-align: center;
}

.contact-intro h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0 0 28px;
}

.contact-intro p {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.84rem;
  line-height: 1.85;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-body);
  margin: 0 0 24px;
}

.contact-intro__closing {
  margin-top: 36px;
  color: var(--text-heading);
}

.contact-form-wrap {
  max-width: 560px;
  margin: 0 auto 56px;
  padding: 0 24px;
  text-align: center;
}

.contact-form-wrap h2 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.5rem, 2.2vw, 1.85rem);
  color: var(--text-heading);
  margin: 0 0 42px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-field {
  text-align: center;
}

.form-field label {
  display: block;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-body);
  margin-bottom: 10px;
}

.form-field input,
.form-field textarea {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--border-light);
  padding: 10px 6px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-heading);
  background: transparent;
  text-align: center;
  outline: none;
  transition: border-color var(--transition);
}

.form-field textarea {
  min-height: 96px;
  resize: vertical;
}

.form-field input:focus,
.form-field textarea:focus {
  border-bottom-color: var(--text-heading);
}

.form-submit {
  margin-top: 12px;
}

.form-status {
  margin-top: 16px;
  font-family: var(--font-body);
  font-size: 0.92rem;
  color: var(--text-heading);
  min-height: 1.4em;
}

/* ==========================================================================
   Testimonials Page
   ========================================================================== */

.testimonials-hero {
  position: relative;
  margin-bottom: 96px;
}

.testimonials-hero__banner {
  width: 100%;
  height: clamp(360px, 60vh, 580px);
  overflow: hidden;
}

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

.testimonials-hero__card {
  position: relative;
  max-width: 520px;
  margin: -180px auto 0;
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 44px 36px;
  text-align: center;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.04);
}

.testimonials-hero__card h1 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 1.05rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0 0 18px;
}

.testimonials-hero__card p {
  font-family: var(--font-body);
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--text-body);
  margin: 0;
}

.testimonials-list {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-direction: column;
  gap: 88px;
}

.testimonial-entry {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.testimonial-entry__top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 5vw, 64px);
  align-items: center;
}

.testimonial-entry--reverse .testimonial-entry__photo {
  order: 2;
}

.testimonial-entry--reverse .testimonial-entry__meta {
  order: 1;
}

.testimonial-entry__photo {
  overflow: hidden;
  aspect-ratio: 4 / 3;
}

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

.testimonial-entry__meta {
  text-align: center;
}

.testimonial-entry__eyebrow {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 0.72rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin: 0 0 10px;
}

.testimonial-entry__couple {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-heading);
  margin: 0;
}

.testimonial-entry__body {
  font-family: var(--font-body);
  font-size: 0.95rem;
  line-height: 1.85;
  color: var(--text-body);
}

.testimonial-entry__headline {
  font-weight: 500;
  color: var(--text-heading);
  margin: 0 0 6px;
}

.testimonial-entry__stars {
  letter-spacing: 0.12em;
  margin: 0 0 16px;
}

.testimonial-entry__body p {
  margin: 0 0 14px;
}

/* ==========================================================================
   Lightbox Modal
   ========================================================================== */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(255, 255, 255, 0.97);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 64px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.lightbox__img {
  max-width: 100%;
  max-height: 88vh;
  object-fit: contain;
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.08);
}

.lightbox__close {
  position: absolute;
  top: 18px;
  right: 26px;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  font-weight: 200;
  color: var(--text-heading);
}

.lightbox__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border: 0;
  background: transparent;
  font-size: 2rem;
  font-weight: 200;
  color: var(--text-heading);
}

.lightbox__nav--prev {
  left: 16px;
}

.lightbox__nav--next {
  right: 16px;
}

.lightbox__counter {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  color: var(--text-muted);
}

/* ==========================================================================
   Scroll Reveal (never stays invisible if JS disabled or tall page)
   ========================================================================== */

.reveal {
  opacity: 1;
  transform: none;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.js-ready .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(18px);
}

.js-ready .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (hover: none) {
  .hero-triptych__nav {
    opacity: 0.85;
  }
}

@media (max-width: 960px) {
  .hero-triptych__nav {
    opacity: 0.85;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .hero-triptych__track {
    grid-template-columns: 1fr;
    height: clamp(320px, 56vh, 520px);
  }

  .hero-triptych__panel--side {
    display: none;
  }

  .worlds-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .behind-camera {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-top: 64px;
  }

  .behind-camera__photo {
    max-width: 420px;
    margin: 0 auto;
    width: 100%;
  }

  .about-layout {
    grid-template-columns: 1fr;
  }

  .weddings-intro {
    grid-template-columns: 1fr;
  }

  .weddings-intro__side {
    display: none;
  }

  .masonry-grid {
    column-count: 2;
  }

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

  .testimonial-entry__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .testimonial-entry--reverse .testimonial-entry__photo,
  .testimonial-entry--reverse .testimonial-entry__meta {
    order: initial;
  }

  .testimonials-hero__card {
    margin: -90px 20px 0;
  }
}

@media (max-width: 600px) {
  .site-header {
    height: 60px;
  }

  .site-logo {
    font-size: 0.85rem;
    letter-spacing: 0.12em;
  }

  .page-hero {
    min-height: 360px;
  }

  .page-hero__desc {
    margin-bottom: 28px;
  }

  .page-hero--realestate .page-hero__title {
    margin-bottom: 20px;
  }

  .masonry-grid {
    column-count: 1;
  }

  .contact-collage {
    grid-template-columns: repeat(2, 1fr);
  }

  .testimonials-hero {
    margin-bottom: 56px;
  }

  .testimonials-hero__card {
    margin: -56px 16px 0;
    padding: 28px 20px;
  }

  .video-player__btn {
    width: 56px;
    height: 56px;
  }

  .cta-block {
    padding: 56px 20px 44px;
  }

  .footer-nav {
    gap: 10px 18px;
  }

  .lightbox {
    padding: 24px 16px;
  }

  .lightbox__nav {
    background: rgba(255, 255, 255, 0.85);
    border-radius: 50%;
    width: 38px;
    height: 38px;
    font-size: 1.4rem;
  }
}

/* Rifiniture responsive per smartphone e tablet */
@media (max-width: 600px) {
  .footer-nav {
    gap: 12px 20px;
  }

  .footer-nav a {
    padding: 4px 2px;
  }

  .lightbox {
    padding: 44px 52px;
  }

  .lightbox__nav--prev {
    left: 10px;
  }

  .lightbox__nav--next {
    right: 10px;
  }
}

@media (max-height: 520px) and (orientation: landscape) {
  .nav-overlay__list {
    gap: 6px;
  }

  .nav-overlay__link {
    font-size: 1.1rem;
    padding: 2px 12px;
  }
}

html,
body {
  overflow-x: clip;
}

.lightbox {
  height: 100dvh;
}

/* Inquadratura teste nella pagina Video */
.page-hero__img[src*="_MG_9809-topaz-faceai-sharpen"] {
  object-position: 49% 20%;
}

.video-player__thumb[src*="_MG_0734"] {
  object-position: 49% 13%;
}

.video-player__thumb[src*="IMG_20230615_120451_692"] {
  object-position: 52% 15%;
}

/* Inquadratura corretta immagini pagina Testimonials */
img[src*="Wedding-Civita231"] {
  object-position: 77% 60%;
}

img[src*="Screenshot2025-01-28alle21.21.26"] {
  object-fit: contain !important;
  object-position: center center;
}

img[src*="_MG_0734"] {
  object-position: 51% 14%;
}

img[src*="IMG_20170801_145429_006"] {
  object-position: 2% 58%;
}

/* Correzione di sicurezza inquadratura verticale (evita teste tagliate) */
.page-hero__img,
.video-player__thumb,
.fb-element-type-image__img-wrapper__img {
  object-position: 50% 15%;
}

.page-hero__img[src*="_MG_9809-topaz-faceai-sharpen"] {
  object-position: 49% 18%;
}

.video-player__thumb[src*="_MG_0734"] {
  object-position: 49% 12%;
}

.video-player__thumb[src*="IMG_20230615_120451_692"] {
  object-position: 52% 14%;
}

img[src*="Wedding-Civita231"] {
  object-position: 77% 35%;
}

img[src*="_MG_0734"] {
  object-position: 51% 12%;
}

img[src*="IMG_20170801_145429_006"] {
  object-position: 2% 25%;
}

/* Fix teste tagliate: Lorena & John + Alex & Mahin */
img[src*="Wedding-Civita-Bagnoregio-2016-221"],
.fb-element--el-m6l7vpyt img {
  object-position: 50% 0% !important;
}

img[src*="IMG_20230615_120451_692"],
.fb-element--el-525dd4f8 img {
  object-position: 50% 0% !important;
}

/* Inquadratura hero pagina Family */
.page-hero--family .page-hero__img,
body[data-page="family"] .page-hero__img,
section[class*="family"] .page-hero__img {
  object-fit: cover !important;
  object-position: 50% 18% !important;
}

/* Mostra l'immagine hero di Family per intero senza tagli */
.page-hero--family {
  background-color: #141414;
}

.page-hero--family .page-hero__img,
body[data-page="family"] .page-hero__img,
section[class*="family"] .page-hero__img {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100%;
  height: 100%;
}

/* Foto hero di Family per intero senza ritagli */
.page-hero--top {
  background-color: #141414;
}

.page-hero--top .page-hero__img,
img[src*="_MG_8698-topaz-denoise-faceai-ec3e0af8-1500.JPG"] {
  object-fit: contain !important;
  object-position: center center !important;
  width: 100%;
  height: 100%;
}

/* Hero Family identico a Pixieset: full-width, alto ~88vh, senza bande */
.page-hero--top {
  height: 88vh !important;
  min-height: 620px !important;
  max-height: 960px !important;
  width: 100% !important;
  background-color: transparent !important;
  overflow: hidden !important;
}

.page-hero--top .page-hero__img,
img[src*="_MG_8698-topaz-denoise-faceai-ec3e0af8-1500.JPG"] {
  width: 100% !important;
  height: 100% !important;
  max-height: none !important;
  object-fit: cover !important;
  object-position: 50% 32% !important;
}

/* Header trasparente sovrapposto alla foto hero (stile Pixieset) su Family */
body:has(.page-hero--top) header,
body:has(.page-hero--top) .site-header,
body:has(.page-hero--top) .navbar {
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100%;
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
  z-index: 30;
}

body:has(.page-hero--top) header a,
body:has(.page-hero--top) .site-header a,
body:has(.page-hero--top) header button,
body:has(.page-hero--top) .site-header button,
body:has(.page-hero--top) header svg,
body:has(.page-hero--top) .site-header svg {
  color: #ffffff !important;
  stroke: #ffffff !important;
}

body:has(.page-hero--top) main {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

.page-hero--top {
  height: 100vh !important;
  min-height: 700px !important;
  max-height: none !important;
  margin-top: 0 !important;
}

.page-hero--top .page-hero__img,
img[src*="_MG_8698-topaz-denoise-faceai-ec3e0af8-1500.JPG"] {
  object-fit: cover !important;
  object-position: 50% 42% !important;
}

/* Barre menu bianche e logo MINARDIPHOTO più grande su Family */
body:has(.page-hero--top) header button span,
body:has(.page-hero--top) .site-header button span,
body:has(.page-hero--top) .menu-toggle span,
body:has(.page-hero--top) .hamburger span,
body:has(.page-hero--top) [class*="burger"] span,
body:has(.page-hero--top) [class*="menu"] span {
  background-color: #ffffff !important;
  border-color: #ffffff !important;
}

body:has(.page-hero--top) header a,
body:has(.page-hero--top) .site-header a,
body:has(.page-hero--top) .site-logo,
body:has(.page-hero--top) .brand {
  font-size: 1.35rem !important;
  letter-spacing: 0.22em !important;
  font-weight: 500 !important;
  color: #ffffff !important;
}
