/* Contact + Booking page layout.
   The photography sits beside the content and is never covered by it, which is
   the whole point of this layout: a form panel floating over someone's face was
   what made the previous pages feel wrong. */

.lumen-c {
  --plum: #3B2438;
  --plum-lt: #5F4857;
  --blush: #F5F0F2;
  --ink: #2A1B27;
  --line: rgba(59, 36, 56, .16);
  --sans: "Tenor Sans", Optima, Candara, "Segoe UI", sans-serif;
  --serif: Lora, Georgia, "Times New Roman", serif;

  /* the band reaches the full viewport even though it sits inside the
     theme's width-constrained container */
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background: var(--blush);
  padding: clamp(40px, 5vh, 64px) clamp(20px, 5vw, 64px);
  color: var(--ink);
  font-family: var(--serif);
  overflow-x: clip;
}

.lumen-c-inner {
  max-width: 1360px;
  margin: 0 auto;
  display: grid;
  gap: clamp(28px, 4vw, 56px);
}

@media (min-width: 900px) {
  .lumen-c-inner { grid-template-columns: 1.05fr .95fr; align-items: start; }
}

/* ---------- headings ---------- */

.lumen-c .lumen-eyebrow {
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .22em;
  font-size: 13px;
  color: var(--plum-lt);
  margin: 0 0 10px;
}

.lumen-c h1.lumen-title {
  font-family: var(--sans);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: .06em;
  line-height: 1.08;
  font-size: clamp(30px, 5.2vw, 54px);
  color: var(--plum);
  margin: 0;
  text-wrap: balance;
}

.lumen-c .lumen-rule {
  width: 64px;
  height: 1px;
  background: var(--plum);
  opacity: .5;
  margin: 20px 0 22px;
}

.lumen-c .lumen-lede {
  font-size: clamp(16px, 1.5vw, 19px);
  line-height: 1.6;
  max-width: 46ch;
  margin: 0 0 clamp(22px, 3vw, 34px);
  text-wrap: pretty;
}

/* ---------- scheduler slot ---------- */

.lumen-c .lumen-embed-slot {
  border: 1px dashed var(--plum-lt);
  background: rgba(59, 36, 56, .05);
  padding: 16px 18px;
  margin: 0 0 20px;
  border-radius: 2px;
}

.lumen-c .lumen-embed-slot p { margin: 0; font-size: 15px; line-height: 1.55; }
.lumen-c .lumen-embed-slot strong { font-family: var(--sans); letter-spacing: .06em; color: var(--plum); }

/* ---------- the form, restyled onto the blush ground ---------- */

.lumen-c .wpcf7 { max-width: 640px; }
.lumen-c .wpcf7 p { margin: 0 0 12px; }

.lumen-c .wpcf7 input[type=text],
.lumen-c .wpcf7 input[type=email],
.lumen-c .wpcf7 input[type=tel],
.lumen-c .wpcf7 textarea {
  width: 100%;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: 14px 16px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .1em;
  color: var(--ink);
  box-shadow: none;
}

.lumen-c .wpcf7 input::placeholder,
.lumen-c .wpcf7 textarea::placeholder {
  color: var(--plum-lt);
  opacity: .85;
  font-size: 14px;
  letter-spacing: .1em;
}

.lumen-c .wpcf7 input:focus,
.lumen-c .wpcf7 textarea:focus {
  outline: 2px solid var(--plum);
  outline-offset: 1px;
  border-color: var(--plum);
}

.lumen-c .wpcf7 .wpcf7-list-item-label {
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
}

/* the theme ships its own button skin, so this one has to outrank it */
.lumen-c .wpcf7 input.wpcf7-submit[type=submit] {
  background: var(--plum) !important;
  color: #fff !important;
  border: 0;
  border-radius: 2px;
  padding: 15px 34px;
  font-family: var(--sans);
  font-size: 14px;
  letter-spacing: .18em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background .2s ease;
}

.lumen-c .wpcf7 input.wpcf7-submit[type=submit]:hover { background: #4B2F47 !important; }

/* The theme lays these rows out with floated percentage columns and a
   percentage gutter. Left alone, that gutter fights the grid and staggers the
   fields diagonally, so the columns are reset to plain grid items here. */
.lumen-c .wpcf7 .row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0 14px;
  margin: 0;
}

/* The theme clearfixes these rows with ::before and ::after. Those pseudo
   elements become grid items the moment the row becomes a grid, and they take
   the first and last cells, which is what shunted every field one place along. */
.lumen-c .wpcf7 .row::before,
.lumen-c .wpcf7 .row::after { display: none; }

@media (min-width: 560px) {
  .lumen-c .wpcf7 .row { grid-template-columns: 1fr 1fr; }
}

.lumen-c .wpcf7 .row > .col,
.lumen-c .wpcf7 .row > .col.span_6,
.lumen-c .wpcf7 .row > .col.span_12 {
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  float: none !important;
  min-height: 0;
}

.lumen-c .wpcf7 .row > .col.span_12 { grid-column: 1 / -1; }

/* ---------- ways to reach the practice ---------- */

/* the theme puts a marker on every list item in the content area */
.lumen-c .lumen-ways,
.lumen-c .lumen-ways li { list-style: none !important; }
.lumen-c .lumen-ways li::before,
.lumen-c .lumen-ways li::marker { content: none !important; display: none !important; }

.lumen-c .lumen-ways {
  margin: clamp(26px, 3vw, 38px) 0 0;
  padding: 0;
  display: grid;
  gap: 0 clamp(20px, 3vw, 40px);
  border-top: 1px solid var(--line);
}

/* two up on a wide screen, so the column does not tower over the photographs */
@media (min-width: 700px) {
  .lumen-c .lumen-ways { grid-template-columns: 1fr 1fr; }
}

.lumen-c .lumen-ways li {
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
}

.lumen-c .lumen-ways strong {
  display: block;
  font-family: var(--sans);
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: 13px;
  color: var(--plum);
  margin-bottom: 5px;
  font-weight: 400;
}

.lumen-c .lumen-ways span,
.lumen-c .lumen-ways a { font-size: 16px; line-height: 1.5; }
.lumen-c .lumen-ways a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }
.lumen-c .lumen-ways a:hover { color: var(--plum-lt); }

/* ---------- the gallery column ---------- */

.lumen-c-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: start; }

.lumen-c-gallery img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 2px;
}

.lumen-c-gallery .lumen-c-wide { grid-column: 1 / -1; }

.lumen-c-gallery .lumen-c-note {
  align-self: end;
  padding: 0 2px 4px;
}

.lumen-c-gallery .lumen-c-note p {
  margin: 0;
  font-size: 15px;
  line-height: 1.6;
  text-wrap: pretty;
}

.lumen-c-gallery .lumen-c-note .lumen-eyebrow { margin-bottom: 6px; }

@media (min-width: 900px) {
  /* the offset is what stops the two columns reading as a plain 50/50 split */
  .lumen-c-gallery { margin-top: clamp(20px, 4vw, 54px); }
}

@media (max-width: 620px) {
  .lumen-c-gallery { grid-template-columns: 1fr; }
  .lumen-c-gallery .lumen-c-note { padding-top: 4px; }
}
