/* Native Room layer: shared navigation, depth and motion; original V8 stays immutable. */
body { isolation: isolate; }
.atmosphere { display: none !important; }
/* Shared paper, then optical space, then native text/media/controls. */
.room-atmosphere { position: fixed; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; contain: strict; }
.room-geometry-svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.room-optical-gutter {
  position: absolute; top: 0; bottom: 0; overflow: hidden; contain: strict;
  /* Fade the already blurred image to clear paper before its content boundary.
     Smoothstep samples keep the matte PSF; the final 2px avoid a clipping seam. */
  --optical-edge-direction: to right;
  mask-image: linear-gradient(var(--optical-edge-direction), #000 0%, #000 40%, rgba(0,0,0,.957) 47.5%, rgba(0,0,0,.844) 55%, rgba(0,0,0,.684) 62.5%, rgba(0,0,0,.5) 70%, rgba(0,0,0,.316) 77.5%, rgba(0,0,0,.156) 85%, rgba(0,0,0,.043) 92.5%, transparent calc(100% - 2px), transparent 100%);
}
.room-optical-gutter[data-optical-side=left] { left: 0; }
.room-optical-gutter[data-optical-side=right] { right: 0; --optical-edge-direction: to left; }
.room-optical-sprite { position: absolute; left: 50%; top: 0; will-change: transform; transform-origin: center; }
.room-optical-sprite svg { display: block; width: 100%; height: 100%; }
.room-geometry-svg[data-gutters=hidden] { visibility: hidden; }
.room-atmosphere * { pointer-events: none; }
main,.site-footer { position: relative; z-index: 2; }
[data-optical-paper=true] { background-color: transparent !important; }
.site-header,.section-nav { z-index: 20; }
.room-atmosphere [data-optical-finish=matte] { opacity: .64; }
.room-atmosphere [data-optical-finish=soft] { opacity: .76; }
html[data-theme=dark] .room-atmosphere [data-optical-finish=matte] { opacity: .36; }
html[data-theme=dark] .room-atmosphere [data-optical-finish=soft] { opacity: .56; }
.section-nav { background: var(--bg); }

/* The shell keeps its layout footprint while its visible surface docks at the edge. */
.header-bar { display: contents; }
.header-surface,.header-dock-toggle { display: none; }
.header-dock-toggle[hidden] { display: none !important; }
@media (min-width: 1101px) {
  .room-header[data-dock-enabled=true] { padding: 0; border: 0; background: transparent; box-shadow: none; backdrop-filter: none; pointer-events: none; }
  .room-header[data-dock-enabled=true] .header-surface { display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 1px solid var(--v7-chrome-edge); border-radius: 14px; background: color-mix(in srgb, var(--panel) 97%, transparent); box-shadow: 0 2px 3px #17151e04, 0 14px 30px -20px #17151e40; pointer-events: none; }
  .room-header[data-dock-enabled=true] .header-bar { display: flex; position: relative; z-index: 2; width: 100%; height: 100%; padding: 12px 24px; align-items: center; justify-content: space-between; gap: 24px; pointer-events: auto; }
  .room-header[data-dock-enabled=true] .brand > img { visibility: hidden; }
  .room-header[data-dock-enabled=true] .header-dock-toggle { display: grid; place-items: center; position: absolute; z-index: 4; top: 0; left: 0; width: 64px; height: 64px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ink); cursor: pointer; pointer-events: none; }
  .header-dock-toggle > img { display: block; width: 32px; height: 36px; }
  html[data-theme=dark] .header-dock-toggle > img { filter: invert(1); }
  .header-dock-toggle::after { content: ""; position: absolute; inset: 5px; border: 1px solid var(--violet); border-radius: 50%; opacity: 0; transform: scale(.88); transition: opacity 180ms, transform 260ms cubic-bezier(.2,.7,.2,1); }
  .room-header[data-dock-state=compact] .header-dock-toggle:is(:hover,:focus-visible)::after { opacity: .55; transform: scale(1); }
  .header-dock-toggle:focus-visible { outline: 2px solid var(--violet); outline-offset: 4px; }
  .room-header:is([data-dock-state=compact],[data-dock-state=collapsing]) .header-bar { pointer-events: none; }
  .room-header:is([data-dock-state=compact],[data-dock-state=collapsing]) .header-dock-toggle { pointer-events: auto; }
  .room-header:has(.nav-panel:not([hidden])) .header-surface { border-bottom-left-radius: 0 !important; border-bottom-right-radius: 0 !important; }
  .room-header[data-dock-animating=true] :is(.header-surface,.header-dock-toggle) { will-change: transform; }
}

.room-header .desktop-nav > :is(a,button) { position: relative; font-size: 12px; }
.room-header .desktop-nav > :is(a,button)::after { content: ""; position: absolute; bottom: 3px; left: 0; right: 0; height: 1px; background: var(--violet); transform: scaleX(0); transform-origin: left; transition: transform 220ms ease; }
.room-header .desktop-nav > :is(a,button):is(:hover,:focus-visible,[aria-current],[aria-expanded=true])::after { transform: scaleX(1); }
.room-header .header-cta { background: var(--ink); color: var(--bg); border-color: var(--ink); border-radius: 100px; }
.room-header .header-cta .icon { filter: invert(1); }
html[data-theme=dark] .room-header .header-cta .icon { filter: none; }
.room-header .room-directions-panel { padding: 28px 30px 20px; }
.room-menu-heading { display: flex; justify-content: space-between; align-items: center; padding-bottom: 26px; border-bottom: 1px solid var(--line); }
.room-menu-heading > span { font-size: 9px; letter-spacing: .1em; color: var(--muted); }
.room-menu-heading > p { font-size: 25px; letter-spacing: -.045em; }
.room-menu-groups { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 32px; padding-top: 26px; }
.room-menu-group h2 { display: flex; align-items: baseline; gap: 14px; font-size: 31px; font-weight: 500; }
.room-menu-group h2 small { font-size: 9px; letter-spacing: 0; color: var(--violet); }
.room-menu-group > p { margin-block: 12px 22px; color: var(--muted); font-size: 11px; }
.room-header .room-menu-group .mega-grid { display: grid; grid-template-columns: 1fr; gap: 0; }
.room-header .room-menu-group .mega-grid > a { display: flex; justify-content: space-between; align-items: center; min-height: 86px; border-radius: 0; padding: 15px 0; gap: 8px; border-top: 1px solid var(--line); background: transparent; }
.room-header .room-menu-group .mega-grid > a > span { font-size: 16px; line-height: 1.35; font-weight: 500; }
.room-header .room-menu-group .mega-grid em { font-size: 10px; font-weight: 400; margin-top: 8px; }
.room-header .room-menu-group .mega-grid .icon { width: 18px; height: 18px; transition: transform 200ms; }
.room-header .room-menu-group .mega-grid > a:is(:hover,:focus-visible) .icon { transform: translate(3px,-3px) rotate(-35deg); }
.room-header .room-menu-group .mega-grid > a[aria-current] { color: var(--violet); }
.room-header .room-studio-link { display: inline-flex; gap: 20px; align-items: center; font-size: 12px; margin-top: 28px; min-height: 44px; }
.room-header .nav-panel-foot { padding-inline: 0; }
.room-header .nav-studio-intro strong { font-weight: 400; font-size: 44px; }
.room-mobile-pages { display: grid; grid-template-columns: 1fr 1fr; gap: 0 16px; padding-block: 14px 22px; border-bottom: 1px solid var(--line); }
.room-mobile-pages a { display: flex; align-items: center; min-height: 44px; font-size: 15px; }
.mobile-menu-sheet .menu-list { display: block; }
.room-mobile-group { padding-top: 20px; }
.room-mobile-group > p { font-size: 10px; text-transform: uppercase; letter-spacing: .09em; color: var(--muted); margin-bottom: 4px; }
.room-mobile-group > a { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 52px; border-bottom: 1px solid var(--line); font-size: 18px; letter-spacing: -.025em; line-height: 1.4; }
.room-mobile-group .icon { width: 18px; height: 18px; }
.room-mobile-group > a[aria-current] { color: var(--violet); }
.section-nav > span { max-width: 32ch; }

@media (prefers-reduced-motion: no-preference) {
  [data-reveal][data-visible=true] { animation: room-rise 680ms cubic-bezier(.2,.7,.2,1) both; }
  [data-reveal=focus][data-visible=true] { animation-name: room-focus; animation-duration: 900ms; }
  [data-reveal=cut][data-visible=true] { animation-name: room-cut; animation-duration: 720ms; }
  [data-reveal=draw][data-visible=true] { animation-name: room-draw; }
  [data-reveal=fold][data-visible=true] { animation-name: room-fold; animation-duration: 850ms; }
  [data-reveal=route][data-visible=true] { animation-name: room-route; }
}
@keyframes room-rise { from { translate: 0 20px; } to { translate: 0 0; } }
@keyframes room-focus { from { filter: blur(4px); scale: .99; } to { filter: blur(0); scale: 1; } }
@keyframes room-cut { from { clip-path: inset(0 0 0 100%); } to { clip-path: inset(0); } }
@keyframes room-draw { from { clip-path: inset(0 100% 0 0); } to { clip-path: inset(0); } }
@keyframes room-fold { from { rotate: -1.5deg; translate: 0 18px; } to { rotate: 0deg; translate: 0 0; } }
@keyframes room-route { from { translate: -22px 0; } to { translate: 0 0; } }
[data-reveal]:focus-within { animation: none !important; clip-path: none !important; }
@media (max-width: 760px) {
  .section-nav > span { max-width: 100%; }
  .room-mobile-group > a { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { animation: none !important; }
  [data-legacy-reveal] { opacity: 1 !important; transform: none !important; }
  .room-header * { transition-duration: 0s !important; }
}
@media print { .room-atmosphere { display: none; } }
/* Keep inherited primary actions legible over the dark theme's lighter accent. */
html[data-theme=dark] .button.primary:is(:hover,:focus-visible) { background: var(--violet); color: var(--bg); }
html[data-theme=dark] .button.primary:is(:hover,:focus-visible) .icon { filter: brightness(0); }
/* The delivery fields appear only after the server confirms intake configuration. */
.intake-fields { border: 0; margin: 0; padding: 0; min-width: 0; }
.intake-fields legend { font-size: .9rem; margin-bottom: 1rem; }
.intake-fields textarea, .intake-fields select { box-sizing: border-box; width: 100%; padding: .8rem; font: inherit; color: inherit; background: transparent; border: 1px solid currentColor; border-radius: 4px; }
.intake-fields small { font-size: .75em; font-weight: normal; }
.intake-consent { display: grid; gap: 1rem; margin: 1rem 0; font-size: .85rem; line-height: 1.5; }
#brief-form .intake-consent label { display: block; }
.intake-consent input { width: 1.1rem; height: 1.1rem; margin-right: .4rem; vertical-align: middle; }
.intake-consent a { text-decoration: underline; text-underline-offset: .15em; }
.intake-fields[hidden], .intake-consent[hidden] { display: none; }
.contact-brief [data-captcha-retry][hidden] { display: none; }
.intake-honeypot { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(100%); }

#brief-form [data-private-name][hidden]{display:none}.footer-legal{border-top:1px solid var(--line, #d5d5d5);margin-top:24px;padding-top:24px;font-size:12px;line-height:1.65}.footer-legal p{max-width:760px;margin:0 0 12px}.footer-legal nav{display:flex;gap:12px 24px;flex-wrap:wrap}.privacy-settings{font:inherit;color:inherit;background:none;border:0;padding:0;cursor:pointer;text-decoration:underline;text-underline-offset:3px}.privacy-notice{position:fixed;z-index:80;bottom:16px;right:16px;width:min(620px,calc(100vw - 32px));box-sizing:border-box;background:var(--panel,#fff);color:var(--ink,#171717);border:1px solid var(--line,#ccc);border-radius:18px;padding:18px 20px;box-shadow:0 8px 40px #0002;font-size:13px;line-height:1.5}.privacy-notice strong{font-size:16px}.privacy-notice p{margin:8px 0 14px}.privacy-notice a{color:inherit;text-decoration:underline}.privacy-notice>div{display:flex;gap:10px;flex-wrap:wrap}.privacy-notice button{font:inherit;color:inherit;background:transparent;border:1px solid currentColor;border-radius:100px;padding:10px 16px;cursor:pointer;min-height:40px}.privacy-notice button:focus-visible,.privacy-settings:focus-visible{outline:2px solid currentColor;outline-offset:3px}.privacy-notice .privacy-dismiss{border:0;padding:8px 0;min-height:32px;text-decoration:underline}@media(max-width:500px){.privacy-notice{right:12px;bottom:12px;width:calc(100vw - 24px);padding:16px}.privacy-notice>div{display:grid;grid-template-columns:1fr 1fr}.privacy-notice button{padding:10px 8px}.footer-legal nav{gap:12px}}
.contact-brief .dialog-top{position:sticky;top:-1px;z-index:2;background:var(--panel,#fff)}

.facex-logo { display: block; width: 112px; height: auto; object-fit: contain; }
html[data-theme=dark] .facex-logo { filter: invert(1); }
.footer-brands { display: flex; align-items: center; flex-wrap: wrap; gap: 20px; min-width: 0; }
.footer-facex { display: flex; align-items: center; min-height: 48px; padding-left: 20px; border-left: 1px solid var(--line); }
.footer-facex .facex-logo { width: 94px; }
.compact-footer .footer-legal { max-width: var(--v7-content, 1440px); margin: 8px auto 0; padding-top: 10px; font-size: 10px; color: var(--muted); }
.footer-legal nav { gap: 0 22px; align-items: center; }
.footer-legal :is(a,button) { display: inline-flex; align-items: center; min-height: 40px; }
.footer-facex:focus-visible { outline: 2px solid var(--violet); outline-offset: 5px; }

#brief-dialog .brief-phone-control { display: flex; align-items: center; gap: 14px; min-height: 56px; border: 1px solid var(--line); border-radius: 9px; background: var(--bg); padding-inline: 16px; }
#brief-dialog .brief-phone-prefix { flex: 0 0 auto; font-size: 17px; font-variant-numeric: tabular-nums; padding-right: 14px; border-right: 1px solid var(--line); line-height: 22px; }
#brief-dialog .brief-phone-control input { flex: 1; width: 0; min-width: 0; min-height: 54px; padding: 13px 0; border: 0; border-radius: 0; background: transparent; font-size: 17px; font-variant-numeric: tabular-nums; letter-spacing: .025em; }
#brief-dialog .brief-phone-control input:focus-visible { border: 0; outline: 0; box-shadow: none; }
#brief-dialog .brief-phone-control:focus-within { border-color: var(--violet); outline: 1px solid var(--violet); outline-offset: -1px; }
#brief-dialog .brief-phone-control:has(input[aria-invalid=true]) { border-color: #b82c42; outline-color: #b82c42; }
html[data-theme=dark] #brief-dialog .brief-phone-control:has(input[aria-invalid=true]) { border-color: #ff8294; outline-color: #ff8294; }
@media(max-width:540px) { .footer-brands { gap: 16px; }.footer-facex { padding-left: 16px; }.footer-legal nav { gap: 0 18px; } }

.privacy-settings-anchor { scroll-margin-top: 110px; }

.compact-footer .footer-bottom nav > a { gap: 7px; }
.compact-footer .footer-bottom .icon { width: 16px; height: 16px; flex: 0 0 auto; }
.footer-external-icon { transform: rotate(-45deg); }
.footer-top-icon { transform: rotate(-90deg); }

/* A readable directory, then utility links, then one quiet legal column. */
@media (max-width: 600px) {
  .site-footer.compact-footer { padding-bottom: max(22px, env(safe-area-inset-bottom)); }
  .compact-footer .footer-top { gap: 22px; }
  .footer-brands { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .compact-footer .footer-brand { gap: 12px; min-width: 0; }
  .compact-footer .footer-brand > span { font-size: 13px; line-height: 1.5; letter-spacing: -.025em; }
  .footer-brand .footer-logo { flex: 0 0 auto; }
  .footer-facex { padding-left: 0; border-left: 0; }
  .footer-facex .facex-logo { width: 76px; }
  .compact-footer .footer-top > nav { gap: 0 18px; padding-top: 10px; border-top: 1px solid var(--line); }
  .compact-footer .footer-top > nav > a { min-height: 52px; padding-block: 8px; font-size: 13px; line-height: 1.45; overflow-wrap: normal; }
  .compact-footer .footer-bottom { margin-top: 22px; padding-top: 18px; }
  .compact-footer .footer-bottom > span { max-width: 34ch; margin-bottom: 12px; font-size: 12px; line-height: 1.6; }
  .compact-footer .footer-bottom nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 18px; align-items: start; }
  .compact-footer .footer-bottom :is(a, button) { min-width: 0; min-height: 44px; font-size: 12px; line-height: 1.5; text-align: left; }
  .compact-footer .footer-legal { margin-top: 18px; padding-top: 12px; font-size: 12px; line-height: 1.6; }
  .compact-footer .footer-legal nav { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; align-items: start; }
  .compact-footer .footer-legal :is(a, button) { min-height: 44px; padding-block: 8px; text-align: left; scroll-margin-block: 24px; }
  .compact-footer .privacy-settings-anchor { min-width: 0; }
  .compact-footer .privacy-settings { width: 100%; }
  .room-mobile-pages > a { min-width: 0; line-height: 1.4; }
  .room-mobile-group > a > span { min-width: 0; }
  .room-mobile-group .icon { flex: 0 0 auto; }
}
@media (max-width: 360px) {
  .privacy-notice > div { grid-template-columns: minmax(0, 1fr); }
  .privacy-notice button { min-height: 44px; }
}
