/* Yawa House: the closing invitation, the footer and Rekaz's attribution */

/* closing invitation: a plum portal on the paper ground, then three quick ways to reach Yawa */
.cta { padding-bottom: clamp(64px, 8vw, 110px); }
.cta__card {
  position: relative; overflow: hidden; isolation: isolate;
  display: grid; grid-template-columns: 1.25fr 0.75fr; align-items: center; gap: clamp(24px, 4vw, 64px);
  padding: clamp(32px, 5vw, 72px); border-radius: 44px; color: var(--on-dark);
  background:
    radial-gradient(520px 380px at 85% 10%, rgba(106, 63, 85, 0.85), transparent 70%),
    radial-gradient(420px 300px at 0% 100%, rgba(201, 162, 126, 0.18), transparent 70%),
    var(--plum);
  box-shadow: 0 40px 80px -40px rgba(35, 17, 34, 0.55);
  clip-path: inset(0 round 44px);
  transition: clip-path 1100ms var(--ease-in-out);
}
.js .cta__card:not([data-visible]) { clip-path: inset(10% 6% round 44px); }
.cta__card::before { content: ""; position: absolute; inset: auto -8% -45% auto; width: 520px; aspect-ratio: 1 / 1.25; border: 1px solid rgba(230, 200, 173, 0.14); border-radius: 999px 999px 0 0; z-index: -1; }
[dir="rtl"] .cta__card::before { inset: auto auto -45% -8%; }
.cta .h2 { font-size: clamp(2.4rem, 1.5rem + 3.6vw, 4.6rem); margin-bottom: 0.25em; }
.cta .lead { color: var(--on-dark-soft); }
.cta__copy > * { transition: opacity 800ms var(--ease-out), transform 800ms var(--ease-out); }
.cta__copy > :nth-child(2) { transition-delay: 120ms; } .cta__copy > :nth-child(3) { transition-delay: 220ms; }
.js .cta__card:not([data-visible]) .cta__copy > * { opacity: 0; transform: translateY(18px); }
.cta__art { position: relative; justify-self: center; width: min(100%, 300px); aspect-ratio: 0.82; }
.cta__arch { position: absolute; inset: 0; border-radius: 999px 999px 26px 26px; overflow: hidden; box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7); transition: clip-path 1200ms var(--ease-in-out) 200ms; clip-path: inset(0 round 999px 999px 26px 26px); }
.js .cta__card:not([data-visible]) .cta__arch { clip-path: inset(100% 0 0 0 round 999px 999px 26px 26px); }
.cta__arch img { width: 100%; height: 100%; object-fit: cover; }
.cta__spine { position: absolute; height: 92%; width: auto; top: 4%; inset-inline-start: -22%; opacity: 0.8; transition: clip-path 1600ms var(--ease-out) 600ms; clip-path: inset(0 0 0 0); }
.js .cta__card:not([data-visible]) .cta__spine { clip-path: inset(0 0 100% 0); }
.cta__tiles { list-style: none; margin: 18px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.tile { display: flex; align-items: center; gap: 14px; height: 100%; box-sizing: border-box; padding: 14px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); transition: transform 300ms var(--ease-out), box-shadow 300ms var(--ease-out), border-color 220ms ease; }
.tile:active { transform: scale(0.98); }
.tile__ico { display: grid; place-items: center; width: 50px; height: 50px; flex: none; border-radius: 50%; background: var(--plum); color: var(--gold); transition: background-color 250ms ease, color 250ms ease; }
.tile__txt { display: grid; flex: 1; line-height: 1.4; min-width: 0; }
.tile__txt b { color: var(--plum); }
.tile__txt small { color: var(--ink-soft); font-size: 0.85rem; }
.tile__go { display: grid; place-items: center; width: 38px; height: 38px; flex: none; border-radius: 50%; background: var(--cream); color: var(--plum); transition: transform 300ms var(--ease-out), background-color 250ms ease; }
@media (hover: hover) and (pointer: fine) {
  .tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: var(--gold); }
  .tile:hover .tile__ico { background: var(--gold); color: var(--plum); }
  .tile:hover .tile__go { background: var(--gold); transform: rotate(calc(var(--dir) * -45deg)); }
}
@media (max-width: 900px) {
  .cta__card { grid-template-columns: 1fr; text-align: center; border-radius: 36px; }
  .cta__card .row-actions { justify-content: center; }
  .cta__art { order: -1; width: 190px; }
  .cta__tiles { grid-template-columns: 1fr; }
}
@media (max-width: 480px) { .cta__card .row-actions .btn { width: 100%; } }

/* footer */
.site-footer { position: relative; overflow: hidden; background: var(--plum); color: var(--on-dark-soft); border-radius: 44px 44px 0 0; padding-top: clamp(56px, 7vw, 88px);
  background-image: radial-gradient(700px 420px at 100% 0%, rgba(106, 63, 85, 0.55), transparent 70%); }
.site-footer__top { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: clamp(28px, 4vw, 56px); padding-bottom: 40px; border-bottom: 1px solid rgba(230, 200, 173, 0.14); }
.site-footer__brand img { height: 62px; width: auto; margin-bottom: 16px; }
.site-footer__brand p { max-width: 32ch; margin: 0 0 22px; }
.site-footer__col { display: grid; align-content: start; gap: 12px; }
.site-footer__col h2 { margin: 0 0 4px; color: var(--beige); font-size: 0.95rem; font-weight: 800; }
.site-footer__col a { width: fit-content; position: relative; transition: color 200ms ease; }
.site-footer__col a::after { content: ""; position: absolute; inset-inline: 0; bottom: -2px; height: 1px; background: var(--gold); transform: scaleX(0); transform-origin: var(--o, right); transition: transform 300ms var(--ease-out); }
[dir="ltr"] .site-footer__col a::after { --o: left; }
@media (hover: hover) and (pointer: fine) { .site-footer__col a:hover { color: var(--on-dark); } .site-footer__col a:hover::after { transform: scaleX(1); } }
.site-footer__hours { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 8px 14px; width: fit-content; border-radius: 999px; background: rgba(230, 200, 173, 0.08); color: var(--beige); font-size: 0.88rem; }
.site-footer__hours .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--gold); }
.site-footer__signature { margin: 0; padding-block: clamp(20px, 3vw, 36px) 0; text-align: center; line-height: 1; overflow: hidden; }
.site-footer__signature span { display: inline-block; font-weight: 800; white-space: nowrap; font-size: clamp(3.4rem, 13vw, 12rem); letter-spacing: -0.02em; color: transparent; -webkit-text-stroke: 1px rgba(201, 162, 126, 0.42); background: linear-gradient(90deg, rgba(201, 162, 126, 0.0), rgba(201, 162, 126, 0.26), rgba(201, 162, 126, 0.0)) no-repeat; background-size: 40% 100%; background-position: -60% 0; -webkit-background-clip: text; background-clip: text; animation: sign-sheen 7s ease-in-out infinite; }
html[lang="en"] .site-footer__signature span { font-family: var(--serif); font-style: italic; font-weight: 500; font-size: clamp(3rem, 10.5vw, 10rem); }
@keyframes sign-sheen { 0%, 20% { background-position: -60% 0; } 80%, 100% { background-position: 160% 0; } }
.site-footer__base { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px; padding-block: 18px 20px; font-size: 0.86rem; }
.site-footer__top-btn { display: inline-flex; align-items: center; gap: 10px; color: var(--beige); font-weight: 700; }
.site-footer__top-btn span { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(230, 200, 173, 0.35); transform: rotate(180deg); transition: background-color 250ms ease, color 250ms ease, transform 300ms var(--ease-out); }
@media (hover: hover) and (pointer: fine) { .site-footer__top-btn:hover span { background: var(--gold); color: var(--plum); transform: rotate(180deg) translateY(3px); } }
.site-footer__top-btn:active span { transform: rotate(180deg) scale(0.92); }
@media (max-width: 960px) { .site-footer__top { grid-template-columns: 1fr 1fr; } .site-footer__brand { grid-column: 1 / -1; } }
@media (max-width: 560px) {
  .site-footer { border-radius: 32px 32px 0 0; }
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .site-footer__reach { grid-column: 1 / -1; }
  .site-footer__brand { text-align: center; display: grid; justify-items: center; }
  .site-footer__base { justify-content: center; text-align: center; }
}

/* Rekaz's attribution, on the footer's ground */
.made-by-rekaz { background: var(--plum); color: var(--on-dark-soft); border-top: 1px solid rgba(230, 200, 173, 0.1); padding-bottom: calc(0.75rem + env(safe-area-inset-bottom)) !important; }
.made-by-rekaz a { color: var(--beige) !important; }

@media (prefers-reduced-motion: reduce) {
  .cta__card, .cta__copy > *, .cta__arch, .cta__spine { transition-property: opacity; }
  .js .cta__card:not([data-visible]), .js .cta__card:not([data-visible]) .cta__arch, .js .cta__card:not([data-visible]) .cta__spine { clip-path: none; }
  .js .cta__card:not([data-visible]) .cta__copy > * { transform: none; }
  .site-footer__signature span { animation: none; }
}
