/* YAYA House — shared site styles (page-specific styles live in each page's <head>) */
[hidden]{display:none !important}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body.menu-open{overflow:hidden}
input,select,textarea,button{font:inherit}
input:focus-visible,select:focus-visible,textarea:focus-visible,button:focus-visible,a:focus-visible{outline:2px solid #88D7DD;outline-offset:3px}
.form-note{margin:8px 0 0;font-family:Inter,system-ui,sans-serif;font-size:13px;letter-spacing:.02em}
@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto}
  .float-in{animation:none !important}
  video[autoplay]{display:none}
}
/* Menu: headings in the sans serif, links in the serif */
.menu-head{font-family:Inter,system-ui,sans-serif;font-weight:800;letter-spacing:-0.03em;text-transform:uppercase}
.menu-head em{font-style:normal;font-weight:400;text-transform:none;letter-spacing:-0.01em}
.menu-links{font-family:'Cormorant Garamond',Georgia,serif;font-weight:400;font-size:22px;line-height:1.15;letter-spacing:.04em;text-transform:uppercase}

/* House Notes popup (home page): a native <dialog> wrapping the live Flodesk form.
   Every Flodesk rule is overridden from #house-pop so the form inherits the site's
   type (Inter + Cormorant Garamond), colours, spacing, fields and buttons. */
body.pop-open{overflow:hidden}
#house-pop{width:min(600px, calc(100% - 32px));max-width:none;max-height:calc(100% - 32px);margin:auto;padding:0;border:1px solid rgba(243,237,226,0.14);background:#10070E;color:#F3EDE2;box-shadow:0 30px 50px rgba(28,14,26,0.3);overflow:auto;overscroll-behavior:contain}
#house-pop:focus{outline:none}
#house-pop::backdrop{background:rgba(16,7,14,0.55)}
#house-pop[open]{animation:hpop-in .45s cubic-bezier(.2,.7,.2,1) both}
#house-pop[open]::backdrop{animation:hpop-fade .45s ease both}
@keyframes hpop-in{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
@keyframes hpop-fade{from{opacity:0}to{opacity:1}}
@media (prefers-reduced-motion: reduce){#house-pop[open],#house-pop[open]::backdrop{animation:none}}
#house-pop .hpop-card{padding:clamp(20px, 4vw, 32px) clamp(22px, 5.5vw, 48px) clamp(32px, 5.5vw, 48px);display:flex;flex-direction:column;gap:14px}
#house-pop .hpop-top{display:flex;justify-content:space-between;align-items:center;margin:0 -14px 10px 0;color:rgba(243,237,226,0.6)}
#house-pop .hpop-x{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:transparent;border:none;color:#F3EDE2;cursor:pointer;padding:0}
#house-pop h2{margin:0;font-size:clamp(30px, 4.6vw, 46px);line-height:1}
#house-pop .hpop-lede{margin:0 0 18px;font-family:Inter,system-ui,sans-serif;font-size:15px;line-height:1.6;color:rgba(243,237,226,0.75)}

/* Flodesk overrides */
#house-pop [data-ff-el="root"]{background:transparent;color:#F3EDE2;font-family:Inter,system-ui,sans-serif;font-weight:400}
#house-pop [data-ff-el="root"] [class$="__container"]{max-width:none;margin:0;background:transparent}
#house-pop [data-ff-el="root"] [data-ff-el="form"]{padding:0;color:#F3EDE2;font-family:Inter,system-ui,sans-serif;font-size:15px;font-weight:400;line-height:1.6;letter-spacing:0;text-align:left}
#house-pop [data-ff-el="root"] [class$="__title"],
#house-pop [data-ff-el="root"] [class$="__subtitle"]{display:none}
#house-pop [data-ff-el="root"] [data-ff-el="content"]{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:flex-start;gap:28px 24px;margin:0}
#house-pop [data-ff-el="root"] [data-ff-el="fields"]{flex:1 1 100%;display:flex;flex-wrap:wrap;gap:22px 24px;margin:0;max-width:none}
#house-pop [data-ff-el="root"] .fd-form-group{flex:1 1 200px;min-width:0;max-width:none;margin:0;display:flex;flex-direction:column;gap:8px;font-family:Inter,system-ui,sans-serif;text-align:left}
#house-pop [data-ff-el="root"] .fd-form-label{order:-1;position:static;display:block !important;opacity:1;padding:0;border:0;margin:0;color:rgba(243,237,226,0.7);font-family:Inter,system-ui,sans-serif;font-size:10px;font-weight:500;line-height:1.4;letter-spacing:.08em;text-transform:uppercase}
#house-pop [data-ff-el="root"] .fd-form-control:not(:placeholder-shown)+.fd-form-label{opacity:1}
#house-pop [data-ff-el="root"] .fd-form-control{order:0;height:auto;padding:10px 0;background:transparent;border:none;border-bottom:1px solid rgba(243,237,226,0.4);border-radius:0;color:#F3EDE2;font-family:Inter,system-ui,sans-serif;font-size:18px;font-weight:400;line-height:1.4;letter-spacing:0;text-transform:none}
#house-pop [data-ff-el="root"] .fd-form-control:-webkit-autofill{-webkit-text-fill-color:#F3EDE2;caret-color:#F3EDE2;box-shadow:0 0 0 1000px #10070E inset !important;transition:background-color 9999s ease 0s}
#house-pop [data-ff-el="root"] .fd-form-control:focus-visible,
#house-pop [data-ff-el="root"] .fd-btn:focus-visible{outline:2px solid #88D7DD;outline-offset:3px}
#house-pop [data-ff-el="root"] .fd-focus-visible{box-shadow:none !important}
#house-pop [data-ff-el="root"] .fd-form-feedback,
#house-pop [data-ff-el="root"] [data-ff-el="error"]{order:1;margin:0;color:#F2231A !important;font-family:Inter,system-ui,sans-serif;font-size:13px;letter-spacing:.02em;text-align:left}
#house-pop [data-ff-el="root"] .fd-has-error .fd-form-control{color:#F3EDE2 !important;border-color:#F2231A !important}
#house-pop [data-ff-el="root"] .fd-has-success .fd-form-control{color:#F3EDE2 !important;border-color:rgba(243,237,226,0.4) !important}
#house-pop [data-ff-el="root"] [data-ff-el="footer"]{flex:0 0 auto;margin:0;text-align:left}
#house-pop [data-ff-el="root"] .fd-btn{width:auto;display:inline-flex;padding:16px 28px;background:transparent;color:#F2231A;border:1.5px solid #88D7DD;border-radius:0;font-family:Inter,system-ui,sans-serif;font-size:11px;font-weight:500;line-height:normal;letter-spacing:.08em;text-transform:uppercase;white-space:nowrap;cursor:pointer;transition:color .2s ease, background-color .2s ease}
#house-pop [data-ff-el="root"] [data-ff-el="success"]{text-align:left}
#house-pop [data-ff-el="root"] [class$="__success-message"]{color:#F3EDE2;font-family:'Cormorant Garamond',Georgia,serif;font-size:clamp(22px, 3vw, 28px);font-weight:300;line-height:1.2;letter-spacing:-0.01em;text-align:left}
#house-pop [data-ff-el="root"][data-ff-stage="success"] [data-ff-el="content"],
#house-pop [data-ff-el="root"] .fd-has-success [data-ff-el="content"]{display:none}

/* Back to top: floating button on the right edge, added to every page by site.js.
   Ink with an aqua edge so it reads on both the cream and the dark sections. */
.to-top{position:fixed;right:max(16px, env(safe-area-inset-right));bottom:max(20px, env(safe-area-inset-bottom));z-index:90;width:52px;height:64px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;padding:0;background:#10070E;color:#F3EDE2;border:1.5px solid #88D7DD;border-radius:999px;font-family:Inter,system-ui,sans-serif;font-size:9px;font-weight:500;letter-spacing:.12em;text-transform:uppercase;cursor:pointer;box-shadow:0 10px 24px rgba(16,7,14,0.22);opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .3s ease, transform .3s ease, visibility 0s linear .3s, background-color .2s ease, color .2s ease}
.to-top.is-on{opacity:1;visibility:visible;transform:none;transition:opacity .3s ease, transform .3s ease, visibility 0s, background-color .2s ease, color .2s ease}
.to-top span{line-height:1;padding-left:.12em}
@media (hover: hover){.to-top:hover{background:#F2231A;color:#F3EDE2}}
body.menu-open .to-top,body.pop-open .to-top{opacity:0;visibility:hidden}
@media (max-width: 640px){.to-top{width:46px;height:58px;right:max(12px, env(safe-area-inset-right));bottom:max(16px, env(safe-area-inset-bottom))}}
@media (prefers-reduced-motion: reduce){.to-top,.to-top.is-on{transition:none;transform:none}}
