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

html { scroll-behavior: smooth; }

/* ===== TOKENS — beige palette, zero black ===== */
:root {
  /* --bg:          #EDE6DA; */
  --bg-alt:      #F4EDDF;
  --card-bg:     #fcf8ef;
  --ink:         #4A3426;
  --ink-mid:     #6E4C38;
  --muted:       #9A7C65;
  --rose:        #B8786E;
  --rose-pale:   #EDD8D3;
  --gold:        #BE9548;
  --gold-pale:   #EDE0B0;
  --divider:     #D5C5AD;
  --card-border: #CAB595;
  --footer-bg:   #3C2618;
}

body {
  font-family: 'Inter', sans-serif;
  /* background: var(--bg); */
  color: var(--ink);
  overflow-x: hidden;
}


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

.hero-right {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.photo-wrap {
  position: absolute;
  inset: 0;
  /* background: linear-gradient(155deg, #e8e2d8 0%, #c4aa8a 50%, #6b4a30 100%); */
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  animation: fadeIn 1.2s ease forwards;
}


.hero-left {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  width: 58%;
  padding: 80px 96px 80px 80px;
  display: flex;
  align-items: center;
  /* background: linear-gradient(
    to right,
    var(--bg)                0%,
    var(--bg)                30%,
    rgba(237,230,218,.97)    44%,
    rgba(237,230,218,.84)    57%,
    rgba(237,230,218,.52)    71%,
    rgba(237,230,218,.16)    85%,
    rgba(237,230,218,0)      100%
  ); */
  animation: fadeIn .8s ease both;
}

.hero-content { max-width: 460px; }

.hero-heading {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 700;
  font-size: clamp(3.8rem, 6.5vw, 7rem);
  line-height: 1.02;
  color: var(--ink);
  margin-bottom: 52px;
  letter-spacing: -.02em;
  opacity: 0;
  animation: fadeUp .8s .2s ease forwards;
}

.hero-heading em {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  color: var(--rose);
  display: block;
}

.couple-names {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 25px;
  opacity: 0;
  animation: fadeUp .8s .5s ease forwards;
}

.name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.6rem;
  font-weight: 600;
  letter-spacing: .04em;
  color: var(--ink);
}

.amp {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 300;
  font-size: 2.8rem;
  color: var(--rose);
}

.wedding-date {
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp .8s .65s ease forwards;
}

.rule {
  width: 48px;
  height: 1.5px;
  background: var(--rose);
  margin-bottom: 52px;
  opacity: 0;
  animation: fadeUp .8s .75s ease forwards;
}

.btn-outline {
  display: inline-block;
  padding: 15px 44px;
  border: 1.5px solid var(--ink-mid);
  color: var(--ink-mid);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .2em;
  text-transform: uppercase;
  transition: background .25s ease, color .25s ease, border-color .25s ease;
  opacity: 0;
  animation: fadeUp .8s .88s ease forwards;
}

.btn-outline:hover {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--card-bg);
}


/* =====================================================
   DETAILS SECTION
   ===================================================== */
.details-section {
  padding: 120px 60px;
  background: var(--bg);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 96px;
}

.section-title h2 {
  font-family: 'Great Vibes', cursive;
  font-weight: 400;
  font-size: 3rem;
  color: var(--ink-mid);
  white-space: nowrap;
  line-height: 1.1;
}

.ornament-line {
  flex: 1;
  max-width: 100px;
  height: 1px;
  /* background: linear-gradient(to right, transparent, var(--divider)); */
}

.section-title .ornament-line:last-child {
  /* background: linear-gradient(to left, transparent, var(--divider)); */
}


/* =====================================================
   LETTER CARDS — ZIGZAG LAYOUT
   ===================================================== */
.cards-wrap {
  max-width: 960px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
}

/* ---- Individual card — letter style ---- */
.card {
  display: flex;
  flex-direction: column;
  padding: 52px 56px 58px;
  width: 64%;
  position: relative;
  overflow: hidden;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  box-shadow:
    0 6px 36px rgba(120,80,40,.1),
    0 2px 8px rgba(120,80,40,.07),
    inset 0 0 0 1px rgba(255,252,244,.95);
  opacity: 0;
  transition: opacity .65s ease, transform .65s ease, box-shadow .35s ease;
  --s: 20px;
  mask:
    radial-gradient(circle at 50% 0,    #0000 calc(var(--s) - 1px), #fff var(--s)) top    / calc(2*var(--s)) var(--s)          repeat-x,
    radial-gradient(circle at 50% 100%, #0000 calc(var(--s) - 1px), #fff var(--s)) bottom / calc(2*var(--s)) var(--s)          repeat-x,
    radial-gradient(circle at 0   50%,  #0000 calc(var(--s) - 1px), #fff var(--s)) left   / var(--s)          calc(2*var(--s)) repeat-y,
    radial-gradient(circle at 100% 50%, #0000 calc(var(--s) - 1px), #fff var(--s)) right  / var(--s)          calc(2*var(--s)) repeat-y,
    linear-gradient(#fff 0 0) var(--s) var(--s) / calc(100% - 2*var(--s)) calc(100% - 2*var(--s)) no-repeat;
  -webkit-mask:
    radial-gradient(circle at 50% 0,    #0000 calc(var(--s) - 1px), #fff var(--s)) top    / calc(2*var(--s)) var(--s)          repeat-x,
    radial-gradient(circle at 50% 100%, #0000 calc(var(--s) - 1px), #fff var(--s)) bottom / calc(2*var(--s)) var(--s)          repeat-x,
    radial-gradient(circle at 0   50%,  #0000 calc(var(--s) - 1px), #fff var(--s)) left   / var(--s)          calc(2*var(--s)) repeat-y,
    radial-gradient(circle at 100% 50%, #0000 calc(var(--s) - 1px), #fff var(--s)) right  / var(--s)          calc(2*var(--s)) repeat-y,
    linear-gradient(#fff 0 0) var(--s) var(--s) / calc(100% - 2*var(--s)) calc(100% - 2*var(--s)) no-repeat;
}

/* Subtle inner parchment frame */
.card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(190,149,72,.2);
  pointer-events: none;
  z-index: 0;
}

/* Large watermark floral in background */
.card::after {
  content: '✿';
  position: absolute;
  bottom: -10px;
  right: 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 9rem;
  line-height: 1;
  color: rgba(190,149,72,.07);
  pointer-events: none;
  z-index: 0;
  user-select: none;
}

/* Left cards: rose top accent, slide in from left */
.card-left {
  align-self: flex-start;
  border-top: 3px solid var(--rose);
  transform: translateX(-44px);
}

/* Right cards: gold top accent, slide in from right */
.card-right {
  align-self: flex-end;
  border-top: 3px solid var(--gold);
  transform: translateX(44px);
}

.card-left.visible  { opacity: 1; transform: translateX(0); }
.card-right.visible { opacity: 1; transform: translateX(0); }

.card:hover {
  box-shadow:
    0 14px 52px rgba(120,80,40,.13),
    0 3px 12px rgba(120,80,40,.09),
    inset 0 0 0 1px rgba(255,252,244,.95);
}


/* ---- Step numeral — circle badge ---- */
.card-numeral {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  border: 1.5px solid var(--rose);
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.05rem;
  font-weight: 400;
  color: var(--rose);
  letter-spacing: .08em;
  margin-bottom: 24px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  transition: background .3s ease, color .3s ease;
  box-shadow: none;
  text-shadow: none;
}

.card-right .card-numeral {
  border-color: var(--gold);
  color: var(--gold);
}

.card:hover .card-numeral         { background: var(--rose-pale); }
.card-right:hover .card-numeral   { background: var(--gold-pale); }
.card-numeral::after               { display: none; }


/* ---- Decorative horizontal divider ---- */
.card-vert-rule {
  display: flex;
  flex-direction: row;
  align-items: center;
  align-self: stretch;
  margin: 0 0 28px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1rem;
  color: rgba(190,149,72,.55);
  gap: 10px;
  position: relative;
  z-index: 1;
  line-height: 1;
}

.card-vert-rule::before {
  content: '';
  flex: 1;
  height: 1px;
  /* background: linear-gradient(to right, var(--rose-pale), var(--divider)); */
}

.card-vert-rule::after {
  content: '';
  flex: 1;
  height: 1px;
  /* background: linear-gradient(to right, var(--divider), var(--rose-pale)); */
}

.card-right .card-vert-rule::before {
  /* background: linear-gradient(to right, var(--gold-pale), var(--divider)); */
}

.card-right .card-vert-rule::after {
  /* background: linear-gradient(to right, var(--divider), var(--gold-pale)); */
}


/* ---- Card body ---- */
.card-body {
  flex: 1;
  position: relative;
  z-index: 1;
}

.card-body h2,
.card-body h3 {
  font-family: 'Inter', sans-serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: .3em;
  text-transform: uppercase;
  color: var(--muted);
  padding-bottom: 14px;
  border-bottom: 1px solid var(--divider);
  margin-bottom: 22px;
}

.card-highlight {
  font-family: 'Dancing Script', cursive;
  font-size: 3.2rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 14px;
  line-height: 1.4;
}

.card-body p {
  font-family: 'Dancing Script', cursive;
  font-size: 2.2rem;
  font-weight: 600;
  color: var(--ink-mid);
  line-height: 1.7;
}

.card-note {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid var(--divider);
  font-family: 'Dancing Script', cursive;
  font-size: 2.4rem;
  font-weight: 600;
  color: var(--muted);
  line-height: 1.6;
}

/* ---- Google Maps button ---- */
.btn-map {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 20px;
  padding: 10px 22px;
  border: 1.5px solid var(--gold);
  color: var(--gold);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  transition: background .22s ease, color .22s ease;
  position: relative;
  z-index: 1;
}

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


/* =====================================================
   CORNER ORNAMENTS (stickers reborn)
   ===================================================== */
.sticker {
  display: block;
  position: absolute;
  z-index: 2;
  font-family: 'Cormorant Garamond', serif;
  font-size: .7rem;
  line-height: 1;
  color: rgba(190,149,72,.28);
  background: none;
  box-shadow: none;
  border: none;
  filter: none;
  width: auto;
  height: auto;
  padding: 0;
  transition: color .3s ease, transform .3s ease;
  user-select: none;
}

.card:hover .sticker { color: rgba(190,149,72,.5); }

/* Gurnuti do samih uglova kartice */
.sticker--tr { top: 8px;    right: 10px;   transform: none !important; }
.sticker--tl { top: 8px;    left: 10px;    transform: none !important; }
.sticker--br { bottom: 8px; right: 10px;   transform: none !important; }
.sticker--bl { bottom: 8px; left: 10px;    transform: none !important; }

/* Tiny animation on hover */
.card:hover .sticker--tr { transform: rotate( 12deg) scale(1.15) !important; }
.card:hover .sticker--tl { transform: rotate(-12deg) scale(1.15) !important; }
.card:hover .sticker--br { transform: rotate( 10deg) scale(1.15) !important; }
.card:hover .sticker--bl { transform: rotate(-10deg) scale(1.15) !important; }

/* Kill the old stamp/seal variant styles */
.sticker-stamp,
.sticker-seal { background: none; box-shadow: none; border: none; }


/* =====================================================
   RESTAURANT SCENE — card + photo side by side
   ===================================================== */

/* Row wrapper: card on left, photo on right */
.card-with-scene {
  align-self: flex-start;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 32px;
  width: 100%;
}

/* Override card sizing inside the row */
.card-with-scene > .card {
  flex: 0 0 56%;
  width: auto;
  align-self: stretch;
  transform: translateX(-44px);
}

.card-with-scene > .card.visible {
  transform: translateX(0);
}

/* Right variant: image left, card right */
.card-with-scene--right {
  align-self: flex-end;
}

.card-with-scene--right > .card {
  transform: translateX(44px);
}

.card-with-scene--right > .card.visible {
  transform: translateX(0);
}


/* Photo: fills remaining space, matches card height */
.restaurant-scene {
  flex: 1;
  /* position: relative; */
  /* overflow: hidden; */
  min-height: 320px;
}

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

/* Gradient fades: left blends into gap/bg, top+bottom blend into page */
.restaurant-scene::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to right,
      var(--bg)                0%,
      rgba(237,230,218,0)      30%
    ),
    linear-gradient(to bottom,
      var(--bg)                0%,
      rgba(237,230,218,0)      22%,
      rgba(237,230,218,0)      78%,
      var(--bg)                100%
    );
  z-index: 1;
  pointer-events: none;
}

/* Subtle warm overlay */
.restaurant-scene::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(184,120,110,.07);
  z-index: 0;
  pointer-events: none;
}

@media (max-width: 860px) {
  .card-with-scene,
  .card-with-scene--right {
    flex-direction: column;
    align-self: stretch;
    gap: 20px;
  }

  /* Oficirski dom: slika ispod kartice na mobilnom */
  .card-with-scene--right {
    flex-direction: column-reverse;
  }

  .card-with-scene > .card,
  .card-with-scene--right > .card {
    flex: none;
    width: 100%;
    transform: none !important;
  }

  .restaurant-scene {
    display: none;
  }
}


/* =====================================================
   CARD CONNECTOR — zigzag navigator
   ===================================================== */
.card-connector {
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 72px;
  position: relative;
}

/* Dashed vertical thread running through the center */
.card-connector::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 1px;
  background: repeating-linear-gradient(
    to bottom,
    var(--divider)       0,
    var(--divider)       6px,
    transparent          6px,
    transparent          11px
  );
}

/* Floral ornament floats over the thread */
.conn-glyph {
  position: relative;
  z-index: 1;
  background: var(--bg);
  padding: 0 10px;
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--rose);
  line-height: 1;
  user-select: none;
}


/* =====================================================
   PHOTO SECTION
   ===================================================== */
.photo-section {
  padding: 80px 60px;
  background: var(--bg-alt);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 22px;
}

.photo-frame {
  position: relative;
  max-width: 720px;
  width: 90%;
  background: var(--card-bg);
  padding: 12px;
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow:
    0 16px 48px rgba(120,80,40,.12),
    4px 6px 18px rgba(120,80,40,.07);
}

/* Inner gold frame on photo */
.photo-frame::before {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid rgba(190,149,72,.28);
  pointer-events: none;
  z-index: 1;
}

.gallery-photo {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: center top;
  display: block;
  background: linear-gradient(155deg, #f0dfc0 0%, #c4844a60 50%, #7a4a2a 100%);
}

.photo-caption {
  font-family: 'Great Vibes', cursive;
  font-size: 1.7rem;
  color: var(--muted);
  letter-spacing: .04em;
}


/* =====================================================
   CONTACT PAIR
   ===================================================== */
.contact-section {
  padding: 80px 60px;
  background: var(--bg);
  display: flex;
  justify-content: center;
}

.contact-pair {
  display: flex;
  gap: 28px;
  max-width: 760px;
  width: 100%;
}

/* Contact cards share the letter-card visual language */
.card-contact {
  flex: 1;
  width: auto;
  border-top: 3px solid var(--rose);
  transform: translateY(32px);
}

.card-contact.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-pair .card-contact:last-child {
  border-top: 3px solid var(--gold);
  transform: translateY(32px);
}

.contact-pair .card-contact:last-child.visible {
  opacity: 1;
  transform: translateY(0);
}

.contact-pair .card-contact:last-child .card-numeral {
  border-color: var(--gold);
  color: var(--gold);
}

.contact-pair .card-contact:last-child:hover .card-numeral {
  background: var(--gold-pale);
}

.contact-pair .card-contact:last-child .card-vert-rule::before {
  /* background: linear-gradient(to right, var(--gold-pale), var(--divider)); */
}

.contact-pair .card-contact:last-child .card-vert-rule::after {
  /* background: linear-gradient(to right, var(--divider), var(--gold-pale)); */
}


/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--footer-bg);
  padding: 72px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

/* Large ghosted floral centrepiece */
.site-footer::before {
  content: '✿';
  position: absolute;
  font-family: 'Cormorant Garamond', serif;
  font-size: 20rem;
  color: rgba(190,149,72,.06);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.footer-inner {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  position: relative;
  z-index: 1;
}

.footer-names {
  font-family: 'Great Vibes', cursive;
  font-size: 4rem;
  color: var(--gold-pale);
  line-height: 1.1;
}

.footer-date {
  font-family: 'Inter', sans-serif;
  font-size: .72rem;
  letter-spacing: .45em;
  text-transform: uppercase;
  color: rgba(237,224,176,.42);
}


/* =====================================================
   ANIMATIONS
   ===================================================== */
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}



/* =====================================================
   WEDDING COUNTDOWN
   ===================================================== */
.wedding-countdown {
  text-align: center;
  padding: 48px 24px 16px;
  margin-bottom: 48px;
}

.countdown-date {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 300;
  font-size: 1.3rem;
  letter-spacing: .35em;
  /* text-transform: uppercase; */
  color: var(--muted);
  margin-bottom: 32px;
}

.countdown-timer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.countdown-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 600;
  color: var(--ink);
  line-height: 1;
  min-width: 2.8ch;
  text-align: center;
}

#cd-secs {
  color: var(--rose);
}

.countdown-label {
  font-family: 'Inter', sans-serif;
  font-size: .65rem;
  font-weight: 600;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: var(--muted);
}

.countdown-sep {
  font-family: 'Cormorant Garamond', serif;
  font-size: .85rem;
  color: var(--divider);
  align-self: center;
  padding-bottom: 24px;
}

@media (max-width: 860px) {
  .countdown-num  { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .countdown-timer { gap: 12px; }
  .countdown-sep  { font-size: .7rem; padding-bottom: 20px; }
}


/* =====================================================
   FLOATING HEARTS
   ===================================================== */
.heart {
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  line-height: 1;
  user-select: none;
  animation: floatHeart linear forwards;
}

@keyframes floatHeart {
  0%   { opacity: 0;   transform: translateY(0)       translateX(0)         scale(.5) rotate(var(--r0)); }
  12%  { opacity: .7; }
  85%  { opacity: .5; }
  100% { opacity: 0;   transform: translateY(-108vh)  translateX(var(--dx)) scale(1)  rotate(var(--r1)); }
}


/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 860px) {

  /* --- Hero --- */
  .hero-left {
    width: 100%;
    min-height: 100vh;
    padding: 10px 28px 260px;
    align-items: flex-start;
    background: linear-gradient(
      to bottom,
      rgba(237,230,218,.78)   0%,
      rgba(237,230,218,.68)   35%,
      rgba(237,230,218,.45)   58%,
      rgba(237,230,218,.15)   80%,
      rgba(237,230,218,0)     100%
    );
  }

  .hero-content { max-width: 100%; }

  .hero-heading {
    font-size: clamp(3.2rem, 13vw, 5rem);
    margin-bottom: 50px;
  }

  .couple-names { gap: 14px; }
  .name         { font-size: 2.1rem; }
  .amp          { font-size: 2.3rem; }

  .wedding-date { margin-bottom: 36px; }
  .rule         { margin-bottom: 36px; }

  /* --- Details section --- */
  .details-section {
    padding: 64px 20px;
    overflow-x: hidden;
  }

  .section-title {
    gap: 14px;
    margin-bottom: 64px;
  }

  .section-title h2 {
    font-size: 1.7rem;
    white-space: normal;
    text-align: center;
  }
  .ornament-line { display: none; }

  /* --- Cards: full width, no alternation on small screens --- */
  .card {
    width: 100%;
    padding: 40px 28px 44px;
    align-self: stretch !important;
    transform: none !important;
    border-left: none;
    border-right: none;
  }

  .card.visible { transform: none !important; }

  .card-numeral {
    width: 44px;
    height: 44px;
    font-size: .95rem;
  }

  .card-highlight { font-size: 2rem; }
  .card-body h2,
  .card-body h3   { font-size: .9rem; }
  .card-body p    { font-size: 1.5rem; }
  .card-note      { font-size: 1.6rem; }

  /* Connector: shorter on mobile */
  .card-connector { height: 52px; }

  /* --- Photo section --- */
  .photo-section { padding: 44px 20px; }
  .photo-frame   { width: 100%; }
  .gallery-photo { height: 420px; object-position: center top; }
  .photo-caption { font-size: 1.4rem; }

  /* --- Contact section --- */
  .contact-section { padding: 44px 20px; }

  .contact-pair {
    flex-direction: column;
    gap: 24px;
  }

  .card-contact,
  .contact-pair .card-contact:last-child {
    width: 100%;
    transform: translateY(20px);
  }

  /* --- Footer --- */
  .site-footer  { padding: 56px 20px; }
  .footer-names { font-size: 3rem; }
  .footer-date  { font-size: .65rem; }
}
