
.tpl-atelier {
  --fb: var(--pair-sans), Arial, sans-serif;
  --gutter: clamp(16px, 3.4vw, 52px);
  --max: 1440px;
  font-weight: 300;
  font-size: 17px;
  line-height: 1.6;
}
.tpl-atelier :is(.at-wrap, .sec, .ph, .wh, .gallery) {
  width: 100%;
  max-width: var(--max);
  margin-inline: auto;
  padding-inline: max(var(--gutter), env(safe-area-inset-left, 0px)) max(var(--gutter), env(safe-area-inset-right, 0px));
}
.tpl-atelier :is(.at-caps, .kicker, .card-place, .places-name, .details-caption, .wh-meta) {
  font: 400 11.5px/1.3 var(--fb);
  letter-spacing: .24em;
  text-transform: uppercase;
}
.tpl-atelier :is(.ph-title, .sh-title, .founder-name, .cta-title, .wh-title, .at-section-head h2) {
  font: 400 calc(clamp(48px, 7vw, 112px) * var(--hs))/.9 var(--fd);
  letter-spacing: .03em;
  text-transform: uppercase;
  overflow-wrap: break-word;
  hyphens: manual;
}
.tpl-atelier :is(.at-couple, .at-caption, .at-slide figcaption, .intro-quote, .quote p, .founder-quote, .story) {
  font-family: var(--pair-serif), Georgia, serif;
  font-weight: 400;
  font-style: italic;
}
.site.tpl-atelier:lang(ar) { --fb: var(--font-estedad), 'Geeza Pro', Tahoma, sans-serif; }
.tpl-atelier:lang(ar) :is(.at-couple, .at-caption, .at-slide figcaption, .intro-quote, .quote p, .founder-quote, .story, .pkg-name, .at-amp) { font-style: normal; }
.tpl-atelier .btn { border-radius: var(--btn-radius); }
.tpl-atelier .sh-n { display: none; }
.tpl-atelier .sh { border: 0; align-items: end; padding-bottom: 0; }
.tpl-atelier .sec { padding-block: clamp(56px, 8vw, 120px) 0; }
.tpl-atelier .at-header { position: relative; z-index: 5; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 22px; }
.tpl-atelier .at-mark { min-width: 0; font: 400 19px/1.2 var(--fd); letter-spacing: .32em; text-transform: uppercase; text-decoration: none; overflow-wrap: break-word; hyphens: manual; }
.tpl-atelier .at-nav { display: flex; flex-wrap: nowrap; justify-content: end; gap: clamp(16px, 2vw, 32px); margin-inline-start: auto; }
.tpl-atelier .at-nav a { white-space: nowrap; color: var(--muted); text-decoration: none; }
.tpl-atelier .at-nav a:is(:hover, [aria-current]) { color: var(--ink); }
.tpl-atelier .at-header-end { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.tpl-atelier .at-header-end > a { text-decoration: none; }
.tpl-atelier .at-header-end > .lang { padding: 0; border: 0; font: 400 11.5px/1.3 var(--fb); letter-spacing: .24em; text-transform: uppercase; }
.tpl-atelier .at-header[data-compact="true"] .at-header-end > .lang { display: none; }
.tpl-atelier .at-header[data-compact="true"] .at-nav { display: none; }
.tpl-atelier .at-header[data-compact="true"] .hd-menu { display: block; }
.tpl-atelier .at-header .at-mark { overflow: hidden; }
.tpl-atelier .at-hero { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(20px, 3vw, 48px); padding-bottom: clamp(40px, 6vw, 96px); }
.tpl-atelier .at-hero-text { display: flex; flex-direction: column; justify-content: space-between; gap: 40px; padding-top: clamp(8px, 4vw, 64px); min-width: 0; }
.tpl-atelier .at-hero h1 { font: 400 calc(clamp(64px, 10.4vw, 168px) * var(--hs))/.86 var(--fd); letter-spacing: .02em; text-transform: uppercase; overflow-wrap: normal; word-break: normal; hyphens: none; }
.tpl-atelier .at-hero h1[data-long] { font-size: calc(clamp(44px, 6.4vw, 104px) * var(--hs)); }
.tpl-atelier .at-hero h1 > span { display: block; }
.tpl-atelier .at-hero h1 [data-name-word] { display: inline-block; white-space: nowrap; }
.tpl-atelier .at-hero-foot { display: grid; gap: 22px; max-width: 34ch; }
.tpl-atelier .at-hero-foot p { font-size: clamp(17px, 1.35vw, 19px); line-height: 1.5; }
.tpl-atelier .at-links { display: flex; flex-wrap: wrap; gap: 28px; }
.tpl-atelier .at-links a { text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 4px; }
.tpl-atelier .at-show { position: relative; min-width: 0; }
.tpl-atelier .at-frame { position: relative; aspect-ratio: 4 / 5; max-height: calc(100dvh - 175px); width: 100%; overflow: hidden; background: var(--panel); }
.tpl-atelier .at-show:has(.slideshow) { padding-bottom: 46px; }
.tpl-atelier .at-show .slideshow { position: relative; width: 100%; aspect-ratio: 4 / 5; max-height: calc(100dvh - 175px); }
.tpl-atelier .at-show .slides { overflow: visible; }
.tpl-atelier .at-slide .at-frame { height: 100%; max-height: none; }
.tpl-atelier .at-slide { height: 100%; }
.tpl-atelier :is(.at-caption, .at-slide figcaption) { padding-top: 12px; font-size: 19px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tpl-atelier .at-slide figcaption { padding-inline-end: 125px; }
.tpl-atelier .at-show .slide:not([data-state='on']) figcaption { visibility: hidden; }
.tpl-atelier .slides-controls { position: absolute; inset-inline-end: 0; top: 100%; display: flex; justify-content: space-between; width: 116px; z-index: 2; }
.tpl-atelier .slides-controls button { background: var(--bg); color: var(--ink); border: 0; width: 32px; min-height: 44px; font: 300 26px/1 var(--fb); cursor: pointer; }
.tpl-atelier .slides-count { position: absolute; top: calc(100% + 15px); inset-inline-end: 33px; font: 400 11px/1.3 var(--fb); color: var(--muted); font-variant-numeric: tabular-nums; }
.tpl-atelier .at-selected { padding-block: clamp(56px, 8vw, 120px); }
.tpl-atelier .at-row { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: clamp(12px, 1.8vw, 26px); align-items: end; margin-bottom: clamp(40px, 7vw, 110px); }
.tpl-atelier .at-row figure { display: grid; gap: 10px; min-width: 0; }
.tpl-atelier .at-row figure > a { display: block; overflow: hidden; cursor: zoom-in; }
.tpl-atelier .at-row picture { display: block; }
.tpl-atelier .at-row img { display: block; width: 100%; height: auto; transition: transform .9s cubic-bezier(.2, .7, .2, 1); }
.tpl-atelier .at-row a:hover img { transform: scale(1.02); }
.tpl-atelier .at-row figcaption { display: flex; flex-wrap: wrap; align-items: baseline; gap: 10px; }
.tpl-atelier .at-row .at-couple { font-size: 18px; }
.tpl-atelier .at-row .at-caps { font-size: 10.5px; color: var(--muted); }
.tpl-atelier .at-row[data-kind='two'] > :nth-child(1) { grid-column: 1 / span 7; }
.tpl-atelier .at-row[data-kind='two'] > :nth-child(2) { grid-column: 9 / span 4; margin-bottom: clamp(40px, 9vw, 150px); }
.tpl-atelier .at-row[data-kind='flip'] > :nth-child(1) { grid-column: 1 / span 4; margin-bottom: clamp(40px, 9vw, 150px); }
.tpl-atelier .at-row[data-kind='flip'] > :nth-child(2) { grid-column: 6 / span 7; }
.tpl-atelier .at-row[data-kind='wide'] > figure { grid-column: 1 / -1; }
.tpl-atelier .at-row[data-kind='three'] > :nth-child(1) { grid-column: 1 / span 4; }
.tpl-atelier .at-row[data-kind='three'] > :nth-child(2) { grid-column: 5 / span 4; margin-bottom: clamp(30px, 6vw, 100px); }
.tpl-atelier .at-row[data-kind='three'] > :nth-child(3) { grid-column: 9 / span 4; }
.tpl-atelier .at-row[data-kind='one'] > figure { grid-column: 4 / span 6; }
.tpl-atelier .at-section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 20px; border-top: 1px solid var(--rule); padding-block: clamp(40px, 6vw, 90px) clamp(28px, 4vw, 56px); }
.tpl-atelier .at-section-end { display: grid; gap: 14px; justify-items: start; max-width: 40ch; }
.tpl-atelier .at-section-end p { color: var(--muted); }
.tpl-atelier .at-weddings { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(44px, 6vw, 96px) clamp(20px, 3.4vw, 56px); }
.tpl-atelier .at-weddings li:nth-child(even) { margin-top: clamp(0px, 10vw, 170px); }
.tpl-atelier .at-card { display: grid; gap: 16px; width: 100%; text-decoration: none; }
.tpl-atelier .at-card-photo { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; background: var(--panel); }
.tpl-atelier .at-card-alt { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.tpl-atelier .at-card:is(:hover, :focus-visible) .at-card-alt { opacity: 1; }
.tpl-atelier .at-card-meta { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: baseline; gap: 16px; }
.tpl-atelier .at-card-meta .at-couple { font-size: clamp(28px, 2.6vw, 40px); line-height: 1.05; }
.tpl-atelier .at-card-meta .at-caps { color: var(--muted); }
.tpl-atelier .at-index { padding-block: clamp(40px, 6vw, 90px); }
.tpl-atelier .places-list { gap: clamp(16px, 3vw, 40px); }
.tpl-atelier .details { background: var(--panel); max-width: none; padding-block: clamp(64px, 9vw, 140px) clamp(90px, 11vw, 170px); margin-top: var(--space); }
.tpl-atelier .details > * { max-width: calc(var(--max) - 2 * var(--gutter)); margin-inline: auto; }
.tpl-atelier .details .sh { margin-bottom: clamp(28px, 4vw, 56px); }
.tpl-atelier .details-rail { display: grid; grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(8px, 1.2vw, 16px); overflow: visible; padding: 0; }
.tpl-atelier .details-rail li { width: auto; min-width: 0; }
.tpl-atelier .details-rail li:nth-child(even) { translate: 0 clamp(0px, 3vw, 44px); }
.tpl-atelier .details-img { aspect-ratio: 4 / 5; }
.tpl-atelier :is(.meet, .founder) { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(28px, 6vw, 110px); align-items: center; padding-block: clamp(70px, 10vw, 150px); }
.tpl-atelier :is(.meet, .founder):not(:has(.meet-img, .founder-img)) { grid-template-columns: minmax(0, 1fr); }
.tpl-atelier :is(.meet-img img, .founder-img img) { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.tpl-atelier :is(.meet-text, .founder-text) { max-width: 52ch; gap: 22px; }
.tpl-atelier .meet .sh-title { font-size: calc(clamp(44px, 5.6vw, 88px) * var(--hs)); }
.tpl-atelier .intro { border-block: 1px solid var(--rule); padding-block: 32px; }
.tpl-atelier .cta { border-top: 1px solid var(--rule); padding-block: clamp(70px, 10vw, 150px); margin-top: var(--space); }
.tpl-atelier .booking :is(input:not([type='checkbox'], [type='radio']), select, textarea) { background: transparent; border: 0; border-bottom: 1px solid var(--muted); padding-inline: 0; }
.tpl-atelier .contact-details .sh-title { font: 400 11.5px/1.3 var(--fb); letter-spacing: .24em; text-transform: uppercase; }
.tpl-atelier .booking :is(.f-field > label, legend) { font: 400 11.5px/1.3 var(--fb); letter-spacing: .24em; text-transform: uppercase; }
.tpl-atelier .book-body { padding-bottom: var(--space); }
.tpl-atelier .book-body .booking-sec { padding: 0; }
.tpl-atelier .pkg { border-inline: 0; padding-inline: 0; }
.tpl-atelier .pkg-name { font-family: var(--pair-serif), Georgia, serif; font-style: italic; font-size: 32px; }
.tpl-atelier .services .sh-title { font-size: calc(clamp(36px, 5vw, 70px) * var(--hs)); }
.tpl-atelier .wh { text-align: center; }
.tpl-atelier .wh-title { font-size: calc(clamp(48px, 8.4vw, 136px) * var(--hs)); }
.tpl-atelier .story { text-align: center; }
.tpl-atelier .at-gallery { padding-top: var(--space); }
.tpl-atelier .lb { background: color-mix(in srgb, var(--bg) 97%, transparent); color: var(--ink); }
.tpl-atelier :is(.lb-btn, .lb-count) { color: var(--ink); }
.tpl-atelier .lb-btn { background: var(--bg); }
.tpl-atelier .lb-btn:focus-visible { outline-color: var(--ink); }
.tpl-atelier .at-footer { padding-block: 28px calc(20px + env(safe-area-inset-bottom, 0px)); border-top: 1px solid var(--rule); margin-top: var(--space); }
.tpl-atelier .at-footer-name { font: 400 clamp(48px, 14.3vw, 206px)/.85 var(--fd); letter-spacing: .04em; text-transform: uppercase; overflow-wrap: break-word; hyphens: manual; }
.tpl-atelier .at-footer-row { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 14px 24px; color: var(--muted); margin-top: 28px; overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .tpl-atelier .at-nav { display: none; }
  .tpl-atelier .hd-menu { display: block; }
}
@media (max-width: 820px) {
  .tpl-atelier .at-hero { grid-template-columns: minmax(0, 1fr); }
  .tpl-atelier .at-hero-text { padding-top: 4px; gap: 22px; }
  .tpl-atelier :is(.at-frame, .at-show .slideshow) { max-height: none; }
}
@media (max-width: 760px) {
  .tpl-atelier :is(.meet, .founder, .intro) { grid-template-columns: minmax(0, 1fr); }
  .tpl-atelier :is(.meet-img, .founder-img) { max-width: 340px; }
}
@media (max-width: 700px) {
  .tpl-atelier .at-weddings { grid-template-columns: minmax(0, 1fr); }
  .tpl-atelier .at-weddings li:nth-child(even) { margin-top: 0; }
  .tpl-atelier .at-row { grid-template-columns: repeat(6, minmax(0, 1fr)); }
  .tpl-atelier .at-row[data-kind='two'] > :nth-child(1),
  .tpl-atelier .at-row[data-kind='flip'] > :nth-child(2) { grid-column: 1 / -1; margin-bottom: 0; }
  .tpl-atelier .at-row[data-kind='two'] > :nth-child(2),
  .tpl-atelier .at-row[data-kind='flip'] > :nth-child(1) { grid-column: 3 / -1; margin-bottom: 0; }
  .tpl-atelier .at-row[data-kind='flip'] > :nth-child(1) { order: 2; }
  .tpl-atelier .at-row[data-kind='three'] > :nth-child(1) { grid-column: 1 / span 3; }
  .tpl-atelier .at-row[data-kind='three'] > :nth-child(2) { grid-column: 4 / span 3; margin-bottom: 0; }
  .tpl-atelier .at-row[data-kind='three'] > :nth-child(3) { grid-column: 2 / span 4; }
  .tpl-atelier .at-row[data-kind='one'] > figure { grid-column: 1 / -1; }
  .tpl-atelier .details-rail { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 420px) {
  .tpl-atelier .at-mark { font-size: 15px; letter-spacing: .22em; }
  .tpl-atelier .at-header { gap: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  .tpl-atelier :is(.at-row img, .at-card-alt) { transition: none; }
  .tpl-atelier .at-row a:hover img { transform: none; }
}
.tpl-atelier .at-amp { font-family: var(--pair-serif), Georgia, serif; font-style: italic; }
