/* Responsive refinements. Keep original media proportions. */
.icon-arrow{width:1em;height:1em;display:inline-block;vertical-align:-.1em;flex-shrink:0;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
.strip{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;padding:20px 5%}
.strip a{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:48px;padding:10px 12px;border-bottom:1px solid #ffffff50;line-height:1.5}
.home-follow .projects{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;align-items:stretch}
.home-follow .project{display:flex;flex-direction:column;min-width:0}
.home-follow .project .media{height:auto;aspect-ratio:9/16}
.home-follow .project .caption{flex:1;min-height:0;padding:14px 0 20px}
.home-follow .project h3{font-size:clamp(17px,1.7vw,23px);line-height:1.2;margin-bottom:8px}
.home-follow .project p{font-size:14px;line-height:1.5}
.album-photos{display:block}
.photo-group{display:grid;gap:20px;margin-bottom:20px;align-items:start}
.photo-group.portraits{grid-template-columns:repeat(3,minmax(0,1fr))}
.photo-group.landscapes{grid-template-columns:repeat(2,minmax(0,1fr))}
.photo-group figure{min-width:0}
.photo-group img{width:100%;height:auto}
.language-switch{display:flex;gap:4px;align-items:center;font-size:12px;margin-left:12px;white-space:nowrap}
.language-switch a{padding:9px 10px;border:1px solid #24204440!important;border-radius:4px}
.language-switch a[aria-current]{background:var(--ink);color:var(--paper)}
@media(max-width:900px){.home-follow .projects{grid-template-columns:repeat(2,minmax(0,1fr))}.strip{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:700px){
 nav{gap:10px;justify-content:flex-start}nav>a{padding:10px 0}.language-switch{margin-left:auto}
 .strip{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 16px;padding:20px 5%;font-size:11px}.strip a{padding:12px 0}.strip a:last-child{grid-column:1/-1}
 .home-follow .projects{grid-template-columns:repeat(2,minmax(0,1fr));gap:26px 18px}
 .home-follow .project .media{height:auto;aspect-ratio:9/16}.home-follow .project .caption{min-height:0}
 .home-follow .project p{font-size:13px}.home-follow .project h3{font-size:18px}
 .photo-group.portraits{grid-template-columns:repeat(2,minmax(0,1fr))}.photo-group.landscapes{grid-template-columns:1fr}
 .photo-group{gap:16px;margin-bottom:24px}
 .home-photos .album-grid{grid-template-columns:1fr;gap:26px}.home-photos .album{display:grid;grid-template-columns:38% 1fr;column-gap:20px;align-items:center}
 .home-photos .album-cover{grid-row:1/4;height:auto;aspect-ratio:3/4;background:transparent}.home-photos .album h2{font-size:21px;margin:0;align-self:end}.home-photos .album p{margin:8px 0 0;align-self:start}
 .section-bottom{gap:12px 24px}footer{flex-wrap:wrap;line-height:1.6}.contact .email{overflow-wrap:anywhere}
}
/* Consistent cover geometry: explicitly fill the frame, including small source images. */
.home-follow .project .media,.home-follow .project:last-child .media{width:100%;height:auto;aspect-ratio:9/16;margin:0;display:block}
.home-follow .project .media img{position:absolute;inset:0;width:100%;height:100%;max-width:none;max-height:none;object-fit:contain!important}
#view-video .project-groups{display:grid;gap:48px}
#view-video .format-vertical{grid-template-columns:repeat(4,minmax(0,1fr));gap:32px 24px}
#view-video .format-horizontal{grid-template-columns:repeat(3,minmax(0,1fr));gap:32px 24px}
#view-video .project .media,#view-video .project:last-child .media{width:100%;height:auto;aspect-ratio:9/16;display:block;margin:0}
#view-video .format-horizontal .project .media{aspect-ratio:16/9}
#view-video .project .media img{position:absolute;inset:0;width:100%;height:100%;max-height:none;max-width:none;object-fit:contain!important}
#view-video .project .caption{min-height:0;padding-top:14px;padding-bottom:20px}
#view-video .project-groups>.projects:not(:has(.project:not([hidden]))){display:none}
.album-grid .album{display:flex;flex-direction:column;align-items:stretch;text-align:center;min-width:0}
.album-grid .album .album-cover{display:block;width:100%;height:auto;aspect-ratio:2/3;background:transparent;position:relative}
.album-grid .album .album-cover img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.album-grid .album h2{margin:18px 0 6px;align-self:auto;font-size:24px}
.album-grid .album p{margin:0;align-self:auto;line-height:1.5}
@media(max-width:900px){#view-video .format-vertical{grid-template-columns:repeat(2,minmax(0,1fr))}#view-video .format-horizontal{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){
 #view-video .format-vertical{gap:28px 18px}#view-video .format-horizontal{grid-template-columns:1fr}
 .home-photos .album-grid,.album-grid{grid-template-columns:1fr;gap:36px}
 .album-grid .album{width:min(100%,310px);margin:0 auto}
 .album-grid .album h2{font-size:23px}.album-grid .album p{font-size:14px}
}
/* Four photographic series, with a compact responsive rhythm. */
.album-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
@media(min-width:701px) and (max-width:1000px){.album-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.album-grid{grid-template-columns:1fr}}

.photo-group.portraits.pair{grid-template-columns:repeat(2,minmax(0,1fr));max-width:800px;margin-left:auto;margin-right:auto}

.hero .intro .service-line{font-size:clamp(17px,1.6vw,23px);font-weight:600;line-height:1.4;margin-bottom:18px}

.whatsapp-contact{display:inline-flex;align-items:center;gap:12px;padding:16px 22px;margin:12px 0 24px;border-radius:4px;background:var(--peach,#f4a06d);color:var(--ink,#242044);font-size:clamp(18px,2vw,24px);font-weight:600;text-decoration:none}
.whatsapp-contact svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.whatsapp-contact:focus-visible{outline:3px solid currentColor;outline-offset:5px}.whatsapp-contact:hover{filter:brightness(1.06)}
.contact .email{display:table}

/* Approved portrait: a lightly taped Polaroid, centered in its available column. */
.about .about-portrait{
 position:relative;justify-self:center;margin:16px auto 22px;
 width:100%;max-width:440px;box-sizing:border-box;
 padding:20px 20px 24px;background:#f5eee5;
 transform:rotate(-2.5deg);
 box-shadow:2px 10px 19px rgba(42,30,29,.13),0 2px 4px rgba(42,30,29,.05);
}
.about .about-portrait::before{
 content:"";position:absolute;z-index:1;pointer-events:none;
 width:32%;height:38px;left:50%;top:-18px;
 transform:translateX(-50%) rotate(-1.5deg);
 background:linear-gradient(110deg,#eee0bfc9,#f8edcfb5 35%,#e7d8b9c7 68%,#f4e8c5b8);
 box-shadow:0 1px 2px #8b785b10;
 clip-path:polygon(1% 5%,97% 0,99% 12%,98% 23%,100% 34%,98% 46%,99% 59%,97% 70%,100% 83%,98% 98%,2% 100%,3% 87%,0 75%,2% 64%,1% 51%,3% 40%,0 28%,2% 16%);
}
@media(max-width:700px){
 .about .about-portrait{width:78%;max-width:340px;padding:15px 15px 20px;margin-top:16px;margin-bottom:24px}
 .about .about-portrait::before{height:30px;top:-14px}
}

/* Historia Viva: keep each editorial row at a comparable viewing scale. */
.curated-historia {
  width: min(100%, 56rem, 134svh);
  margin-inline: auto;
}
.curated-historia .photo-group {
  gap: clamp(12px, 1.5vw, 22px);
  margin-block-end: clamp(16px, 2vw, 30px);
}
.curated-historia .portraits { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.curated-historia .wide-left { grid-template-columns: minmax(0, 2.25fr) minmax(0, 1fr); }
.curated-historia .wide-right { grid-template-columns: minmax(0, 1fr) minmax(0, 2.25fr); }
@media (max-width: 700px) {
  .curated-historia {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: clamp(8px, 2.4vw, 16px);
  }
  .curated-historia .photo-group { display: contents; }
  .curated-historia figure { grid-column: span 3; }
  .curated-historia .portraits figure { grid-column: span 2; }
  .curated-historia .wide-left figure:first-child,
  .curated-historia .wide-right figure:last-child { grid-column: 1 / -1; }
}

/* Match the other portrait thumbnails in each row. The lightbox uses the full photograph. */
.aligned-portraits .portraits figure a { display: block; aspect-ratio: 2 / 3; }
.aligned-portraits .portraits figure img { width: 100%; height: 100%; object-fit: cover; }

#view-fotografia .album-cover { aspect-ratio: 9 / 16; }

.project-page .film-layout-wide video { display: block; width: 100%; height: auto; min-height: 0; max-height: none; aspect-ratio: 16 / 9; object-fit: contain; }
