/* İnci v1.7: reference-faithful services, curated mosaic gallery and gallery archives */
:root{--inci-tile-border:#f0e6e0;--inci-tile-shadow:0 12px 27px rgba(84,52,43,.065)}

/* Match the original editorial composition: calm heading scale, compact image-top cards. */
.services-section{background:linear-gradient(180deg,#fffaf7,#fffefd);padding:72px 0 64px}
.gallery-section.inci-curated-gallery{background:#fffaf7;padding:60px 0 84px}
.services-section .section-heading,.inci-curated-gallery .section-heading{margin-bottom:23px;align-items:center}
.services-section .section-heading h2,.inci-curated-gallery .section-heading h2{font-family:'Bodoni MT',Didot,Georgia,'Times New Roman',serif;font-weight:400;letter-spacing:-.045em;line-height:1.02;font-size:clamp(2.3rem,3.3vw,3.25rem);margin:0 0 7px}
.services-section .section-heading h2:after,.inci-curated-gallery .section-heading h2:after{content:'';display:inline-block;vertical-align:middle;width:45px;height:1px;margin:0 0 0 18px;background:#d4b6a8}
.services-section .section-heading p,.inci-curated-gallery .section-heading p{color:#776b66;font-size:clamp(.9rem,1vw,1rem);line-height:1.55}
.services-section .text-link,.inci-curated-gallery .text-link{font-weight:600;font-size:.85rem;color:#985c4e;align-self:center}
.services-section .service-grid{gap:clamp(11px,1.4vw,18px);align-items:stretch}
.services-section .service-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--inci-tile-border);border-radius:12px;box-shadow:var(--inci-tile-shadow);transition:box-shadow .2s,transform .2s}
.services-section .service-card a{display:flex;flex:1;flex-direction:column;min-height:100%}
.services-section .service-card img{height:auto;aspect-ratio:1.65;width:100%;object-fit:cover;object-position:center;display:block}
.services-section .service-card-copy{display:flex;flex:1;flex-direction:column;align-items:flex-start;gap:0;padding:17px 18px 13px}
.services-section .service-card h3{font-family:Georgia,'Times New Roman',serif;letter-spacing:-.025em;font-weight:600;color:#241c18;font-size:clamp(1.05rem,1.35vw,1.3rem);line-height:1.22;margin:0 0 8px}
.services-section .service-card p{min-height:unset;color:#77706b;font-size:clamp(.84rem,.98vw,.94rem);line-height:1.48;margin:0 0 8px}
.services-section .service-card .card-arrow{color:#a86657;font-size:1.38rem;line-height:1.3;margin-top:auto}
.services-section .service-card:hover{transform:translateY(-3px);box-shadow:0 18px 35px rgba(92,52,43,.11)}

/* Seven-piece reference composition: one tall lead photo and two rows of three. */
.inci-curated-gallery .gallery-grid{display:grid;grid-template-columns:1.22fr repeat(3,minmax(0,1fr));grid-auto-rows:clamp(136px,15vw,194px);grid-auto-flow:row dense;gap:12px}
.inci-curated-gallery .gallery-item{display:block;position:relative;width:100%;height:100%;min-width:0;min-height:0;aspect-ratio:auto;overflow:hidden;background:#eee3dc;border-radius:12px;border:1px solid rgba(240,230,223,.82)}
.inci-curated-gallery .gallery-item.is-featured{grid-column:span 1;grid-row:span 2;min-height:0;aspect-ratio:auto}
.inci-curated-gallery .gallery-item img{display:block;width:100%;height:100%;object-fit:cover;object-position:center;transition:transform .35s ease}
.inci-curated-gallery .gallery-item:hover img{transform:scale(1.045)}
/* Only photography is displayed: attachment titles remain available to assistive technology via alt/aria-label. */
.inci-curated-gallery .gallery-item > span{display:none}
.inci-curated-gallery .gallery-admin-empty{border:1px dashed #d9bbae;background:#fffdfb;border-radius:12px;padding:22px;color:#72584e}

/* Full gallery: curated collection rather than a plain WordPress post grid. */
.inci-gallery-page .gallery-page-top{padding:60px 0 66px;background:radial-gradient(circle at 86% 35%,#f1dcd2 0,transparent 46%),linear-gradient(115deg,#fffaf8,#f7eae3)}
.inci-gallery-page .inner-heading h1,.inci-gallery-detail-page .inner-heading h1{font-family:'Bodoni MT',Didot,Georgia,serif;letter-spacing:-.045em}
.inci-gallery-page .inner-lede p{margin:0}
.gallery-archive-content{padding-top:40px}
.gallery-categories{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:0 0 32px}
.gallery-category-pill{display:inline-flex;align-items:center;justify-content:center;min-height:39px;border-radius:999px;border:1px solid #e5cfc5;padding:9px 19px;background:#fff;color:#725047;font-size:.89rem;font-weight:600;line-height:1.2;white-space:nowrap;transition:color .2s,background-color .2s,border-color .2s}
.gallery-category-pill:hover{background:#f5e9e3;color:#5d3830;border-color:#cfa99b}
.gallery-category-pill.is-current{background:#ae7162;border-color:#ae7162;color:#fff}
.gallery-category-pill.is-current:hover{background:#965a4e;color:#fff}
.inci-gallery-page .gallery-archive-grid,.gallery-related .gallery-archive-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:clamp(12px,1.6vw,21px)}
.gallery-archive-card{min-width:0;display:flex;flex-direction:column;background:#fff;border:1px solid #f0e6df;border-radius:14px;overflow:hidden;box-shadow:var(--inci-tile-shadow);transition:transform .2s ease,box-shadow .2s ease}
.gallery-archive-card:hover{transform:translateY(-3px);box-shadow:0 18px 32px rgba(91,49,41,.1)}
.gallery-archive-photo{display:block;position:relative;aspect-ratio:1.05;overflow:hidden;background:#f6e9e3}
.gallery-archive-photo img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .35s ease}
.gallery-archive-card:hover .gallery-archive-photo img{transform:scale(1.045)}
.gallery-archive-view{position:absolute;inset:auto 10px 10px auto;background:rgba(255,251,247,.94);border-radius:999px;padding:8px 13px;color:#7c4b40;font-size:.78rem;font-weight:700;box-shadow:0 4px 12px rgba(0,0,0,.08)}
.gallery-archive-info{padding:16px 16px 18px;flex:1}
.gallery-card-cat{color:#a36e60;text-transform:uppercase;letter-spacing:.12em;font-size:.66rem;font-weight:700;margin:0 0 8px}
.gallery-archive-info h2,.gallery-archive-info h3{font-size:clamp(1.1rem,1.35vw,1.28rem);line-height:1.2;margin:0;font-family:Georgia,'Times New Roman',serif;letter-spacing:-.02em;font-weight:400}
.gallery-archive-empty{padding:40px;border:1px solid #eee2dc;border-radius:14px;text-align:center;background:#fffaf7}
.gallery-archive-empty h2{font-size:2rem}.gallery-archive-empty p{color:#776e67}
.gallery-archive-empty .btn{margin-top:12px}
.inci-gallery-detail-page .gallery-detail{grid-template-columns:minmax(0,1.04fr) minmax(0,.96fr);align-items:start}
.inci-gallery-detail-page .gallery-detail-photo{border-radius:18px;box-shadow:var(--inci-tile-shadow)}
.inci-gallery-detail-page .gallery-detail-photo img{width:100%;height:auto;max-height:720px;object-fit:contain}
.inci-gallery-detail-page .gallery-detail-copy h2{font-size:clamp(2rem,2.8vw,3rem);margin-bottom:20px}
.gallery-detail-terms{display:flex;gap:8px;flex-wrap:wrap;margin-bottom:24px}
.gallery-detail-terms .gallery-category-pill{min-height:34px;padding:7px 14px;font-size:.8rem}
.inci-gallery-detail-page .gallery-detail-copy .entry-content{margin-bottom:22px}
.gallery-related{margin-top:76px}
.gallery-related .section-heading h2{font-size:clamp(2rem,2.9vw,3rem)}

@media(max-width:1080px){
  .inci-curated-gallery .gallery-grid{grid-template-columns:1.12fr repeat(3,minmax(0,1fr));grid-auto-rows:clamp(125px,16.5vw,170px);gap:10px}
  .inci-gallery-page .gallery-archive-grid,.gallery-related .gallery-archive-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:860px){
  .services-section,.gallery-section.inci-curated-gallery{padding:64px 0}
  .inci-curated-gallery .gallery-grid{grid-template-columns:1fr 1fr;grid-auto-rows:clamp(130px,24vw,205px)}
  .inci-curated-gallery .gallery-item.is-featured{grid-column:span 1;grid-row:span 2}
  .services-section .service-card img{aspect-ratio:1.6}
  .inci-gallery-page .gallery-archive-grid,.gallery-related .gallery-archive-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .inci-gallery-detail-page .gallery-detail{grid-template-columns:1fr}
}
@media(max-width:640px){
  .services-section,.gallery-section.inci-curated-gallery{padding:52px 0 60px}
  .services-section .section-heading,.inci-curated-gallery .section-heading{align-items:flex-start;gap:10px}
  .services-section .section-heading h2,.inci-curated-gallery .section-heading h2{font-size:clamp(2rem,8vw,2.55rem)}
  .services-section .section-heading h2:after,.inci-curated-gallery .section-heading h2:after{width:28px;margin-left:11px}
  .services-section .service-grid{gap:11px}
  .services-section .service-card img{aspect-ratio:1.42}
  .services-section .service-card-copy{padding:13px 12px 14px}
  .services-section .service-card h3{font-size:1.02rem;line-height:1.2}
  .services-section .service-card p{font-size:.8rem;line-height:1.45}
  .inci-curated-gallery .gallery-grid{grid-auto-rows:clamp(118px,29vw,175px);gap:8px}
  .inci-curated-gallery .gallery-item{border-radius:10px}
  .inci-gallery-page .gallery-page-top{padding:36px 0 44px}
  .gallery-archive-content{padding-top:30px}
  .gallery-categories{gap:8px;margin-bottom:24px}
  .gallery-category-pill{padding:8px 13px;min-height:36px;font-size:.8rem}
  .inci-gallery-page .gallery-archive-grid,.gallery-related .gallery-archive-grid{gap:11px}
  .gallery-archive-info{padding:12px}
  .gallery-archive-info h2,.gallery-archive-info h3{font-size:1rem}
  .gallery-card-cat{font-size:.61rem}
  .gallery-related{margin-top:54px}
}
@media(max-width:400px){
  .services-section .service-grid{gap:8px}
  .services-section .service-card-copy{padding:11px 10px 12px}
  .services-section .service-card p{font-size:.75rem}
  .inci-curated-gallery .gallery-grid{grid-auto-rows:115px}
  .inci-gallery-page .gallery-archive-grid,.gallery-related .gallery-archive-grid{grid-template-columns:1fr 1fr}
}
@media(prefers-reduced-motion:reduce){.gallery-archive-card,.gallery-archive-photo img,.inci-curated-gallery .gallery-item img,.services-section .service-card{transition:none!important}}
