/* Book a call · London from above as the plate; then the request itself as a split: the form on the
   paper at left, a photograph of brass doors (the way in) running off the right edge of the page. */

body[data-page="call"] {
  /* the hero takes v7's --gutter, which already puts its text on the logo's line */
  --hero: url("../img/photos/hero-call.jpg");
  --hero-pos: 50% 60%;
  --hero-blend: normal;
  --call-side: url("../img/photos/brass-knobs.jpg");
}

/* ── plate (v7 already drops the padding under the hero's section and keeps its links white) ── */
body[data-page="call"] .hero {
  min-height: clamp(420px, 54vh, 580px);
  background-image:
    linear-gradient(90deg, rgba(11, 19, 34, .9) 0%, rgba(11, 19, 34, .66) 46%, rgba(11, 19, 34, .2) 100%),
    linear-gradient(0deg, rgba(11, 19, 34, .62), rgba(11, 19, 34, 0) 55%),
    var(--hero);
}
body[data-page="call"] .hero .lede a:hover { text-decoration-color: #fff }

/* ── the request: form | photograph to the edge; the photograph runs from the form's top rule to its button ── */
body[data-page="call"] .poster > section.call {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  column-gap: clamp(3rem, 7vw, 7.5rem);
  align-items: start;
  padding-block: clamp(3.2rem, 5vw, 4.8rem) 0;
}
body[data-page="call"] .poster > section.call::after {
  content: ""; grid-column: 2; grid-row: 1; align-self: stretch;
  min-height: 30rem;
  margin-right: calc(-1 * var(--gutter));
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--navy-deep) var(--call-side) 52% 50% / cover no-repeat;
}
body[data-page="call"] .call > form,
body[data-page="call"] .call > .confirm { grid-column: 1; grid-row: 1; max-width: 33rem; margin: 0 }
body[data-page="call"] .call > form {
  gap: 1.7rem;
  padding-top: 1.6rem;
  border-top: 2px solid var(--fg);
  position: relative;
}
/* Ink's red tab on the rule */
body[data-page="call"] .call > form::before {
  content: ""; position: absolute; left: 0; top: -2px; width: 4.5rem; height: 4px; background: var(--red);
}

/* fields: hairline-ruled */
body[data-page="call"] .call label:not(.check) { display: grid; gap: .55rem; color: var(--fg) }
body[data-page="call"] .call input:not([type="checkbox"]) {
  margin: 0; background: transparent;
  border: 0; border-bottom: 1.5px solid #7A8292; border-radius: 0;
  padding: .55rem 0 .7rem;
  font-family: var(--serif); font-size: 1.3rem; color: var(--fg);
  transition: border-color .15s ease, box-shadow .15s ease;
}
body[data-page="call"] .call input:not([type="checkbox"]):hover { border-bottom-color: var(--fg) }
body[data-page="call"] .call input:not([type="checkbox"]):focus {
  outline: none; border-bottom-color: var(--red); box-shadow: 0 1.5px 0 0 var(--red);
}
body[data-page="call"] .call input:focus-visible { outline: 2px solid var(--fg); outline-offset: 4px }
body[data-page="call"] .call input:-webkit-autofill { -webkit-text-fill-color: var(--fg); transition: background-color 600000s 0s }
body[data-page="call"] .call .check {
  margin-top: .3rem; padding: 1.2rem 1.3rem;
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  font-size: .92rem; line-height: 1.55; color: #283246; gap: .85rem;
}
body[data-page="call"] .call .check input { width: 19px; height: 19px; margin-top: .12rem }
body[data-page="call"] .call .check a { color: var(--red); text-decoration-color: rgba(184, 50, 58, .4) }
body[data-page="call"] .call .btn { margin-top: .4rem; padding: 1rem 2.2rem; font-size: 1rem }

body[data-page="call"] .call > .confirm {
  align-self: center;
  padding: 1.8rem 1.9rem;
  background: var(--white); border: 1px solid var(--line); border-left: 4px solid var(--red); border-radius: 0 10px 10px 0;
  font-family: var(--serif); font-size: 1.25rem; line-height: 1.55; color: var(--fg);
}

/* ── tablet: an even split; phone: the form first, the photograph after it ── */
@media (max-width: 900px) {
  body[data-page="call"] .poster > section.call { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 2.4rem }
}
@media (max-width: 700px) {
  body[data-page="call"] .poster > section.call { grid-template-columns: minmax(0, 1fr); row-gap: 2.6rem; padding-top: 3.4rem }
  body[data-page="call"] .poster > section.call::after {
    grid-column: 1; grid-row: 2; min-height: 0; aspect-ratio: 16 / 10;
    margin-right: 0; border-radius: var(--radius);
  }
  body[data-page="call"] .call > form,
  body[data-page="call"] .call > .confirm { max-width: 36rem }
}
@media (max-width: 640px) {
  body[data-page="call"] .hero { min-height: 540px }
  body[data-page="call"] .poster > section.call::after { aspect-ratio: 4 / 3 }
  body[data-page="call"] .call .check { padding: 1rem 1.05rem }
}

/* narrow screens: the text spans the plate, so the veil runs bottom to top */
@media (max-width: 860px) {
  body[data-page="call"] .hero {
    background-image:
      linear-gradient(0deg, rgba(11, 19, 34, .9) 0%, rgba(11, 19, 34, .7) 55%, rgba(11, 19, 34, .3) 100%),
      linear-gradient(0deg, rgba(11, 19, 34, 0), rgba(11, 19, 34, 0)),
      var(--hero);
  }
}
