:root {
  --rook-contact-paper: #eee9df;
  --rook-contact-dark: #151513;
  --rook-contact-ink: #191815;
  --rook-contact-muted: #8b867d;
  --rook-contact-line: rgba(25, 24, 21, 0.18);
  --rook-contact-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --rook-contact-pad: clamp(22px, 4.2vw, 72px);
  --rook-contact-serif: "Libre Caslon Display", Georgia, serif;
  --rook-contact-sans: "DM Sans", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 92px;
}

/* Global menu fail-safe. Odoo's editor can persist the transient is-open
   class if the menu was open when Edit was entered. Requiring the matching
   body state prevents that saved class from covering every page on load. */
body:not(.rook-menu-open) .rook-global-menu {
  opacity: 0 !important;
  visibility: hidden !important;
  pointer-events: none !important;
  transform: translateY(-20px) !important;
}

body.rook-menu-open .rook-global-menu.is-open {
  pointer-events: auto !important;
}

/* Contact uses the approved homepage header treatment: black controls on a
   transparent first view and a clean warm-glass surface after scrolling. */
body.rook-contact-active .rook-global-header,
body.rook-contact-active .rook-global-header.is-scrolled,
body.rook-contact-active .rook-global-header a,
body.rook-contact-active .rook-global-header button,
body.rook-contact-active .rook-global-header__brand,
body.rook-contact-active .rook-global-header__quick a,
body.rook-contact-active .rook-global-header__toggle {
  color: #050505 !important;
}

body.rook-contact-active .rook-global-header svg {
  color: #050505 !important;
  fill: currentColor;
  stroke: currentColor;
}

body.rook-contact-active .rook-global-header:not(.is-scrolled) {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  -webkit-backdrop-filter: none !important;
  backdrop-filter: none !important;
}

body.rook-contact-active .rook-global-header.is-scrolled {
  background: rgba(202, 195, 183, 0.34) !important;
  border-bottom: 1px solid rgba(25, 24, 21, 0.2) !important;
  box-shadow: 0 8px 24px rgba(15, 15, 14, 0.08) !important;
  -webkit-backdrop-filter: blur(18px) saturate(1.12) !important;
  backdrop-filter: blur(18px) saturate(1.12) !important;
}

body.rook-contact-active .rook-global-header__quick {
  justify-self: center;
}

body.rook-contact-active .rook-global-header__quick a {
  min-height: 44px;
  align-content: center;
}

.rook-contact-page,
.rook-contact-page * {
  box-sizing: border-box;
}

.rook-contact-page {
  min-height: 100vh;
  overflow: clip;
  background: var(--rook-contact-paper);
  color: var(--rook-contact-ink);
  font-family: var(--rook-contact-sans);
}

.rook-contact-page a {
  color: inherit;
}

.rook-contact-eyebrow {
  display: block;
  font-size: 9px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.rook-contact-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.9s var(--rook-contact-ease), transform 1s var(--rook-contact-ease);
}

.rook-contact-reveal.is-visible,
.o_editable .rook-contact-reveal,
body.editor_enable .rook-contact-reveal,
body.o_is_editable .rook-contact-reveal {
  opacity: 1;
  transform: none;
}

.rook-contact-hero {
  position: relative;
  display: flex;
  min-height: 100svh;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
  padding: 150px var(--rook-contact-pad) 55px;
}

.rook-contact-hero::before {
  position: absolute;
  top: -24vw;
  right: -11vw;
  width: min(58vw, 820px);
  aspect-ratio: 1;
  border: 1px solid rgba(25, 24, 21, 0.08);
  border-radius: 50%;
  content: "";
}

.rook-contact-hero h1 {
  position: relative;
  z-index: 1;
  margin: 44px 0 clamp(65px, 8vw, 120px);
  font: 400 clamp(66px, 9.5vw, 155px) / 0.9 var(--rook-contact-serif);
  letter-spacing: -0.06em;
}

.rook-contact-hero h1 em {
  color: #8e8276;
  font-style: normal;
}

.rook-contact-hero__foot {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  gap: 30px;
}

.rook-contact-hero__foot p {
  max-width: 580px;
  margin: 0;
  font-size: clamp(14px, 1.2vw, 18px);
  line-height: 1.72;
}

.rook-contact-round-arrow {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 1px solid rgba(25, 24, 21, 0.45);
  border-radius: 50%;
  text-decoration: none;
  transition: color 0.4s, background 0.4s, transform 0.5s var(--rook-contact-ease);
}

.rook-contact-round-arrow:hover,
.rook-contact-round-arrow:focus-visible {
  background: var(--rook-contact-ink);
  color: var(--rook-contact-paper);
  transform: translateY(4px);
}

.rook-contact-hero__rule {
  height: 1px;
  margin-top: 50px;
  transform-origin: left;
  background: var(--rook-contact-line);
  animation: rook-contact-draw 1.3s var(--rook-contact-ease) 0.4s both;
}

@keyframes rook-contact-draw {
  from { transform: scaleX(0); }
}

.rook-inquiry {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(55px, 9vw, 145px);
  padding: clamp(105px, 12vw, 190px) var(--rook-contact-pad);
  background: var(--rook-contact-dark);
  color: var(--rook-contact-paper);
}

.rook-inquiry__intro {
  position: sticky;
  top: 130px;
  align-self: start;
}

.rook-inquiry h2 {
  margin: 42px 0 110px;
  font: 400 clamp(52px, 6.7vw, 108px) / 0.94 var(--rook-contact-serif);
  letter-spacing: -0.055em;
}

.rook-inquiry__direct {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  color: #8d8980;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.rook-inquiry__direct a {
  border-bottom: 1px solid #77736b;
  padding-bottom: 7px;
  color: var(--rook-contact-paper);
  text-decoration: none;
}

.rook-inquiry__direct i,
.rook-contact-success i {
  display: inline-block;
  margin-left: 8px;
  font-style: normal;
  transition: transform 0.4s var(--rook-contact-ease);
}

.rook-inquiry__direct a:hover i,
.rook-contact-success a:hover i {
  transform: translate(4px, -4px);
}

.rook-contact-form {
  display: flex;
  flex-direction: column;
}

.rook-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}

.rook-contact-form label {
  position: relative;
  display: block;
  margin: 0;
  border-top: 1px solid rgba(238, 233, 223, 0.2);
  padding: 24px 0 30px;
}

.rook-contact-form label > span {
  display: block;
  margin-bottom: 20px;
  color: #77736b;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rook-contact-form input,
.rook-contact-form select,
.rook-contact-form textarea {
  width: 100%;
  min-height: 34px;
  resize: vertical;
  border: 0;
  border-radius: 0;
  outline: 0;
  background: transparent;
  box-shadow: none;
  color: var(--rook-contact-paper);
  font: 300 clamp(17px, 1.5vw, 23px) / 1.4 var(--rook-contact-sans);
}

.rook-contact-form input:focus,
.rook-contact-form select:focus,
.rook-contact-form textarea:focus {
  border: 0;
  outline: 1px solid transparent;
  box-shadow: none;
}

.rook-contact-form input::placeholder,
.rook-contact-form textarea::placeholder {
  color: rgba(238, 233, 223, 0.48);
  opacity: 1;
}

.rook-contact-form select {
  cursor: pointer;
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #aaa 50%), linear-gradient(135deg, #aaa 50%, transparent 50%);
  background-position: calc(100% - 8px), 100%;
  background-repeat: no-repeat;
  background-size: 8px 8px, 8px 8px;
}

.rook-contact-form select option {
  background: var(--rook-contact-paper);
  color: var(--rook-contact-ink);
}

.rook-contact-form .o_has_error {
  border-top-color: #d4b59f;
}

.rook-contact-form .o_has_error input,
.rook-contact-form .o_has_error select,
.rook-contact-form .o_has_error textarea {
  color: #f2c9b8;
}

.rook-file-field {
  position: relative;
  display: block;
  min-height: 108px;
  margin: 0;
  border-top: 1px solid rgba(238, 233, 223, 0.2);
  padding: 24px 0 30px;
}

.rook-file-wrap {
  display: block;
}

.rook-file-wrap > :not(.rook-file-field):not(.rook-file-list) {
  display: none !important;
}

.rook-file-field #rook-contact-files,
.rook-file-field #rook-contact-files[hidden] {
  position: absolute !important;
  display: none !important;
  visibility: hidden !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.rook-file-field > :not(.rook-file-field__label):not(.rook-file-trigger):not(#rook-contact-files) {
  display: none !important;
}

.rook-file-field__label {
  display: block;
  margin-bottom: 20px;
  color: #77736b;
  font-size: 8px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.rook-file-trigger {
  display: flex;
  width: 100%;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--rook-contact-paper);
  cursor: pointer;
  text-align: left;
}

.rook-file-trigger b {
  font-size: 10px;
  font-weight: 400;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.rook-file-trigger i {
  flex: 0 0 auto;
  font-size: 20px;
  font-style: normal;
}

.rook-file-trigger:hover b,
.rook-file-trigger:focus-visible b {
  color: #d4b59f;
}

.rook-file-list {
  display: grid;
  gap: 0;
  margin: 0 0 30px;
  border-top: 1px solid rgba(238, 233, 223, 0.12);
}

.rook-file-list:empty {
  display: none;
}

.rook-file-item {
  display: flex;
  min-width: 0;
  min-height: 44px;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid rgba(238, 233, 223, 0.12);
  padding: 6px 0;
  color: rgba(238, 233, 223, 0.72);
  font-size: 9px;
  letter-spacing: 0.045em;
}

.rook-file-item__name {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rook-file-item__remove {
  min-width: 64px;
  min-height: 40px;
  flex: 0 0 auto;
  border: 0;
  padding: 7px 0 7px 16px;
  background: transparent;
  color: #d4b59f;
  font: 500 8px / 1 var(--rook-contact-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.rook-file-item__remove:hover,
.rook-file-item__remove:focus-visible {
  color: var(--rook-contact-paper);
}

.rook-form-validation {
  display: none;
  margin: 0 0 28px;
  border-top: 1px solid #d4b59f;
  padding: 16px 0 0;
  color: #f2c9b8;
  font-size: 11px;
  line-height: 1.65;
  letter-spacing: 0.08em;
}

.rook-form-validation.is-visible {
  display: block;
}

.rook-contact-form label.rook-field-invalid {
  border-top-color: #d4b59f;
}

.rook-contact-form label.rook-field-invalid input,
.rook-contact-form label.rook-field-invalid select,
.rook-contact-form label.rook-field-invalid textarea {
  color: #f2c9b8;
}

.rook-submit-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
  border-top: 1px solid rgba(238, 233, 223, 0.2);
  padding-top: 34px;
}

.rook-submit-row p {
  max-width: 280px;
  margin: 0;
  color: #77736b;
  font-size: 10px;
  line-height: 1.6;
}

.rook-contact-submit {
  display: grid;
  width: 148px;
  height: 148px;
  flex: 0 0 148px;
  place-content: center;
  border: 1px solid #77736b;
  border-radius: 50%;
  color: var(--rook-contact-paper);
  font-size: 9px;
  letter-spacing: 0.16em;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  transition: background 0.5s, color 0.5s, transform 0.65s var(--rook-contact-ease);
}

.rook-contact-submit span {
  display: block;
  margin-top: 8px;
  font-size: 15px;
}

.rook-contact-submit:hover,
.rook-contact-submit:focus-visible {
  background: var(--rook-contact-paper);
  color: var(--rook-contact-ink);
  transform: scale(1.035);
}

.rook-contact-submit[aria-disabled="true"] {
  cursor: wait;
  opacity: 0.55;
  pointer-events: none;
}

#s_website_form_result {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.rook-contact-success {
  min-height: 620px;
  align-content: center;
  border-top: 1px solid rgba(238, 233, 223, 0.2);
  color: var(--rook-contact-paper);
}

.rook-contact-success:not(.d-none),
.rook-contact-form-shell .o_show_form_success_message + .rook-contact-success {
  display: grid !important;
}

.rook-contact-success h3 {
  margin: 34px 0 28px;
  font: 400 clamp(48px, 5vw, 78px) / 0.98 var(--rook-contact-serif);
  letter-spacing: -0.045em;
}

.rook-contact-success p {
  max-width: 460px;
  color: #aaa59c;
  font-size: 14px;
  line-height: 1.7;
}

.rook-contact-success a {
  width: max-content;
  margin-top: 34px;
  border-bottom: 1px solid #77736b;
  padding-bottom: 7px;
  font-size: 10px;
  letter-spacing: 0.15em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  :root { --rook-contact-pad: 20px; }

  html { scroll-padding-top: 72px; }

  body.rook-contact-active .rook-global-header,
  body.rook-contact-active .rook-global-header a,
  body.rook-contact-active .rook-global-header button {
    color: #050505 !important;
  }

  .rook-contact-hero {
    min-height: 92svh;
    padding-top: 128px;
  }

  .rook-contact-hero::before {
    top: -18vw;
    right: -35vw;
    width: 105vw;
  }

  .rook-contact-hero h1 {
    margin: 34px 0 80px;
    font-size: clamp(53px, 15vw, 76px);
  }

  .rook-contact-hero__foot p {
    max-width: 78vw;
    font-size: 13px;
  }

  .rook-contact-round-arrow {
    width: 48px;
    height: 48px;
  }

  .rook-inquiry {
    grid-template-columns: 1fr;
    padding-block: 100px;
  }

  .rook-inquiry__intro { position: static; }

  .rook-inquiry h2 {
    margin-bottom: 65px;
    font-size: 52px;
  }

  .rook-form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .rook-contact-form input,
  .rook-contact-form select,
  .rook-contact-form textarea {
    font-size: 17px;
  }

  .rook-contact-submit {
    width: 116px;
    height: 116px;
    flex-basis: 116px;
  }

  .rook-contact-success { min-height: 520px; }
}

@media (max-width: 460px) {
  .rook-contact-hero__foot { align-items: center; }
  .rook-contact-hero__foot p { max-width: 72vw; }
  .rook-submit-row p { max-width: 180px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rook-contact-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .rook-contact-hero__rule { animation: none; }
}

/* Standalone equivalents of Odoo's base utilities. */
.d-none,[hidden]{display:none!important}
button.rook-contact-submit{background:transparent;font-family:var(--rook-contact-sans);cursor:pointer;padding:0}
button.rook-contact-submit:hover,button.rook-contact-submit:focus-visible{background:var(--rook-contact-paper)}
.rook-contact-form :focus-visible{outline:2px solid #d4b59f;outline-offset:5px}


.rook-delivery-notice{font-size:16px;line-height:1.6;color:#eee9df;border:1px solid #77736b;padding:20px;margin:0 0 36px}.rook-delivery-notice a{text-decoration:underline}.rook-contact-form :disabled{cursor:not-allowed;opacity:.6}
