/* Purposeful room browsing and a direct enquiry surface. */
.spacs-projects-new, .spacs-contact-new { --spacs-gutter: clamp(24px, 6.2vw, 100px); font-family: "DM Sans", sans-serif; }
.spacs-projects-new h1, .spacs-projects-new h2, .spacs-contact-new h1, .spacs-contact-new h2 { margin: 0; font-weight: 400; letter-spacing: -.045em; line-height: 1.1; text-wrap: balance; }
.spacs-projects-new > section { margin: 0; }
.spacs-page .spacs-text-link { display: inline-flex; align-items: center; gap: 28px; min-height: 46px; padding: 5px 0; border-bottom: 1px solid currentColor; color: inherit; text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.5; transition: color .2s, gap .2s; }
.spacs-page .spacs-text-link:hover { gap: 36px; color: #c6a46b; }
.spacs-projects-new a:focus-visible, .spacs-contact-new a:focus-visible { outline: 2px solid currentColor; outline-offset: 6px; }
.spacs-project-scene { position: relative; isolation: isolate; display: flex; align-items: flex-end; justify-content: space-between; gap: 30px; min-height: min(730px, calc(100svh - 92px)); padding: 60px var(--spacs-gutter); background: #302b22; }
.spacs-project-scene > img { position: absolute; z-index: -2; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 44%; }
.spacs-project-scene::after { content: ""; position: absolute; z-index: -1; inset: 0; background: linear-gradient(0deg,rgba(13,17,14,.9),rgba(13,17,14,.14) 85%),linear-gradient(90deg,rgba(13,17,14,.35),transparent 70%); }
.spacs-project-scene__copy { animation: spacs-pc-enter .7s ease-out both; }
.spacs-project-scene h1 { max-width: 700px; font-size: clamp(44px,5.6vw,80px); color: #f2eee6; }
.spacs-project-scene p { margin: 24px 0 22px; font-size: 17px; color: #f2eee6; }
.spacs-project-scene .spacs-project-scene__product { color: #f2eee6; font-size: 14px; text-decoration: none; display: flex; align-items: center; gap: 20px; min-height: 46px; border-bottom: 1px solid rgba(242,238,230,.55); transition: color .2s; }
.spacs-project-scene .spacs-project-scene__product:hover { color: #c6a46b; }
.spacs-room-gallery { padding: 90px var(--spacs-gutter) 100px; background: #f2eee6; color: #252b26; scroll-margin-top: 40px; }
.spacs-room-gallery__intro { display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 64px; margin-bottom: 52px; }
.spacs-room-gallery h2 { font-size: clamp(36px,4vw,56px); }
.spacs-room-gallery__intro p { max-width: 460px; margin: 0; font-size: 18px; line-height: 1.7; color: #55594f; }
.spacs-room-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 58px 32px; }
.spacs-room-grid .spacs-room { display: block; color: #252b26; text-decoration: none; }
.spacs-room figure { margin: 0; overflow: hidden; background: #ded9ce; }
.spacs-room img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: cover; transition: transform .6s cubic-bezier(.2,.65,.3,1); }
.spacs-room:hover img { transform: scale(1.035); }
.spacs-room__caption { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 21px 0 0; }
.spacs-room__caption h3 { margin: 0; font-size: clamp(21px,2.1vw,29px); letter-spacing: -.03em; line-height: 1.25; font-weight: 400; }
.spacs-room__caption p { margin: 7px 0 0; font-size: 14px; color: #606358; }
.spacs-room__caption > span { font-size: 24px; transition: transform .2s; }
.spacs-room:hover .spacs-room__caption > span { transform: translate(3px,-3px); }
.spacs-project-invite { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; padding: 86px var(--spacs-gutter); background: #252b26; position: relative; isolation: isolate; overflow: hidden; }
.spacs-project-invite::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background: url("/wp-content/uploads/2026/02/spacs-brand-pattern.png") right 42% / 540px auto no-repeat;
  opacity: .055;
}
.spacs-project-invite h2 { max-width: 580px; font-size: clamp(36px,4.1vw,58px); }
.spacs-project-invite h2 { text-wrap: balance; }
.spacs-project-invite p { max-width: 440px; margin: 0 0 24px; font-size: 17px; line-height: 1.7; color: #dedfd7; }
.spacs-contact-new { background: #f2eee6; color: #252b26; }
.spacs-contact-layout { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(48px,8vw,130px); padding: 62px var(--spacs-gutter) 72px; max-width: 1640px; margin: 0 auto; }
.spacs-contact-welcome h1 { font-size: clamp(44px,4.8vw,68px); }
.spacs-contact-welcome > p { max-width: 430px; margin: 22px 0 32px; color: #55594f; font-size: 17px; line-height: 1.7; }
.spacs-contact-welcome figure { margin: 0; overflow: hidden; }
.spacs-contact-welcome img { display: block; width: 100%; height: 330px; object-fit: cover; object-position: center 38%; animation: spacs-pc-enter .75s ease-out both; }
.spacs-enquiry { padding-top: 5px; }
.spacs-enquiry h2 { font-size: 29px; line-height: 1.25; letter-spacing: -.025em; }
.spacs-enquiry .spacs-form-note { margin: 12px 0 26px; font-size: 13px; color: #62665a; }
.spacs-enquiry .ff-el-group { margin-bottom: 20px; }
.spacs-enquiry fieldset { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); column-gap: 20px; }
.spacs-enquiry fieldset > .ff-el-group { grid-column: 1 / -1; }
.spacs-enquiry fieldset > .ff-name-field-wrapper + .ff-el-group { grid-column: 2; }
.spacs-enquiry .ff-el-input--label { margin-bottom: 8px !important; line-height: 1.5; }
.spacs-enquiry .ff-el-form-hide_label .ff-el-input--label { display: block !important; visibility: visible !important; }
.spacs-enquiry .ff-el-input--label label { color: #252b26; font-size: 14px; font-weight: 500; margin-bottom: 0 !important; }
.spacs-enquiry .ff-el-form-control { width: 100%; min-height: 48px; padding: 12px 14px !important; border: 1px solid #b8b9ac !important; border-radius: 0 !important; background: #faf8f3 !important; color: #252b26 !important; font-family: inherit; font-size: 16px; box-shadow: none !important; transition: border-color .2s, background .2s; }
.spacs-enquiry input.ff-el-form-control { height: 48px !important; }
.spacs-enquiry textarea.ff-el-form-control { min-height: 124px; height: 124px; resize: vertical; }
.spacs-enquiry .ff-el-form-control::placeholder { color: #777a70; opacity: 1; }
.spacs-enquiry .ff-el-form-control:focus { outline: 2px solid #776644 !important; outline-offset: 2px; border-color: #776644 !important; background: #fffdf9 !important; }
.spacs-enquiry .ff-btn-submit { min-height: 50px; padding: 13px 28px !important; border: 1px solid #252b26 !important; border-radius: 0 !important; background: #252b26 !important; color: #f2eee6 !important; font: 500 15px/1.5 "DM Sans",sans-serif; letter-spacing: 0; text-transform: none; transition: background .2s,color .2s; }
.spacs-enquiry .ff-btn-submit:hover { background: #c6a46b !important; color: #252b26 !important; }
.spacs-enquiry .ff-btn-submit:focus-visible { outline: 2px solid #776644; outline-offset: 4px; }
.spacs-enquiry .error, .spacs-enquiry .text-danger, .spacs-enquiry .ff-el-is-error .ff-el-input--label label { color: #a12a23 !important; }
.spacs-enquiry .ff-message-success { color: #252b26; border: 1px solid #77866d; box-shadow: none; padding: 24px; }
.spacs-contact-support { display: flex; flex-wrap: wrap; gap: 20px 44px; align-items: center; margin: 0 !important; padding: 30px var(--spacs-gutter); background: #e8e2d8; }
.spacs-contact-support p { margin: 0 auto 0 0; color: #55594f; font-size: 15px; }
.spacs-contact-support .spacs-text-link:hover { color: #785d32; }
@keyframes spacs-pc-enter { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: none; } }
@media(max-width: 760px) {
  .spacs-project-scene { display: block; align-content: end; min-height: min(720px,calc(100svh - 76px)); padding-top: 180px; padding-bottom: 32px; }
  .admin-bar .spacs-project-scene { min-height: min(720px,calc(100svh - 122px)); }
  .spacs-project-scene h1 { font-size: clamp(38px,8vw,58px); }
  .spacs-project-scene p { max-width: 280px; font-size: 16px; margin: 20px 0 18px; }
  .spacs-project-scene .spacs-project-scene__product { display: none; }
  .spacs-room-gallery { padding-top: 55px; padding-bottom: 58px; }
  .spacs-room-gallery__intro { grid-template-columns: 1fr; gap: 24px; margin-bottom: 34px; }
  .spacs-room-gallery__intro p { font-size: 16px; }
  .spacs-room-grid { grid-template-columns: 1fr; gap: 38px; }
  .spacs-room__caption { padding-top: 16px; }
  .spacs-room__caption h3 { font-size: 24px; }
  .spacs-project-invite { grid-template-columns: 1fr; padding-top: 56px; padding-bottom: 60px; gap: 24px; }
  .spacs-project-invite::before { background-position: center 36%; background-size: 300px auto; }
  .spacs-contact-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 42px; padding-bottom: 44px; }
  .spacs-contact-welcome h1 { font-size: clamp(38px,9vw,52px); }
  .spacs-contact-welcome > p { margin: 18px 0 0; font-size: 16px; }
  .spacs-contact-welcome figure { display: none; }
  .spacs-enquiry h2 { font-size: 25px; }
  .spacs-enquiry fieldset { display: block; }
  .spacs-enquiry .spacs-form-note { margin-bottom: 24px; }
  .spacs-enquiry .ff-btn-submit { width: 100%; }
  .spacs-contact-support { display: grid; gap: 16px; padding-top: 28px; padding-bottom: 32px; }
  .spacs-contact-support .spacs-text-link { justify-self: start; }
}
@media(prefers-reduced-motion:reduce) { .spacs-projects-new *, .spacs-contact-new * { animation: none !important; transition: none !important; } }
