/* Keep footer items on one visual center line. */
.site-footer {
  display:grid;
  grid-template-columns:minmax(80px,1fr) auto minmax(44px,1fr);
  align-items:center;
  gap:20px;
  height:auto;
  min-height:88px;
  padding:18px clamp(20px,6vw,80px);
}
.footer-brand {
  position:static;
  grid-column:1;
  grid-row:1;
  justify-self:start;
  width:clamp(80px,7.7cqw,110px);
}
.footer-brand { transform:translateY(-10px); }
.footer-brand img { display:block; }
.footer-navigation {
  grid-column:2;
  grid-row:1;
  justify-self:center;
  display:flex;
  flex-wrap:nowrap;
  align-items:center;
  gap:0;
  font-size:clamp(14px,1.12cqw,18px);
}
.footer-navigation a { display:flex; align-items:center; min-height:44px; padding-inline:clamp(10px,1.8vw,24px); }
.footer-instagram {
  position:static;
  grid-column:3;
  grid-row:1;
  justify-self:end;
  display:grid;
  place-items:center;
  width:44px;
  height:44px;
  min-width:44px;
  min-height:44px;
}
.footer-instagram img { width:22px; height:22px; }
.gallery-photo-rose { z-index:2; }

@media(min-width:1024px) { .brand { width:10.4cqw; } }

@media(max-width:1023px) {
  .about { width:calc(100% - 24px); margin:16px auto 0; padding:46px 20px 38px; background:none; border:0; border-radius:0; }
  .about::before { content:""; position:absolute; inset:0; z-index:-1; pointer-events:none; border-radius:84px 26px 84px 26px / 68px 28px 68px 28px; border:1px solid #fff; background:radial-gradient(ellipse at 60% 74%,#ffffffb8 0%,#ffffff00 44%),linear-gradient(135deg,#dae5d8,#cbd7c7); }
  .contact { width:calc(100% - 24px); margin:12px auto 0; padding:30px 18px 28px; }
  .contact-copy { width:100%; max-width:440px; margin-inline:auto; }
  .contact-copy h2 { font-size:clamp(26px,6.4vw,34px); line-height:1.18; }
  .contact-copy .green-rule { margin:16px auto 22px; }
  .contact-form { width:100%; max-width:480px; margin:0 auto; padding:16px; border-radius:20px; }
  .contact .field { height:48px; margin-bottom:10px; }
  .contact .field input,.contact .date-placeholder { font-size:16px; }
  .contact .form-submit { min-height:48px; padding:12px 16px; line-height:1.35; }
  .contact-leaves { width:126px; right:-30px; top:-24px; }
}

@media(max-width:699px) {
  .gallery { padding-top:16px; padding-bottom:10px; }
  .gallery-copy h2 { font-size:clamp(29px,7vw,36px); }
  .gallery-copy h2 span { font-size:clamp(32px,8vw,40px); }
  .gallery-copy .green-rule { margin:14px auto 8px; }
  .contact { border-radius:52px 28px 42px 24px / 32px 20px 32px 18px; }
  .contact-form { max-width:440px; }
  .site-footer {
    grid-template-columns:minmax(0,1fr) 44px;
    grid-template-rows:auto auto;
    gap:12px;
    min-height:0;
    padding:18px 20px max(20px,env(safe-area-inset-bottom));
  }
  .footer-brand { grid-column:1; grid-row:1; width:88px; }
  .footer-instagram { grid-column:2; grid-row:1; }
  .footer-navigation { grid-column:1 / -1; grid-row:2; font-size:13px; width:100%; justify-content:center; }
  .footer-navigation a { padding-inline:10px; }
}

.gallery-controls { display:none; }
@media(max-width:1023px) {
  .gallery { display:block; }
  .gallery-copy { width:100%; text-align:center; }
  .gallery-scroll-hint { display:block; margin:6px 0 0; font-size:13px; color:#66765d; }
  .gallery-art {
    display:flex;
    position:relative;
    container-type:normal;
    direction:ltr;
    align-items:stretch;
    gap:0;
    width:calc(100% - 40px);
    max-width:440px;
    height:auto;
    aspect-ratio:auto;
    margin:16px auto 0;
    padding:0;
    overflow-x:auto;
    overflow-y:hidden;
    scroll-snap-type:x mandatory;
    scroll-padding:0;
    overscroll-behavior-x:contain;
    scrollbar-width:none;
  }
  .gallery-art::-webkit-scrollbar { display:none; }
  .gallery-photo {
    position:relative;
    inset:auto;
    flex:0 0 100%;
    width:100%;
    max-width:none;
    height:auto;
    margin:0;
    aspect-ratio:1.23;
    scroll-snap-align:center;
    scroll-snap-stop:always;
  }
  .gallery-photo>img { position:absolute; inset:0; width:100%; height:100%; }
  .gallery-photo-ivory>img { transform:scale(1.15); transform-origin:50% 30%; }
  .gallery-art .gold-ring,.gallery-leaves { display:none; }
  .gallery-photo:hover { translate:none; }
  .gallery-controls { display:flex; direction:ltr; align-items:center; justify-content:center; gap:22px; margin:12px auto 20px; }
  .gallery-controls button { display:grid; place-items:center; width:44px; height:44px; border:0; border-radius:50%; background:#dce5d3; cursor:pointer; }
  .gallery-controls button img { width:24px; height:24px; }
  .gallery-position { min-width:52px; text-align:center; font-size:14px; color:#23402c; }
}
