/* Contact form options: boxless layouts (no card, no panel, no border around the form).
   Markup comes from blocks/sections/contact-details/render.php via mm_o_render('contact-form').
   Palette: the site's own tokens only. Option 0 (Current) is untouched. */

.cf { padding: clamp(28px, 4vw, 48px) 0; position: relative; }
.cf h2 { font-size: var(--o-fs-h2, 1.7rem); margin: 0 0 8px; }
.cf .req { color: var(--brand-dark); margin-left: 2px; }
.cf :where(input, select, textarea) {
  font-family: var(--font-body); color: var(--ink); font-size: 1rem;
  background: transparent; border: 0; border-radius: 0; box-shadow: none;
  min-height: 44px; width: 100%; max-width: 100%; margin: 0; appearance: none; -webkit-appearance: none;
}
.cf :where(input, select, textarea)::placeholder { color: var(--muted); opacity: 1; }
.cf :where(select) {
  cursor: pointer; padding-right: 28px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23BC5A1B' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") no-repeat right 4px center;
}
.cf :where(textarea) { resize: vertical; line-height: 1.6; }
.cf .cfo-send { width: auto; }
.cf .cfo-send:focus-visible { outline: 3px solid var(--ink); outline-offset: 3px; }
.cf ul { list-style: none; margin: 0; padding: 0; }
.cf li { display: flex; align-items: center; gap: 10px; color: var(--ink-soft); font-size: .95rem; }
.cf li svg { width: 17px; height: 17px; flex: none; color: var(--brand); }
.cf li a { font-family: var(--font-head); font-weight: 600; color: var(--ink); overflow-wrap: anywhere; }
.cf li a:hover { color: var(--brand-dark); }
.cf .cfo-success { max-width: 520px; }

/* ---------- 1. Say it in a sentence ---------- */
.cf1__in { max-width: 760px; margin: 0 auto; }
.cf1__lede { color: var(--muted); margin: 0 0 22px; }
.cf1__row {
  display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 12px;
  margin: 0 0 14px;
}
.cf1__row label {
  font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; color: var(--ink);
  flex: none; max-width: 100%;
}
.cf1__row :where(input, select) {
  flex: 1 1 220px; width: auto; min-width: 0;
  font-family: var(--font-head); font-weight: 600; font-size: 1.15rem; color: var(--brand-dark);
  border-bottom: 2px solid var(--accent-sage); padding: 6px 2px;
  transition: border-color .2s ease, background-color .2s ease;
}
.cf1__row :where(input, select, textarea)::placeholder { font-weight: 500; color: var(--muted); }
.cf1__row :where(input, select, textarea):hover { border-color: var(--sage-deep); }
.cf1__row :where(input, select, textarea):focus { outline: none; border-color: var(--brand); background-color: var(--gold-tint); }
.cf1__row :where(input, select, textarea):focus-visible { outline: 2px solid transparent; }
.cf1__row--msg { flex-direction: column; align-items: stretch; margin-top: 8px; }
.cf1__row--msg textarea {
  font-size: 1.05rem; border-bottom: 2px solid var(--accent-sage); padding: 8px 2px; min-height: 96px;
  line-height: 1.6;
  transition: border-color .2s ease;
}
.cf1__row--msg textarea:focus { background-color: transparent; }
.cf1__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 18px 32px; margin-top: 18px; }
.cf1__facts { display: flex; flex-wrap: wrap; gap: 6px 22px; flex: 1 1 100%; margin-top: 4px; }

/* ---------- 2. Open two columns ---------- */
.cf2__grid { display: grid; grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); gap: clamp(32px, 6vw, 88px); align-items: start; }
.cf2__side p { color: var(--muted); max-width: 40ch; margin: 0 0 18px; }
.cf2__facts { display: grid; gap: 10px; margin-bottom: 20px; }
.cf2__side .cf-art { display: block; width: min(300px, 80%); height: auto; margin-top: 6px; }
.cfo-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 28px; }
.cfo-f { min-width: 0; display: flex; flex-direction: column; }
.cfo-f--wide { grid-column: 1 / -1; }
.cfo-f label { font-family: var(--font-head); font-weight: 700; font-size: .88rem; color: var(--ink); margin-bottom: 2px; }
.cf2 .cfo-f :where(input, select, textarea) { border-bottom: 2px solid var(--accent-sage); padding: 8px 2px; transition: border-color .2s ease, background-color .2s ease; }
.cf2 .cfo-f textarea { min-height: 110px; }
.cf2 .cfo-f :where(input, select, textarea):hover { border-color: var(--sage-deep); }
.cf2 .cfo-f :where(input, select, textarea):focus { outline: none; border-color: var(--brand); background-color: rgba(255,255,255,.5); }

/* ---------- 3. Tinted band, flowing row, hills ---------- */
.cf3 { background: var(--accent-yellow); padding: clamp(28px, 4vw, 44px) 0 0; overflow: hidden; }
.cf3 .wrap { position: relative; z-index: 1; }
.cf3__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 14px 40px; margin-bottom: 22px; }
.cf3__head p { color: var(--ink-soft); margin: 0; max-width: 52ch; }
.cf3__facts { display: grid; gap: 8px; }
.cfo-grid--row { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px 18px; align-items: end; }
.cf3 .cfo-f :where(input, select, textarea) {
  background-color: #fff; border-bottom: 2px solid var(--sage-deep);
  border-radius: 12px 12px 0 0; padding: 10px 14px; transition: border-color .2s ease, background-color .2s ease;
}
.cf3 .cfo-f :where(select) { background-position: right 12px center; padding-right: 38px; }
.cf3 .cfo-f textarea { min-height: 84px; }
.cf3 .cfo-f :where(input, select, textarea):hover { border-color: var(--sage-deep); }
.cf3 .cfo-f :where(input, select, textarea):focus { outline: none; border-color: var(--brand); background-color: #fff; }
.cf3 .cfo-f--wide { grid-column: 1 / span 3; }
.cf3 .cfo-f--send { grid-column: 4; }
.cf3 .cfo-f--send .btn { width: 100%; justify-content: center; }
.cf3 .cf-art--skyline { display: block; width: 100%; height: clamp(64px, 9vw, 120px); margin-top: clamp(14px, 2vw, 26px); }

@media (max-width: 1000px) {
  .cfo-grid--row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cf3 .cfo-f--wide { grid-column: 1 / -1; }
  .cf3 .cfo-f--send { grid-column: 1 / -1; }
  .cf3 .cfo-f--send .btn { width: auto; }
}
@media (max-width: 760px) {
  .cf2__grid { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .cf2__side .cf-art { width: min(220px, 60%); }
  .cfo-grid, .cfo-grid--row { grid-template-columns: minmax(0, 1fr); }
  .cf1__row label { font-size: 1.05rem; }
  .cf1__row :where(input, select) { flex-basis: 100%; }
  .cf .cfo-send { width: 100%; justify-content: center; }
  .cf1__foot .cfo-send { width: 100%; }
}
@media (prefers-reduced-motion: reduce) { .cf * { transition: none !important; } }

.cf3 .req { color: var(--ink); }

/* ---------- Polish pass: field edges at 3:1, calmer button, phone stacking ---------- */
.cf1__row :where(input, select),
.cf1__row--msg textarea,
.cf2 .cfo-f :where(input, select, textarea) { border-bottom-color: var(--sage-deep); }
.cf1__row :where(input, select, textarea):hover,
.cf2 .cfo-f :where(input, select, textarea):hover { border-color: var(--ink-soft); }
.cf1__row :where(input, select, textarea):focus,
.cf2 .cfo-f :where(input, select, textarea):focus,
.cf3 .cfo-f :where(input, select, textarea):focus { border-color: var(--brand); box-shadow: 0 2px 0 var(--brand); }
.cf1__row label .req, .cf1__row--msg label .req { margin-left: 3px; }
.cf2 .cfo-f--wide .cfo-send { justify-self: start; align-self: flex-start; }
.cf2__side h2, .cf3__head h2, .cf1__in h2 { line-height: 1.2; }
.cf3 .cfo-f :where(input, select, textarea) { border-radius: var(--r-sm) var(--r-sm) 0 0; }
.cf .cfo-send { white-space: nowrap; min-height: 48px; }
@media (max-width: 760px) {
  .cf2__side .cf-art { display: none; }
  .cf2__facts { margin-bottom: 4px; }
  .cf2 .cfo-f--wide .cfo-send { align-self: stretch; }
}
