/* The closing panel uses the studio's amber light and its own typographic scale. */
footer.studio-end{box-sizing:border-box;position:relative;isolation:isolate;display:block;overflow:hidden;width:auto;max-width:none;margin:clamp(8px,1.25vw,20px);padding:clamp(26px,4.7vw,80px);border:1px solid #9c6a4b59;border-radius:clamp(25px,3vw,54px);background:radial-gradient(ellipse 41% 95% at 100% 0%,#ffc484 0%,#cc6533 17%,#8a3215 40%,transparent 83%),radial-gradient(ellipse 75% 50% at 100% 100%,#522011,transparent 75%),#110c0b;color:#fff8f2;font-family:-apple-system,BlinkMacSystemFont,"Helvetica Neue",Arial,sans-serif;text-align:start;line-height:1.35}
[dir=rtl] footer.studio-end{font-family:StudioArabic,Tahoma,Arial,sans-serif;background:radial-gradient(ellipse 41% 95% at 0 0,#ffc484,#cc6533 17%,#8a3215 40%,transparent 83%),radial-gradient(ellipse 75% 50% at 0 100%,#522011,transparent 75%),#110c0b}
.studio-end .end-invite,.studio-end .end-base,.studio-end .end-brand,.studio-end .end-links{display:flex;align-items:center;justify-content:space-between;gap:1.3rem}
.studio-end .end-invite{align-items:flex-start}.studio-end h2{margin:0;font-family:inherit;font-size:clamp(2.3rem,4.9vw,5.6rem);line-height:1.09;font-weight:500;color:inherit;letter-spacing:-.055em;text-transform:none}
[dir=rtl] .studio-end h2{letter-spacing:0;line-height:1.38}.studio-end h3{font-family:inherit;font-weight:600;font-size:clamp(1.15rem,2vw,1.8rem);letter-spacing:-.025em;color:inherit;margin:0 0 .7em}
.studio-end a{color:inherit;text-decoration:none}.studio-end a:focus-visible{outline:2px solid white;outline-offset:4px}
.studio-end a.end-cta,.studio-end .end-services a{display:inline-flex;align-items:center;gap:.6em;border-radius:999px;min-height:44px;width:fit-content;height:auto;text-transform:none;font-weight:600;line-height:1.3;font-family:inherit;font-size:1rem;letter-spacing:0}
.studio-end a.end-cta{padding:8px 8px 8px 22px;background:linear-gradient(115deg,#ffcd81,#ff8c47 58%,#fd6943);color:#321307;box-shadow:inset 0 1px 0 #fff7,0 8px 28px #3f130f3d}
[dir=rtl] .studio-end a.end-cta{padding:8px 22px 8px 8px}.studio-end i{display:inline-grid;place-items:center;flex:none;font-style:normal}.end-cta i,.end-services i{width:30px;height:30px;border-radius:50%;background:#ffffff30}
.studio-end svg{width:18px;height:18px}.end-cta svg{transform:rotate(-35deg)}[dir=rtl] .end-cta svg{transform:scaleX(-1) rotate(-35deg)}
.studio-end .end-base{align-items:flex-end;margin-top:clamp(60px,8vw,134px)}.end-services{display:flex;flex-wrap:wrap;gap:8px;max-width:565px}
.studio-end .end-services a{padding:5px 13px 5px 5px;background:#ffffff0f;border:1px solid #ffffff20;font-size:.9rem}.end-services i{background:linear-gradient(125deg,#70503d,#403533);color:#ffe5cd}
[dir=rtl] .end-services a{padding:5px 5px 5px 13px}.studio-end .end-brand img{width:clamp(120px,12vw,220px);height:auto;display:block;filter:invert(1)}
.studio-end .end-links{justify-content:flex-start;border-top:1px solid #fff2;margin-top:28px;padding-top:10px;gap:22px}.end-links a{display:inline-flex;align-items:center;min-height:44px;font-size:.83rem}.end-links a:last-child{margin-inline-start:auto}.studio-end .footer-email svg{width:22px;height:22px}
main>#contact:empty{display:block;padding:0;margin:0;height:0;min-height:0}
@media(hover:hover){.studio-end .end-services a:hover,.studio-end .footer-email:hover{background:#ffffff25}.studio-end .end-cta:hover{filter:brightness(1.1)}}
@media(max-width:680px){.studio-end .end-invite,.studio-end .end-base{flex-direction:column;align-items:flex-start}.studio-end .end-brand{width:100%;margin-top:22px}.studio-end .end-base{margin-top:48px}.studio-end .end-links{gap:14px}}
.studio-end .end-base>div:first-child{min-width:0;width:min(100%,565px)}

/* Align the invitation and service rows to the same two edges. */
body footer.studio-end {
  --footer-light-edge: 100%;
  width: auto;
  margin: 10px clamp(12px, 3vw, 54px) max(12px, env(safe-area-inset-bottom));
  padding: clamp(18px, 2vw, 30px) clamp(18px, 3vw, 46px) 8px;
  border-radius: clamp(20px, 2vw, 30px);
  background: radial-gradient(ellipse 46% 130% at var(--footer-light-edge) 0%, #86401f, #361a10 47%, transparent 90%), #0d0b0a;
}
html[dir=rtl] body footer.studio-end { --footer-light-edge: 0%; }
.studio-end .end-invite, .studio-end .end-base {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px 22px;
}
body .studio-end h2 { font-size: clamp(1.55rem, 2.8vw, 2.8rem); }
body .studio-end h3 { margin: 0 0 6px; font-size: 1rem; }
.studio-end .end-base { margin-top: clamp(16px, 2vw, 28px); }
.studio-end .end-services { gap: 4px 6px; max-width: none; }
.studio-end .end-base>div:first-child { width: auto; }
.studio-end .end-services a { font-size: .81rem; }
.studio-end .end-brand { gap: 10px; width: auto; margin: 0; }
.studio-end .end-brand img { width: clamp(88px, 8vw, 128px); }
.studio-end .end-links { margin-top: 12px; padding-top: 2px; gap: 0 16px; flex-wrap: wrap; }
@media(max-width:680px){
  .studio-end .end-base { grid-template-columns: 1fr; }
  .studio-end .end-brand { justify-content: space-between; }
  .studio-end .end-invite { grid-template-columns: 1fr; }
  .studio-end .end-services a { padding-inline: 9px; }
  .studio-end .end-services i { display: none; }
  .studio-end .end-links { column-gap: 12px; }
  .studio-end .end-links a { font-size: .77rem; }
}
