/* Ingenium Research — contact page (/contact/): form card on the morning band, direct contacts beside it. Values come from tokens.css. */

.cf-band { padding-top: 64px; padding-bottom: 96px; }
.cf-grid { display: grid; grid-template-columns: 7fr 5fr; gap: 64px; align-items: start; }

/* Form card */
.cf-card { background: var(--surface-raised); border: 1px solid var(--line); border-top: 3px solid var(--teal); border-radius: var(--radius-md); box-shadow: var(--shadow-lg); padding: 40px; margin-top: -120px; position: relative; z-index: 2; scroll-margin-top: 24px; }
.cf-title, .ir-band .cf-title { margin: 0 0 8px; font-family: var(--font-display); font-weight: 700; font-size: 32px; line-height: 38px; letter-spacing: -0.02em; color: var(--ink-heading); }
.cf-intro, .ir-band p.cf-intro { margin: 0 0 28px; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.cf-form { display: flex; flex-direction: column; gap: 22px; }
.cf-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.cf-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cf-field label { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ink-heading); }
.cf-req { color: var(--amber); }
.cf-field input, .cf-field select, .cf-field textarea { width: 100%; box-sizing: border-box; font: 400 16px/24px var(--font-sans); color: var(--ink); background: var(--surface); border: 1px solid #b9cdd2; border-radius: var(--radius-md); padding: 11px 14px; transition: border-color .15s ease, box-shadow .15s ease; }
.cf-field input, .cf-field select { height: 48px; }
.cf-field select { appearance: none; -webkit-appearance: none; padding-right: 40px; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%232e6171' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 16px center; }
.cf-field textarea { min-height: 160px; resize: vertical; }
.cf-field input:hover, .cf-field select:hover, .cf-field textarea:hover { border-color: var(--teal-light); }
.cf-field input:focus, .cf-field select:focus, .cf-field textarea:focus { outline: 2px solid transparent; border-color: var(--teal); box-shadow: 0 0 0 3px #2e617133; }
.cf-field [aria-invalid="true"] { border-color: #a32d2d; }
.cf-error, .ir-band p.cf-error { margin: 0; font-size: 14px; line-height: 20px; font-weight: 500; color: #a32d2d; }
.cf-summary { margin: 0 0 24px; padding: 16px 20px; border-left: 3px solid #a32d2d; background: #fbeeee; border-radius: var(--radius-sm); font-size: 15px; line-height: 24px; color: var(--ink); }
.cf-summary:focus { outline: none; }
.cf-summary p { margin: 0; }
.cf-summary ul { margin: 6px 0 0; padding-left: 20px; }
.cf-summary a { color: #a32d2d; }
.cf-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.cf-submit { display: flex; align-items: center; flex-wrap: wrap; gap: 16px 24px; padding-top: 6px; }
.cf-privacy, .ir-band p.cf-privacy { margin: 0; font-size: 14px; line-height: 20px; color: var(--ink-muted); }
.cf-privacy a { color: var(--teal); }

/* Sent */
.cf-sent { display: flex; flex-direction: column; gap: 16px; }
.cf-sent:focus { outline: none; }
.cf-sent p { font-size: 17px; line-height: 28px; }
.cf-sent a:not(.ir-btn) { color: var(--teal); }

/* Beside the form */
.cf-side { display: flex; flex-direction: column; gap: 0; }
.cf-side-block { padding: 28px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 12px; }
.cf-side-block:first-child { padding-top: 0; border-top: 0; }
.cf-side-block p { font-size: 16px; line-height: 26px; color: var(--ink); }
.cf-side .hs-eyebrow { margin-bottom: 4px; }
.cf-person { font-size: 15px; line-height: 24px; }
.cf-person + .cf-person { padding-top: 12px; }
.cf-person-name, .ir-band p.cf-person-name { margin: 0; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--ink-heading); }
.cf-person-role, .ir-band p.cf-person-role { margin: 0 0 4px; font-size: 15px; line-height: 22px; color: var(--ink-muted); }
.cf-side a:not(.ir-btn) { color: var(--teal); text-underline-offset: 3px; border-radius: var(--radius-sm); }
.cf-side a:not(.ir-btn):hover { color: var(--teal-deep); text-decoration-thickness: 2px; }
.cf-side a:focus-visible, .cf-card a:focus-visible { outline: 2px solid transparent; box-shadow: var(--focus-ring); }
.cf-call { align-self: flex-start; margin-top: 4px; }

/* The title band leaves room for the card to overlap it */
body.ing-contact .page-hero { padding-bottom: 160px; }

@media (max-width: 1080px) {
	.cf-grid { grid-template-columns: 1fr; gap: 48px; }
	.cf-card { margin-top: -96px; }
	body.ing-contact .page-hero { padding-bottom: 136px; }
}
@media (max-width: 760px) {
	.cf-band { padding-top: 40px; padding-bottom: 64px; }
	.cf-card { padding: 28px 20px; margin-top: -72px; }
	body.ing-contact .page-hero { padding-bottom: 104px; }
	.cf-row { grid-template-columns: 1fr; }
	.cf-title, .ir-band .cf-title { font-size: 26px; line-height: 32px; }
	.cf-submit .ir-btn { width: 100%; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { .cf-field input, .cf-field select, .cf-field textarea { transition: none; } }
