/* Project gallery: predictable rows, readable names, and room for the images. */
.projects{padding-block:90px;background:#eae6dd}
.projects-heading{align-items:end;margin-bottom:44px;gap:48px}
.projects-heading h2{font-size:clamp(46px,6vw,90px);max-width:780px;line-height:1.06}
.projects-heading>p{max-width:340px;padding:0;font-size:14px}
.project-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:46px 30px;align-items:start}
.project-card,.project-card:nth-child(n){margin:0;display:flex;flex-direction:column;background:transparent;width:100%;height:auto}
.project-image,.project-featured .project-image,.project-last .project-image{width:100%;aspect-ratio:1.6}
.project-image>img{width:100%;height:100%;object-fit:cover;transform:none}
.project-open{width:48px;height:48px;background:#25282f25;backdrop-filter:blur(5px)}
.project-tag{font:10px var(--label);letter-spacing:.08em;bottom:23px;left:25px}
.project-meta{width:100%;margin:0;padding:23px 0 0;align-items:start;font-size:clamp(25px,2.6vw,38px);line-height:1.15;min-height:100px}
.project-meta>span:first-child{min-width:0}.project-meta small{font:10px var(--sans);letter-spacing:.12em;margin-top:12px}
.project-id{font:15px var(--label);color:#82643b;padding-top:2px;flex:none}
.project-dialog>img{width:100%;height:auto;max-height:64svh;object-fit:contain;background:#eae6dd}

/* One catalogue plate and a typographic collection index. */
.catalog-teaser{padding-block:90px;overflow:hidden}
.catalog-teaser-intro{gap:60px;margin-bottom:54px}
.catalog-teaser-intro h2 em{color:#8d6c3c}
.collection-showcase{--plate-height:clamp(495px,38.2vw,660px);display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:clamp(36px,6vw,110px);align-items:start}
.collection-selector{grid-column:2;grid-row:1;border-top:1px solid var(--line);position:relative}
.collection-selector[hidden]{display:none}
.collection-choice{display:grid;grid-template-columns:27px minmax(0,1fr) 24px;gap:22px;align-items:center;text-align:left;width:100%;min-height:calc(var(--plate-height)/5);padding:23px 0;border-bottom:1px solid var(--line);position:relative;transition:color .25s}
.collection-choice::after{content:'';position:absolute;bottom:-1px;left:0;width:100%;height:1px;background:#96733f;transform:scaleX(0);transform-origin:left;transition:transform .3s}
.collection-choice[aria-selected=true]::after{transform:scaleX(1)}
.collection-choice[aria-selected=true]{color:#826039}
.collection-choice:hover{color:#826039}
.collection-choice:focus-visible{outline:2px solid #96733f;outline-offset:-3px}
.collection-number{font:11px var(--label);color:var(--muted)}
.collection-choice[aria-selected=true] .collection-number{color:#826039}
.collection-choice-name{display:block;font:clamp(23px,2.2vw,35px)/1.14 var(--serif);letter-spacing:-.025em}
.collection-choice-copy small{display:block;margin-top:10px;font:8px/1.5 var(--label);letter-spacing:.08em;color:var(--muted)}
.collection-choice-arrow{font:24px var(--sans);opacity:0;transform:translateX(-8px);transition:opacity .25s,transform .25s}
.collection-choice[aria-selected=true] .collection-choice-arrow,.collection-choice:hover .collection-choice-arrow{opacity:1;transform:none}
.collection-panels{grid-column:1;grid-row:1;min-width:0}
.collection-panel[hidden]{display:none}
.collection-selector::-webkit-scrollbar{display:none}
.collection-panel{min-width:0;animation:collection-reveal .4s ease-out}
.collection-panel+.collection-panel{margin-top:40px}
.is-enhanced .collection-panel{margin-top:0}
.collection-fallback-title{font:32px var(--serif);margin:0 0 20px}
.is-enhanced .collection-fallback-title{display:none}
.collection-image{height:var(--plate-height);display:flex;align-items:center;justify-content:center;background:#e9e4da;overflow:hidden}
.collection-image img{width:100%;height:100%;object-fit:contain}
.collection-image-custom img{object-fit:cover}
.collection-image-safli{background:#07536a}
.collection-image-duvardan-duvara{background:#d1b996}
.collection-image-gobekler{background:#660b19}
.collection-image-stok{background:#fff}
.collection-image-mihrap{background:#dfc19f}
.collection-caption{display:flex;justify-content:space-between;align-items:end;gap:20px;padding-top:24px}
.collection-caption>p{display:flex;flex-direction:column;gap:8px;font:15px/1.4 var(--sans)}
.collection-caption-label{font:8px/1.5 var(--label);letter-spacing:.12em;color:var(--muted)}
.collection-caption .text-link{font-size:12px;gap:22px;padding-top:0}
@keyframes collection-reveal{from{opacity:.4;transform:translateY(6px)}to{opacity:1;transform:none}}
@media(min-width:1700px){.collection-showcase{grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:7vw}}
@media(max-width:1000px){
 .catalog-teaser{padding-block:60px}.catalog-teaser .section-heading{align-items:start;margin-bottom:40px}.catalog-teaser .section-heading .text-link{font-size:10px;gap:12px;padding-top:0}.catalog-teaser .section-index{margin-right:12px}
 .catalog-teaser-intro{display:block;margin-bottom:30px}.catalog-teaser-intro p{margin-top:25px;font-size:12px;max-width:360px;line-height:1.8}.catalog-teaser-intro br{display:none}.catalog-teaser-intro h2 br{display:block}
 .collection-showcase{display:flex;flex-direction:column;gap:24px}
 .collection-selector{display:flex;align-items:stretch;overflow-x:auto;width:calc(100% + var(--gutter)*2);max-width:none;margin-inline:calc(-1*var(--gutter));padding-inline:var(--gutter);border-top:0;scrollbar-width:none;scroll-snap-type:x proximity}
 .collection-choice{display:flex;flex:0 0 auto;align-items:start;width:200px;min-height:102px;gap:13px;padding:18px 24px 20px 0;scroll-snap-align:start;scroll-margin-left:var(--gutter);border-top:1px solid var(--line)}
 .collection-choice-name{font-size:23px;line-height:1.1}.collection-choice-copy small{font-size:7px;letter-spacing:.02em;line-height:1.4;margin-top:8px}.collection-choice-arrow{display:none}.collection-number{font-size:9px;padding-top:3px}
 .collection-panels{width:100%}.collection-image{height:auto;aspect-ratio:1.06}.collection-caption{padding-top:20px;gap:12px}.collection-caption>p{font-size:12px}.collection-caption .text-link{font-size:11px;gap:15px}.collection-caption-label{font-size:7px}
}
@media(prefers-reduced-motion:reduce){.collection-panel{animation:none}.collection-choice,.collection-choice::after,.collection-choice-arrow{transition:none}}

/* The contact section takes only the space its content requires. */
.contact{min-height:0;padding-top:70px;padding-bottom:25px}
.contact-layout{flex:none;align-items:start;padding-bottom:44px;gap:9%}
.contact footer{padding-top:26px}.contact .section-heading{margin-bottom:40px}
.contact .footer-brand{padding:0}.contact .footer-brand>img{width:min(45%,440px)}
.contact .footer-brand>span{font-size:21px}.footer-bottom{margin-top:24px;padding-top:20px}
.contact-dialog{max-width:730px}.form-intro{line-height:1.65}
.location-field{position:relative;margin:0 0 22px}.location-field>label{display:block;margin:0 0 10px}
.location-control{position:relative}.location-field input{width:100%;margin:0}.location-label{display:flex;justify-content:space-between;align-items:center;gap:20px}
.location-label small{font-size:10px;color:#80623b}
.location-options{position:absolute;top:calc(100% + 4px);left:0;right:0;z-index:10;list-style:none;margin:0;padding:5px 0;max-height:246px;overflow:auto;background:var(--paper);border:1px solid #b8ad9a;box-shadow:0 15px 30px #34384120}
.location-options[hidden]{display:none}.location-options li{font-size:12px;line-height:1.5;padding:12px 15px;cursor:pointer;border-bottom:1px solid #3438410d}
.location-options li:last-child{border:0}.location-options li:hover,.location-options li[aria-selected=true]{background:#e8e1d4}
.location-help{display:flex;justify-content:space-between;align-items:start;gap:15px;margin-top:9px;font-size:10px;line-height:1.5;color:var(--muted)}
.location-help a{text-decoration:underline;text-underline-offset:3px;white-space:nowrap;font-size:9px}
#location-status{font-size:10px;line-height:1.5;min-height:15px;margin-top:6px;color:var(--muted)}
#project-form button:disabled{opacity:.6}.form-notice{line-height:1.7}

@media(max-width:900px){
 .project-grid{gap:35px 23px}.projects-heading{display:block}.projects-heading>p{margin-top:25px}
 .project-meta{font-size:27px;min-height:106px}.project-image,.project-featured .project-image,.project-last .project-image{aspect-ratio:1.22}
}
@media(max-width:600px){
 .projects,.catalog-teaser{padding-block:60px}.projects-heading h2{font-size:48px}.projects-heading>p{font-size:12px}
 .project-grid{grid-template-columns:1fr;gap:32px}.project-image,.project-featured .project-image,.project-last .project-image{aspect-ratio:1.42}
 .project-meta{font-size:29px;min-height:0;padding-top:18px}.project-meta small{margin-top:9px}.project-tag{left:18px;bottom:18px;font-size:8px}
 .project-bottom{margin-top:38px}.project-open{width:40px;height:40px}
 .contact{padding-top:50px}.contact-layout{gap:34px;padding-bottom:32px}
 .contact .section-heading{margin-bottom:30px}.contact .footer-brand>img{width:100%;max-width:350px}
 .contact .footer-brand>span{font-size:19px;margin-top:20px}.location-help{display:block}.location-help a{display:inline-block;margin-top:5px}
}

.form-trap{position:absolute!important;width:1px;height:1px;overflow:hidden;clip-path:inset(100%);pointer-events:none;white-space:nowrap}
.captcha-slot{margin:18px 0;font-size:13px;min-height:0;--altcha-color-base:#f8f6f1;--altcha-color-text:#343841;--altcha-color-border:#d5d1c8;--altcha-border-radius:0}
.captcha-slot:empty{display:none}

.content-video{display:block;width:100%;height:auto;max-height:75vh;object-fit:contain;background:#191c21}.content-video[hidden]{display:none}#project-detail-image[hidden]{display:none}

/* Submission feedback stays centered over the viewport, above the contact form. */
.inquiry-feedback{position:fixed;inset:0;margin:auto;width:min(440px,calc(100vw - 32px));max-height:calc(100svh - 40px);padding:38px 32px 28px;text-align:center;border:1px solid #be99614d;box-shadow:0 24px 100px #0005}
.inquiry-feedback::backdrop{background:#1b1f27ad;backdrop-filter:blur(6px)}
.inquiry-feedback-icon{width:64px;height:64px;margin:0 auto 22px;color:#49785a}
.inquiry-feedback-icon svg{width:100%;height:100%;stroke:currentColor;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.inquiry-feedback .eyebrow{color:var(--muted);font-size:9px;letter-spacing:.16em;margin-bottom:12px}
.inquiry-feedback h2{font-size:clamp(30px,5vw,38px);line-height:1.13;letter-spacing:-.025em}
.inquiry-feedback>p:not(.eyebrow){font-size:14px;line-height:1.75;color:var(--muted);margin:18px auto 24px;max-width:340px}
.inquiry-feedback-dismiss{padding:13px 28px;min-height:46px;min-width:130px;background:var(--brand-dark);color:var(--paper);font-size:13px}
.inquiry-feedback[data-state=error] .inquiry-feedback-icon{color:#a54839}
.inquiry-feedback[data-state=success] .feedback-error,.inquiry-feedback[data-state=error] .feedback-check{display:none}
@media(max-width:480px){.inquiry-feedback{padding:30px 24px 24px}.inquiry-feedback-icon{width:56px;height:56px;margin-bottom:18px}}
