/* Preview-only contact direction. Does not change contact.html. */
body.contact-page.contact-study { background: var(--direction-navy); color: #fff; }
body.contact-study .enquiry-main { display: block; padding: 0 var(--pad) clamp(4rem, 7vw, 7rem); --pink: #c20d4a; --lime: #ff246a; color: #fff; }
body.contact-study .contact-banner { height: clamp(8rem, 23vw, 30rem); margin-bottom: clamp(2.5rem, 5vw, 5rem); overflow: hidden; }
body.contact-study .contact-wall-image { height: 100%; aspect-ratio: auto; object-fit: cover; object-position: 50% 42%; }
body.contact-study .contact-study-layout { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); grid-template-areas: "intro form" "direct form" "note form"; grid-template-rows: auto auto 1fr; column-gap: clamp(2rem, 5vw, 6rem); row-gap: 2.5rem; align-items: start; max-width: 88rem; margin-inline: auto; }
body.contact-study .enquiry-intro { grid-area: intro; min-width: 0; }
body.contact-study .enquiry-intro h1 { font-size: clamp(3rem, 5.6vw, 6.5rem); line-height: 1.06; }
body.contact-study .enquiry-intro h1 em { color: #ff246a; }
body.contact-study .contact-go-track { padding-top: .1em; }
body.contact-study .enquiry-intro > p { margin: 1.75rem 0 0; color: #eeedf3; max-width: 34ch; font-size: clamp(1.125rem, 1.5vw, 1.4rem); line-height: 1.65; }
body.contact-study .contact-direct { grid-area: direct; padding-top: 1.75rem; border-top: 1px solid #ffffff38; max-width: 34rem; min-width: 0; }
body.contact-study .contact-direct h2 { font-size: 1rem; line-height: 1.5; letter-spacing: 0; }
body.contact-study .direct-email { display: block; width: fit-content; max-width: 100%; margin-top: .75rem; color: #fff; font-size: clamp(1rem, 1.45vw, 1.35rem); line-height: 1.7; padding-block: .2rem; }
body.contact-study .contact-phone { display: block; width: fit-content; margin-top: .3rem; padding-block: .3rem; color: #fff; font-size: 1.2rem; line-height: 1.7; font-weight: 500; }
body.contact-study .contact-direct > p { max-width: 37ch; margin-top: 1rem; font-size: 1rem; line-height: 1.65; color: #c9cbd9; }
body.contact-study .contact-direct a:focus-visible { outline: 3px solid #ff82ae; outline-offset: 5px; }
body.contact-study .contact-study-note { grid-area: note; width: min(85%, 20rem); margin: 0 0 0 auto; transform: rotate(-5deg); }
body.contact-study .contact-study-note img { display: block; width: 100%; height: auto; }
body.contact-study .enquiry-form { grid-area: form; min-width: 0; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 1.25rem; background: #f4f3ef; color: #0c1231; padding: clamp(1.5rem, 3vw, 3rem); border-radius: 8px; border-top: 5px solid #ff246a; box-shadow: 0 14px 35px #03061b26; }
body.contact-study .enquiry-form > div { min-width: 0; }
body.contact-study .contact-form-heading { margin-bottom: .3rem; }
body.contact-study .contact-form-heading h2 { font-size: clamp(1.65rem, 2.6vw, 2.5rem); line-height: 1.16; margin: 0; text-wrap: balance; }
body.contact-study .contact-form-heading > p { margin-top: .65rem; font-size: 1rem; color: #535567; }
body.contact-study .enquiry-form label, body.contact-study .topic-picker legend { font-size: .9375rem; line-height: 1.5; font-weight: 600; }
body.contact-study .enquiry-form label span, body.contact-study .topic-picker legend span { font-weight: 400; }
body.contact-study .enquiry-form input:not([type=radio]):not([type=checkbox]), body.contact-study .enquiry-form textarea { width: 100%; min-width: 0; margin-top: .45rem; border: 1px solid #8b8d99; border-radius: 4px; background: #fff; color: #0c1231; color-scheme: light; font-size: 1rem; line-height: 1.5; padding: .7rem .8rem; }
body.contact-study .enquiry-form textarea { resize: vertical; min-height: 8rem; }
body.contact-study .enquiry-form input:focus, body.contact-study .enquiry-form textarea:focus { background: #fff; border-color: #c20d4a; box-shadow: none; }
body.contact-study .enquiry-form :is(input, textarea, button):focus-visible { outline: 3px solid #c20d4a; outline-offset: 3px; }
body.contact-study .enquiry-form .topic-options { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: .6rem; }
body.contact-study .topic-picker legend { margin-bottom: .65rem; }
body.contact-study .topic-unsure { grid-column: 1 / -1; }
body.contact-study .topic-option > span { display: flex; flex-direction: row; align-items: center; gap: .6rem; min-height: 48px; height: 100%; padding: .65rem .75rem; border: 1px solid #8b8d99; border-radius: 5px; background: #fff; color: #0c1231; font-size: .9rem; font-weight: 500; line-height: 1.4; transform: none; box-shadow: none; }
body.contact-study .topic-option > span::before { content: ""; width: 14px; height: 14px; flex: 0 0 14px; border: 1.5px solid #717382; border-radius: 50%; background: #fff; }
body.contact-study .topic-option input:checked + span { background: #ffe7ef; border-color: #c20d4a; color: #0c1231; box-shadow: inset 0 0 0 1px #c20d4a; }
body.contact-study .topic-option input:checked + span::before { border-color: #c20d4a; background: #c20d4a; box-shadow: inset 0 0 0 3px #fff; }
body.contact-study .topic-option input:focus-visible + span { outline: 3px solid #c20d4a; outline-offset: 3px; }
body.contact-study .topic-option:hover > span { border-color: #c20d4a; transform: none; box-shadow: none; }
body.contact-study .contact-choice-help, body.contact-study .contact-field-hint { color: #535567; font-size: .8125rem; line-height: 1.5; margin: .65rem 0 0; }
body.contact-study .contact-field-hint { margin-top: .3rem; }
body.contact-study .message-count { color: #535567; font-size: .8125rem; }
body.contact-study .message-count[hidden] { display: none; }
body.contact-study .enquiry-form .form-consent { gap: .7rem; font-size: .8125rem; line-height: 1.6; font-weight: 400; align-items: flex-start; }
body.contact-study .form-consent input { margin-top: .15rem; accent-color: #c20d4a; }
body.contact-study .form-consent a { color: #0c1231; text-underline-offset: .2em; }
html body.contact-study .rogue-button.enquiry-submit { background: #c20d4a; color: #fff; min-height: 48px; font-size: 1rem; }
html body.contact-study .rogue-button.enquiry-submit:disabled { opacity: 1; cursor: not-allowed; }
body.contact-study .form-note { margin-top: .8rem; color: #535567; font-size: .75rem; line-height: 1.5; }
body.contact-study .contact-footer { padding-bottom: 5rem; }
.contact-review { position: fixed; left: 1rem; bottom: max(.75rem, env(safe-area-inset-bottom)); z-index: 85; display: flex; align-items: center; gap: .8rem; max-width: calc(100vw - 2rem); border: 1px solid #fff5; padding: .35rem .75rem; border-radius: 8px; background: #0c1231f5; color: #fff; font: 500 .75rem/1.3 var(--display); box-shadow: 0 3px 12px #0003; }
.contact-review a { display: inline-flex; align-items: center; min-height: 36px; padding: .2rem; color: #ffc2d6; text-decoration: underline; text-underline-offset: 3px; }
.contact-review a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (max-width: 1000px) {
  body.contact-study .contact-study-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); column-gap: 2rem; }
  body.contact-study .enquiry-form { grid-template-columns: minmax(0, 1fr); padding: 1.5rem; }
  body.contact-study .enquiry-intro h1 { font-size: clamp(2.75rem, 5.4vw, 4rem); }
}
@media (max-width: 760px) {
  body.contact-study .contact-study-layout { grid-template-columns: minmax(0, 1fr); grid-template-areas: "intro" "form" "direct" "note"; grid-template-rows: auto; gap: 2rem; }
  body.contact-study .contact-banner { height: clamp(6.5rem, 23vw, 12rem); margin-bottom: 2rem; }
  body.contact-study .enquiry-intro h1 { font-size: clamp(2.6rem, 10vw, 3.5rem); }
  body.contact-study .enquiry-intro > p { margin-top: 1.25rem; font-size: 1.0625rem; max-width: 38ch; line-height: 1.6; }
  body.contact-study .enquiry-form { padding: 1.25rem; gap: 1.2rem; }
  body.contact-study .contact-form-heading h2 { font-size: 1.75rem; }
  body.contact-study .contact-study-note { width: min(70%, 17rem); }
  body.contact-study .contact-direct { max-width: none; }
  .contact-review { left: .5rem; max-width: calc(100vw - 1rem); gap: .5rem; padding: .25rem .5rem; font-size: .625rem; }
  .contact-review a { min-height: 40px; }
}
@media (max-width: 360px) {
  body.contact-study .enquiry-form .topic-options { grid-template-columns: minmax(0, 1fr); }
}
@media (prefers-reduced-motion: reduce) {
  body.contact-study .enquiry-form * { transition: none; }
}
@media print { .contact-review { display: none; } }
