/*
 * MTI Tour - inner pages (comps ebru-listing, ebru-detail, ebru-about, ebru-contact, 06.12).
 * Loads after ebru.css. The page head is an ebru band with a photograph torn from paper; listing cards sit in
 * marbled rims with a cream title plate; detail bodies read as an edited page (display-font lead, rust-dot headings,
 * pull quote, framed images); about and contact use the same band, rim and paper vocabulary.
 */

/* ---------- Page-head band ---------- */
.page-head.page-head--band { position: relative; isolation: isolate; overflow: hidden; padding-block: clamp(1.6rem, 3.5vw, 2.6rem); background: var(--ebru-navy); color: var(--ebru-paper); border: 0; }
.page-head__bath { position: absolute; inset: 0; z-index: -1; background: url("../img/ebru/ebru-bath.webp") center / cover; }
.page-head__bath::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(14, 24, 46, .94) 0%, rgba(14, 24, 46, .82) 38%, rgba(14, 24, 46, .25) 72%, rgba(14, 24, 46, .1) 100%); }
.page-head--band .page-head__inner { display: grid; gap: 1.5rem; align-items: center; }
.page-head__copy { display: grid; gap: .7rem; justify-items: start; }
.page-head--band .page-head__title { color: #fbf3e4; max-width: 18ch; font-size: clamp(2.2rem, 1.2rem + 3vw, 3.6rem); line-height: 1.08; }
.page-head__alt { margin: -.15rem 0 0; font-family: var(--font-display); font-size: clamp(1.1rem, .9rem + .8vw, 1.55rem); letter-spacing: .08em; color: color-mix(in oklab, #fbf3e4 88%, var(--ebru-saffron)); }
.page-head__alt:lang(en) { letter-spacing: .02em; font-style: italic; }
.page-head--band .page-head__lead { color: color-mix(in oklab, #fbf3e4 86%, transparent); max-width: 44ch; }
.page-head--band .crumbs ol, .page-head--band .crumbs a, .page-head--band .crumbs li { color: color-mix(in oklab, #fbf3e4 80%, transparent); }
.page-head--band .crumbs [aria-current] { color: #fbf3e4; }
.page-head--band .crumbs li + li::before { color: color-mix(in oklab, #fbf3e4 50%, transparent); }
.ornament--light { width: min(100%, 20rem); }
.ornament--light::before { border-top-color: color-mix(in oklab, #fbf3e4 45%, transparent); }
.ornament--light::after { box-shadow: 0 0 0 .35rem rgba(14, 24, 46, .9); background: radial-gradient(circle, var(--ebru-rust) 0 30%, #fbf3e4 32% 52%, var(--ebru-rust) 54% 100%); }
.page-head--band .search-big { width: min(100%, 34rem); }

.page-head__print { position: relative; margin: 0; padding: clamp(.8rem, 1.6vw, 1.2rem); }
.page-head__rim { position: absolute; inset: 0; background: url("../img/ebru/swirl-saffron.webp") center / cover; -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat; mask: var(--rim-mask) center / 100% 100% no-repeat; }
.page-head__photo { position: relative; display: block; width: 100%; aspect-ratio: 16 / 10; object-fit: cover; -webkit-mask: url("../img/ebru/deckle-torn.png") center / 100% 100% no-repeat; mask: url("../img/ebru/deckle-torn.png") center / 100% 100% no-repeat; filter: drop-shadow(0 6px 12px rgba(0, 0, 0, .4)); }
@media (min-width: 860px) {
    .page-head--band .page-head__inner { grid-template-columns: 1fr minmax(0, 1.05fr); gap: clamp(1.5rem, 4vw, 3.5rem); }
    .page-head--plain .page-head__inner { grid-template-columns: 1fr; }
}
@media (max-width: 859.98px) {
    .page-head__print { width: min(100%, 30rem); }
}

/* Place chips (on the band) */
.place-filter { display: flex; flex-wrap: wrap; gap: .55rem .7rem; margin-top: .4rem; }
.place-filter__chip { min-height: 2.6rem; padding: .35rem 1.25rem; border: 2px solid var(--ebru-saffron); border-radius: 999px; background: #fbf3e4; color: var(--ebru-navy); font: 600 1rem/1.2 var(--font-display); cursor: pointer; transition: background-color .2s, color .2s, transform .2s; }
.place-filter__chip:hover { transform: translateY(-1px); }
.place-filter__chip[aria-pressed="true"] { background: var(--ebru-saffron); border-color: #fbf3e4; }
.place-filter__chip:focus-visible { outline: 3px solid #fbf3e4; outline-offset: 2px; }

/* ---------- Listing cards ---------- */
.item-list { display: grid; gap: clamp(2rem, 4vw, 3rem) clamp(1.25rem, 2.5vw, 2rem); grid-template-columns: repeat(auto-fill, minmax(min(100%, 19rem), 1fr)); }
.item-card { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: .55rem; }
.item-card[hidden] { display: none; }
.item-card__frame { position: relative; width: 100%; aspect-ratio: 4 / 3.15; padding: 5%; }
.item-card__rim { position: absolute; inset: 0; background: url("../img/ebru/swirl-rust.webp") center / cover; -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat; mask: var(--rim-mask) center / 100% 100% no-repeat; }
.item-list > .item-card:nth-child(3n + 2) .item-card__rim { background-image: url("../img/ebru/swirl-navy.webp"); }
.item-list > .item-card:nth-child(3n) .item-card__rim { background-image: url("../img/ebru/swirl-saffron.webp"); }
.item-card__media.media { position: relative; width: 100%; height: 100%; border-radius: 0; background: transparent; -webkit-mask: url("../img/ebru/deckle-torn.png") center / 100% 100% no-repeat; mask: url("../img/ebru/deckle-torn.png") center / 100% 100% no-repeat; }
.item-card__media .media__img { transition: transform .5s cubic-bezier(.2, .7, .2, 1); }
.item-card:hover .item-card__media .media__img { transform: scale(1.04); }
.item-card__body { display: grid; justify-items: center; gap: .55rem; width: 100%; padding-inline: .5rem; }
.item-card__title { position: relative; z-index: 2; margin: -2.1rem 0 0; max-width: 92%; padding: .45rem 1.3rem .5rem; border: 1.5px solid var(--ebru-saffron); border-radius: 999px; background: #fbf3e4; box-shadow: 0 8px 18px -12px rgba(20, 33, 61, .7); font-size: clamp(1.15rem, 1rem + .4vw, 1.35rem); line-height: 1.2; color: var(--ebru-navy); text-wrap: balance; }
.item-card__title a { color: inherit; text-decoration: none; }
.item-card__title a:focus-visible { outline: none; }
.item-card:has(a:focus-visible) .item-card__frame { outline: 3px solid var(--ebru-rust); outline-offset: 4px; border-radius: 1rem; }
.item-card .ornament--small { width: 8.5rem; }
.item-card .ornament::after { box-shadow: 0 0 0 .35rem var(--ebru-paper); }
.item-card__facts { display: flex; flex-wrap: wrap; justify-content: center; gap: .3rem 1rem; margin: 0; padding: 0; list-style: none; font-family: var(--font-display); font-weight: 600; color: var(--ebru-navy); }
.item-card__facts li { display: inline-flex; align-items: center; gap: .35rem; }
.item-card__facts .icon { width: 1.15rem; height: 1.15rem; color: var(--ebru-navy); }
.item-card__summary { margin: 0; max-width: 34ch; color: color-mix(in oklab, var(--ebru-navy) 82%, var(--ebru-paper)); line-height: 1.55; }
.item-card__more { display: inline-flex; align-items: center; gap: .45rem; margin-top: .2rem; padding-bottom: .15rem; border-bottom: 2px solid var(--ebru-rust); font: 600 1.1rem/1.2 var(--font-display); color: var(--ebru-navy); }
.item-card__more .icon { width: 1.2rem; height: 1.2rem; color: var(--ebru-rust); transition: transform .25s; }
.item-card:hover .item-card__more .icon { transform: translateX(4px); }

/* Featured first card: photo left, copy right, across the whole row */
.item-card--featured { grid-column: 1 / -1; padding-bottom: clamp(1.5rem, 3vw, 2.25rem); border-bottom: 1px solid var(--ebru-line); }
.item-list > .item-card--featured .item-card__rim { background-image: url("../img/ebru/swirl-navy.webp"); }
@media (min-width: 760px) {
    .item-card--featured { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); align-items: center; gap: clamp(1.5rem, 4vw, 3.5rem); text-align: left; }
    .item-card--featured .item-card__body { justify-items: start; padding-inline: 0; }
    .item-card--featured .item-card__title { margin: 0; padding: 0; border: 0; background: none; box-shadow: none; font-size: clamp(1.8rem, 1.2rem + 1.6vw, 2.6rem); max-width: none; }
    .item-card--featured .ornament--small { width: min(100%, 16rem); }
    .item-card--featured .item-card__facts { justify-content: flex-start; }
    .item-card--featured .item-card__summary { max-width: 46ch; font-size: 1.08rem; }
}
.item-card--featured .item-card__facts li:has(.icon) + li { padding: .3rem .9rem; border: 1.5px solid var(--ebru-saffron); border-radius: 999px; background: #fbf3e4; }
.item-list.is-filtered .item-card--featured { grid-column: auto; display: flex; text-align: center; border: 0; padding-bottom: 0; }
.item-list.is-filtered .item-card--featured .item-card__body { justify-items: center; }
.item-list.is-filtered .item-card--featured .item-card__title { margin: -2.1rem 0 0; padding: .45rem 1.3rem .5rem; border: 1.5px solid var(--ebru-saffron); background: #fbf3e4; font-size: clamp(1.15rem, 1rem + .4vw, 1.35rem); }

@media (prefers-reduced-motion: reduce) {
    .item-card__media .media__img, .item-card__more .icon, .place-filter__chip { transition: none; }
}

/* ---------- Detail pages (activity, hotel, gallery) ---------- */
.page-head__place { display: inline-flex; align-items: center; gap: .5rem; margin: .2rem 0 0; font: 500 clamp(1.1rem, 1rem + .4vw, 1.35rem)/1.2 var(--font-display); color: #fbf3e4; }
.page-head__place .icon { width: 1.4rem; height: 1.4rem; }
.tour--item .page-head--band .page-head__title { max-width: 14ch; }

.fact-strip { background: var(--ebru-paper-2); border-bottom: 1px solid var(--ebru-line); }
.fact-strip__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr)); margin-block: 0; padding-block: 1rem; list-style: none; }
.fact-strip__list li { display: flex; align-items: center; gap: .85rem; padding: .35rem 1.25rem; font-family: var(--font-display); font-size: 1.05rem; color: var(--ebru-navy); }
.fact-strip__list li + li { border-left: 1px solid var(--ebru-line); }
.fact-strip__icon { display: grid; flex: none; place-items: center; width: 3rem; height: 3rem; border: 1.5px solid var(--ebru-navy); border-radius: 50%; }
.fact-strip__icon .icon { width: 1.5rem; height: 1.5rem; }
@media (max-width: 639.98px) { .fact-strip__list li + li { border-left: 0; border-top: 1px solid var(--ebru-line); } }

/* Editorial body: display-font lead, ornament rule, rust-ring headings, framed images, pull quote, ringed lists */
.editorial { display: grid; gap: 1.25rem; }
.editorial__lead p, .tour-block[aria-labelledby="overview-title"] .prose > p:first-child { margin: 0; font-family: var(--font-display); font-size: clamp(1.25rem, 1.05rem + .6vw, 1.55rem); line-height: 1.42; color: var(--ebru-navy); }
.editorial__rule { width: 100%; margin-block: .25rem; }
.prose h2, .prose h3, .tour-block__title, .tour--item .heading-2 { position: relative; padding-left: 1.65rem; }
.prose h2::before, .prose h3::before, .tour-block__title::before, .tour--item .heading-2::before { content: ""; position: absolute; left: 0; top: .5em; width: 1.05rem; height: 1.05rem; border-radius: 50%; transform: translateY(-50%); background: radial-gradient(circle, var(--ebru-rust) 0 32%, var(--ebru-paper) 34% 52%, var(--ebru-rust) 54%); }
.prose { font-size: 1.06rem; line-height: 1.75; color: color-mix(in oklab, var(--ebru-navy) 88%, var(--ebru-paper)); }
.prose img { padding: .45rem; border-radius: 1rem; background: url("../img/ebru/swirl-navy.webp") center / cover; box-shadow: 0 14px 26px -18px rgba(20, 33, 61, .8); }
.prose blockquote { margin: 1.75rem 0; padding: 1.1rem 1rem; border: 0; border-block: 2px solid var(--ebru-saffron); text-align: center; font: italic 500 clamp(1.2rem, 1rem + .6vw, 1.5rem)/1.45 var(--font-display); color: var(--ebru-navy); }
.prose ul:not([class]) { padding-left: 0; list-style: none; }
.prose ul:not([class]) > li { position: relative; padding-left: 1.75rem; }
.prose ul:not([class]) > li::before { content: ""; position: absolute; left: .1rem; top: .55em; width: .85rem; height: .85rem; border: 2.5px solid var(--ebru-rust); border-radius: 50%; background: var(--ebru-paper); }

.photo-pair { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); gap: 1.25rem; margin-top: .5rem; }
.photo-pair__item { position: relative; margin: 0; padding: 4.5%; aspect-ratio: 4 / 2.8; }
.photo-pair__rim { position: absolute; inset: 0; background: url("../img/ebru/swirl-navy.webp") center / cover; -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat; mask: var(--rim-mask) center / 100% 100% no-repeat; }
.photo-pair__item--1 .photo-pair__rim { background-image: url("../img/ebru/swirl-rust.webp"); }
.photo-pair__img { position: relative; width: 100%; height: 100%; object-fit: cover; -webkit-mask: url("../img/ebru/deckle-torn.png") center / 100% 100% no-repeat; mask: url("../img/ebru/deckle-torn.png") center / 100% 100% no-repeat; }

/* Information & booking card in a marbled rim */
.book-card.book-card--ebru { position: relative; isolation: isolate; gap: .95rem; padding: clamp(1.6rem, 2.5vw, 2.1rem); border: 0; background: none; box-shadow: none; text-align: left; }
.book-card--ebru::before { content: ""; position: absolute; inset: 0; z-index: -2; background: url("../img/ebru/swirl-navy.webp") center / cover; -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat; mask: var(--rim-mask) center / 100% 100% no-repeat; }
.book-card--ebru::after { content: ""; position: absolute; inset: .7rem; z-index: -1; border-radius: 1.1rem; background: #fbf5ea; box-shadow: inset 0 0 0 1px color-mix(in oklab, var(--ebru-saffron) 45%, transparent); }
.book-card__title { margin: 0; font-size: clamp(1.5rem, 1.2rem + .8vw, 1.9rem); line-height: 1.15; text-align: center; }
.book-card--ebru .ornament { width: 100%; }
.book-card--ebru .ornament::after { box-shadow: 0 0 0 .35rem #fbf5ea; }
.book-card__text { margin: 0; color: color-mix(in oklab, var(--ebru-navy) 85%, var(--ebru-paper)); line-height: 1.6; }
.book-card__cta { justify-content: space-between; min-height: 3.4rem; padding-inline: 1.5rem .5rem; background: var(--ebru-navy) url("../img/ebru/swirl-strip.webp") center / cover; border-color: var(--ebru-saffron); font-size: 1.2rem; }
.book-card__cta .icon { width: 2.3rem; height: 2.3rem; padding: .45rem; border-radius: 50%; background: var(--ebru-rust); color: #fff; }
.book-card--ebru .btn--whatsapp { background: #fbf5ea; color: #14532d; border: 2px solid #1f9d55; }
.book-card__note { display: flex; gap: .65rem; margin: .3rem 0 0; padding-top: .9rem; border-top: 1px solid var(--ebru-line); font-size: .95rem; color: color-mix(in oklab, var(--ebru-navy) 80%, var(--ebru-paper)); }
.book-card__note .icon { flex: none; width: 1.3rem; height: 1.3rem; color: var(--ebru-navy); }
.book-card--ebru::after { inset: .95rem .8rem; }
.book-card__cta { background: linear-gradient(rgba(14, 24, 46, .74), rgba(14, 24, 46, .74)), url("../img/ebru/swirl-strip.webp") center / cover; color: #fbf3e4; }

/* ---------- About ---------- */
@media (min-width: 860px) {
    .about-head .page-head--band .page-head__inner { grid-template-columns: minmax(0, 1.15fr) 1fr; }
    .about-head .page-head__print { order: -1; }
    .about-head .page-head__copy { justify-items: center; text-align: center; }
    .about-head .page-head__bath::after { background: linear-gradient(270deg, rgba(14, 24, 46, .94) 0%, rgba(14, 24, 46, .8) 40%, rgba(14, 24, 46, .2) 75%); }
}
.about-head .page-head__lead { font-family: var(--font-display); font-style: italic; font-size: clamp(1.15rem, 1rem + .5vw, 1.4rem); }
.about-story__grid { display: grid; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; }
@media (min-width: 900px) { .about-story__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); } }
.about-story__title { margin: 0 0 1rem; }
.about-story__body { display: grid; gap: 1rem; }
.about-story__body p + p { font-family: var(--font-text); font-size: 1.05rem; line-height: 1.7; color: color-mix(in oklab, var(--ebru-navy) 85%, var(--ebru-paper)); }
.about-story__print { position: relative; margin: 0; padding: 4.5%; aspect-ratio: 4 / 3; }

.stat-strip { position: relative; isolation: isolate; overflow: hidden; background: var(--ebru-navy); color: #fbf3e4; }
.stat-strip::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(rgba(14, 24, 46, .72), rgba(14, 24, 46, .72)), url("../img/ebru/swirl-strip.webp") center / cover; }
.stat-strip__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); margin-block: 0; padding-block: clamp(1.25rem, 3vw, 1.9rem); list-style: none; text-align: center; }
.stat-strip__list li { position: relative; display: grid; gap: .1rem; padding: .4rem 1rem; }
.stat-strip__list li + li::before { content: ""; position: absolute; left: 0; top: 50%; width: .75rem; height: .75rem; border-radius: 50%; transform: translate(-50%, -50%); background: radial-gradient(circle, var(--ebru-rust) 0 32%, #fbf3e4 34% 52%, var(--ebru-rust) 54%); }
.stat-strip strong { font: 500 clamp(1.6rem, 1.1rem + 1.6vw, 2.4rem)/1.05 var(--font-display); letter-spacing: .01em; }
.stat-strip span { font-family: var(--font-display); font-size: 1.1rem; color: color-mix(in oklab, #fbf3e4 85%, transparent); }

.why__heading { display: flex; align-items: center; justify-content: center; gap: 1rem; margin: 0 0 clamp(1.25rem, 3vw, 2rem); text-align: center; font-size: clamp(1.8rem, 1.3rem + 1.5vw, 2.5rem); }
.why__heading::before, .why__heading::after { content: ""; width: clamp(2.5rem, 7vw, 5rem); height: 1.1rem; background: radial-gradient(circle at 50% 50%, var(--ebru-rust) 0 .18rem, transparent .19rem), radial-gradient(circle at 50% 50%, transparent 0 .3rem, var(--ebru-rust) .31rem .42rem, transparent .43rem), linear-gradient(var(--ebru-navy), var(--ebru-navy)) center / 100% 1px no-repeat; }
.why__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); gap: 1.25rem; margin: 0; padding: 0; list-style: none; }
.why__item { display: grid; justify-items: center; gap: .6rem; padding: 1.6rem 1.25rem 1.5rem; border: 1.5px solid color-mix(in oklab, var(--ebru-saffron) 70%, transparent); border-radius: 1.1rem; background: #fbf5ea; text-align: center; }
.why__icon { display: grid; place-items: center; width: 4.2rem; height: 4.2rem; border: 1.5px solid var(--ebru-navy); border-radius: 50%; color: var(--ebru-navy); }
.why__icon .icon { width: 2rem; height: 2rem; }
.why__name { margin: 0; font-size: 1.35rem; line-height: 1.2; }
.why__item p { margin: 0; color: color-mix(in oklab, var(--ebru-navy) 80%, var(--ebru-paper)); line-height: 1.55; }

.about-more { display: grid; gap: 1.5rem 3rem; }
@media (min-width: 900px) { .about-more { grid-template-columns: repeat(2, minmax(0, 1fr)); } .about-more__part:last-child:nth-child(odd) { grid-column: 1 / -1; } }
.about-more__part > :first-child { margin-top: 0; }

.offices__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 24rem), 1fr)); gap: 1.25rem; }
.office-card { display: grid; grid-template-columns: minmax(7rem, 40%) 1fr; align-items: center; gap: 1.25rem; padding: 1rem; border: 1.5px solid color-mix(in oklab, var(--ebru-saffron) 70%, transparent); border-radius: 1.1rem; background: #fbf5ea; }
.office-card__thumb { position: relative; padding: 5%; aspect-ratio: 4 / 3; }
.office-card__body { display: grid; gap: .5rem; padding-left: 1.1rem; border-left: 1px solid var(--ebru-line); }
.office-card__name { margin: 0; font-size: clamp(1.35rem, 1.1rem + .6vw, 1.7rem); line-height: 1.15; }
.office-card__line { display: flex; gap: .5rem; margin: 0; color: var(--ebru-navy); line-height: 1.45; }
.office-card__line .icon { flex: none; width: 1.2rem; height: 1.2rem; margin-top: .15rem; color: var(--ebru-rust); }
.office-card__line a { color: inherit; }
.offices__cta { margin-top: 1.5rem; text-align: center; }
.offices__cta .btn .icon { width: 1.1rem; height: 1.1rem; margin-left: .4rem; }
@media (max-width: 479.98px) { .office-card { grid-template-columns: 1fr; } .office-card__body { padding-left: 0; border-left: 0; } }

/* ---------- Contact ---------- */
.contact-page { padding-top: clamp(1rem, 2.5vw, 1.6rem); }
.contact-page .crumbs { margin-bottom: 1.1rem; }
.contact-grid { display: grid; gap: clamp(1.25rem, 3vw, 2rem); align-items: start; }
@media (min-width: 960px) { .contact-grid { grid-template-columns: minmax(0, .82fr) minmax(0, 1fr); } }

.contact-panel { position: relative; isolation: isolate; padding: clamp(1.1rem, 2vw, 1.4rem); color: #fbf3e4; }
.contact-panel__bath { position: absolute; inset: 0; z-index: -2; background: url("../img/ebru/swirl-rust.webp") center / cover; -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat; mask: var(--rim-mask) center / 100% 100% no-repeat; }
.contact-panel__inner { position: relative; display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.25rem); border-radius: 1.4rem; background: linear-gradient(160deg, rgba(14, 24, 46, .93), rgba(14, 24, 46, .82)), url("../img/ebru/ebru-bath.webp") 70% 40% / cover; box-shadow: 0 20px 40px -24px rgba(14, 24, 46, .9); }
.contact-panel__title { margin: 0; color: #fbf3e4; font-size: clamp(2.3rem, 1.6rem + 2.2vw, 3.4rem); line-height: 1.05; }
.contact-panel__lead { margin: 0; font: italic 500 clamp(1.1rem, 1rem + .4vw, 1.3rem)/1.45 var(--font-display); color: color-mix(in oklab, #fbf3e4 90%, transparent); }
.contact-panel__list { display: grid; gap: .8rem; margin: 0; padding: .9rem 0 0; border-top: 1px solid color-mix(in oklab, #fbf3e4 25%, transparent); list-style: none; }
.contact-panel__list li { display: flex; align-items: center; gap: .9rem; }
.contact-panel__list--offices li { align-items: flex-start; line-height: 1.45; color: color-mix(in oklab, #fbf3e4 85%, transparent); }
.contact-panel__list strong { display: block; font: 500 1.2rem/1.25 var(--font-display); color: #fbf3e4; }
.contact-panel__list a { color: #fbf3e4; }
.contact-panel__icon { display: grid; flex: none; place-items: center; width: 2.75rem; height: 2.75rem; border-radius: 50%; background: #fbf3e4; color: var(--ebru-navy); }
.contact-panel__icon .icon { width: 1.35rem; height: 1.35rem; }
.contact-panel__big { font: 500 clamp(1.2rem, 1rem + .6vw, 1.5rem)/1.2 var(--font-display); text-decoration: none; }
.contact-panel__big:hover { text-decoration: underline; }
.contact-panel__licence { display: flex; align-items: center; gap: 1rem; margin: .3rem 0 0; padding-top: .9rem; border-top: 1px solid color-mix(in oklab, #fbf3e4 25%, transparent); }
.contact-panel__licence::before, .contact-panel__licence::after { content: ""; flex: 1; border-top: 1px solid color-mix(in oklab, #fbf3e4 45%, transparent); }
.contact-panel__licence span { padding: .4rem 1.3rem; border: 1.5px solid #fbf3e4; border-radius: 999px; font: 500 1.05rem/1.2 var(--font-display); letter-spacing: .04em; }

.contact-card { display: grid; gap: 1rem; padding: clamp(1.5rem, 3vw, 2.4rem); border: 2px solid var(--ebru-saffron); border-radius: 1.4rem; background: #fbf5ea; box-shadow: 0 24px 40px -30px rgba(20, 33, 61, .55); }
.contact-card__title { margin: 0; text-align: center; font-size: clamp(2rem, 1.5rem + 1.6vw, 2.8rem); }
.contact-card .ornament { width: min(100%, 16rem); margin-inline: auto; }
.contact-card .ornament::after { box-shadow: 0 0 0 .35rem #fbf5ea; }
.contact-card :is(input:not([type="checkbox"]):not([type="radio"]), select, textarea) { border: 1.5px solid color-mix(in oklab, var(--ebru-navy) 35%, transparent); border-radius: .65rem; background: #fffdf8; }
.contact-card :is(input, select, textarea):focus-visible { border-color: var(--ebru-navy); outline: 2px solid color-mix(in oklab, var(--ebru-saffron) 70%, transparent); outline-offset: 1px; }
.contact-card label { font-weight: 600; color: var(--ebru-navy); }
.contact-card :is(button[type="submit"], .btn--primary) { width: 100%; min-height: 3.4rem; border: 2px solid var(--ebru-saffron); border-radius: 999px; background: linear-gradient(rgba(14, 24, 46, .74), rgba(14, 24, 46, .74)), url("../img/ebru/swirl-strip.webp") center / cover; color: #fbf3e4; font: 500 1.3rem/1 var(--font-display); }
.contact-card__note { padding-top: .8rem; border-top: 1px solid var(--ebru-line); }

.map-frame { position: relative; padding: clamp(.8rem, 1.6vw, 1.2rem); }
.map-frame__rim { position: absolute; inset: 0; background: url("../img/ebru/swirl-rust.webp") center / cover; -webkit-mask: var(--rim-mask) center / 100% 100% no-repeat; mask: var(--rim-mask) center / 100% 100% no-repeat; }
.map-frame__map.map-embed { position: relative; overflow: hidden; border-radius: 1.2rem; }
.map-frame__map iframe { display: block; width: 100%; height: clamp(18rem, 38vw, 26rem); border: 0; }
.contact-card #contact-form form { padding: 0; border: 0; background: none; box-shadow: none; }
.contact-card #contact-form .btn-primary { display: flex; width: 100%; justify-content: center; }
.contact-panel { padding: clamp(1.2rem, 2.2vw, 1.7rem); }
.contact-panel__bath, .map-frame__rim { inset: -.35rem; }
.map-frame { padding: clamp(1.1rem, 2vw, 1.6rem); }
.contact-page + .block--tight { padding-top: 0; }
/* The rim PNG leaves the right edge bare on tall boxes: a rounded marbled frame reads evenly on all sides. */
.contact-panel__bath, .map-frame__rim { inset: 0; border-radius: 1.9rem; -webkit-mask: none; mask: none; box-shadow: inset 0 0 0 2px rgba(251, 243, 228, .35); }
.map-frame__rim { border-radius: 2rem; }

/* ---------- Gallery album (mti_gallery_grid) ----------
 * A 12-column mosaic in a repeating rhythm of seven tiles: a large print with a marbled rim, tall prints, small
 * prints in cream mats. Prints sit a degree off true like a laid-out album and straighten on hover. */
.gallery--album { display: grid; gap: clamp(.9rem, .6rem + 1vw, 1.6rem); grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: clamp(8.5rem, 26vw, 12rem); grid-auto-flow: dense; padding: .5rem .25rem 1rem; list-style: none; }
.gallery--album .gallery__item { min-width: 0; }
.gallery--album .gallery__item--feature, .gallery--album .gallery__item--wide { grid-column: span 2; grid-row: span 2; }
.gallery--album .gallery__item--tall { grid-row: span 2; }
.gallery--album .gallery__print { position: relative; display: flex; flex-direction: column; gap: .45rem; height: 100%; margin: 0; padding: .5rem; border-radius: .35rem; background: #fbf5ea; box-shadow: 0 1px 0 rgba(23, 33, 60, .05), 0 10px 24px -14px rgba(23, 33, 60, .45); transition: transform .35s cubic-bezier(.2, .7, .2, 1), box-shadow .35s; }
.gallery--album .gallery__item:nth-child(4n + 1) .gallery__print { transform: rotate(-.8deg); }
.gallery--album .gallery__item:nth-child(4n + 2) .gallery__print { transform: rotate(.6deg); }
.gallery--album .gallery__item:nth-child(4n + 3) .gallery__print { transform: rotate(-.35deg); }
.gallery--album .gallery__item:nth-child(4n + 4) .gallery__print { transform: rotate(.9deg); }
.gallery--album .gallery__item--rim .gallery__print { padding: .7rem; border: 0; background: url("../img/ebru/rim-rust.webp") center / cover; box-shadow: 0 16px 34px -18px rgba(23, 33, 60, .6); }
.gallery--album .gallery__item--navy .gallery__print { background-image: url("../img/ebru/rim-navy.webp"); }
.gallery--album .gallery__item--saffron .gallery__print { background-image: url("../img/ebru/rim-saffron.webp"); }
.gallery--album .gallery__link, .gallery--album .gallery__art { flex: 1 1 auto; min-height: 0; aspect-ratio: auto; border-radius: .2rem; background: var(--ebru-line, #e6dccb); }
.gallery--album .gallery__img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.gallery--album figcaption { flex: none; padding: 0 .2rem; font-family: var(--font-display); font-style: italic; font-size: .9rem; line-height: 1.3; color: var(--ebru-navy); }
.gallery--album .gallery__item--rim figcaption { align-self: flex-start; padding: .15rem .55rem; border-radius: .25rem; background: #fbf5ea; }
.gallery--album figcaption span { font-style: normal; color: var(--ebru-rust); }
.gallery--album .gallery__link:focus-visible { outline: 3px solid var(--ebru-rust); outline-offset: 3px; }
@media (hover: hover) {
    .gallery--album .gallery__item:hover .gallery__print { transform: rotate(0) translateY(-4px); box-shadow: 0 22px 40px -20px rgba(23, 33, 60, .6); }
    .gallery--album .gallery__item:hover .gallery__img { transform: scale(1.035); }
}
@media (min-width: 760px) {
    .gallery--album { grid-template-columns: repeat(12, minmax(0, 1fr)); grid-auto-rows: clamp(9rem, 12.5vw, 12.5rem); }
    .gallery--album .gallery__item { grid-column: span 4; }
    .gallery--album .gallery__item--feature { grid-column: span 8; grid-row: span 3; }
    .gallery--album .gallery__item--tall { grid-column: span 4; grid-row: span 2; }
    .gallery--album .gallery__item--wide { grid-column: span 8; grid-row: span 2; }
}
@media (prefers-reduced-motion: reduce) {
    .gallery--album .gallery__print, .gallery--album .gallery__img { transition: none; }
    .gallery--album .gallery__item .gallery__print, .gallery--album .gallery__item:hover .gallery__print { transform: none; }
}
