/* contact view */
.ct-hero .hero__film img { object-position: 36% 50%; }
.ct-hero__title { margin: 18px 0 22px; }
.ct-hero__voice { font-size: clamp(1.4rem, 2.6vw, 2.4rem); }

.ct-sel { user-select: all; -webkit-user-select: all; }

/* ways in: the channels on the left, the map filling the right */
.ct-ways { align-items: stretch; row-gap: 40px; }
.ct-ways__head { grid-column: 1 / span 5; min-width: 0; display: grid; gap: 24px; align-content: start; }
.ct-ways__text { grid-column: 7 / -1; min-width: 0; display: grid; gap: 24px; align-content: start; }
.ct-pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(12px, 1.6vw, 20px); }
.ct-way { min-width: 0; display: flex; flex-direction: column; gap: 12px; padding: clamp(22px, 2.6vw, 34px); background: var(--dial-2); border: 1px solid var(--line); border-radius: var(--radius); }
.ct-way--wa { background: var(--racing-deep); border-color: var(--line-strong); }
.ct-way__k { color: var(--steel-300); font-weight: 400; }
.ct-way__v { font-family: var(--f-display); font-stretch: 112%; font-weight: 300; font-size: clamp(1rem, 1.15vw, 1.15rem); line-height: 1.2; color: var(--steel-100); overflow-wrap: normal; font-variant-numeric: tabular-nums; }
.ct-way__v--big { font-size: clamp(1.7rem, 3vw, 2.7rem); line-height: 1.05; overflow-wrap: anywhere; }
.ct-way__sep { color: var(--steel-500); margin: 0 0.2em; }
.ct-way__note { color: var(--steel-300); font-size: var(--t-small); line-height: 1.55; max-width: 44ch; }
.ct-way--wa .ct-way__note { color: var(--steel-100); }
.ct-way__act { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 22px; margin-top: auto; padding-top: 8px; }

/* a quiet text button: copy a number or address (no mailto/tel on this site) */
.ct-copy { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; padding: 0; border: 0; background: none; cursor: pointer;
  font-family: var(--f-display); font-stretch: 87.5%; font-weight: 600; font-size: 0.8125rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--steel-100); }
.ct-copy::before { content: ""; width: 11px; height: 11px; border: 1px solid currentColor; box-shadow: 3px -3px 0 -1px var(--dial-2), 3px -3px 0 0 currentColor; flex: none; }
.ct-way--wa .ct-copy::before { box-shadow: 3px -3px 0 -1px var(--racing-deep), 3px -3px 0 0 currentColor; }
.ct-copy:hover { color: var(--bone); }

/* the enquiry: intro beside a paper card, the same paper as the condition report */
.ct-enq { align-items: start; row-gap: 48px; }
.ct-enq__intro { grid-column: 1 / span 5; position: sticky; top: 120px; min-width: 0; }
.ct-spec { margin-top: 8px; grid-template-columns: max-content minmax(0, 1fr); }
.ct-spec dd { color: var(--steel-300); font-family: var(--f-display); font-size: var(--t-small); letter-spacing: 0; line-height: 1.55; }

.ct-card { grid-column: 7 / span 6; min-width: 0; background: var(--paper); color: var(--paper-ink); padding: clamp(22px, 3.4vw, 48px); border-radius: var(--radius);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45), 0 2px 0 rgba(255, 255, 255, 0.4) inset; }
.ct-card :focus-visible { outline-color: var(--paper-ink); }
.ct-card__head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px 16px; align-items: end; padding-bottom: 18px; border-bottom: 2px solid var(--paper-ink); }
.ct-card__logo { grid-column: 1 / -1; color: var(--paper-ink); }
.ct-card__logo svg { height: 18px; width: auto; }
.ct-card__h { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; text-transform: uppercase; font-size: clamp(1.2rem, 2vw, 1.7rem); letter-spacing: 0.01em; line-height: 1.1; }
.ct-card__ref { color: var(--paper-muted); text-transform: uppercase; text-align: right; }
.ct-card__ref.is-issued { color: var(--paper-ink); font-weight: 500; }

.ct-form { position: relative; padding-top: 26px; }
.ct-hp { position: absolute; left: -9999px; top: 0; width: 1px; height: 1px; overflow: hidden; }
.ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 20px; }
.ct-field { grid-column: 1 / -1; min-width: 0; display: flex; flex-direction: column; }
.ct-field--half { grid-column: auto; }
.ct-field label { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin-bottom: 8px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--paper-ink); }
.ct-opt { color: var(--paper-muted); font-size: 0.6875rem; letter-spacing: 0.06em; }
.ct-field input, .ct-field textarea {
  box-sizing: border-box; width: 100%; min-height: 48px; margin: 0; padding: 12px 14px; border: 1px solid #727b76; border-radius: var(--radius);
  background: #fbf9f4; color: var(--paper-ink); font-family: var(--f-display); font-size: 16px; line-height: 1.4; transition: border-color 0.2s var(--ease); }
.ct-field textarea { min-height: 148px; resize: vertical; line-height: 1.5; }
.ct-field input::placeholder, .ct-field textarea::placeholder { color: #5f6a64; opacity: 1; }
.ct-field input:hover, .ct-field textarea:hover { border-color: var(--paper-ink); }
.ct-field input:focus-visible, .ct-field textarea:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 2px; border-color: var(--paper-ink); }
.ct-field [aria-invalid="true"] { border: 2px solid #8a2e0e; padding: 11px 13px; }
.ct-err { display: flex; align-items: flex-start; gap: 8px; margin-top: 8px; color: #8a2e0e; font-size: var(--t-small); line-height: 1.45; }
.ct-err::before { content: ""; flex: none; width: 9px; height: 9px; margin-top: 0.35em; background: currentColor; clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }

.ct-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; padding-top: 24px; border-top: 1px solid rgba(19, 32, 26, 0.25); }
.ct-actions .btn { min-height: 52px; }
.ct-actions .btn[disabled] { cursor: progress; opacity: 0.8; }
.ct-btn-ink { color: var(--paper-ink); border-color: rgba(19, 32, 26, 0.55); }
.ct-btn-ink:hover { color: var(--paper-ink); border-color: var(--paper-ink); background: rgba(19, 32, 26, 0.05); }

.ct-saved { display: flex; align-items: center; gap: 10px; margin-top: 16px; font-family: var(--f-mono); font-size: 0.75rem; letter-spacing: 0.04em; color: var(--paper-muted); }
.ct-saved.is-on::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--orange); flex: none; }
.ct-saved:not(.is-on) { margin: 0; }
.ct-formerr { margin-top: 16px; padding: 12px 16px; border: 1px solid #8a2e0e; border-radius: var(--radius); background: rgba(138, 46, 14, 0.06); color: var(--paper-ink); font-size: var(--t-small); line-height: 1.5; }
.ct-formerr:empty { display: none; }

.ct-done { padding-top: 28px; display: grid; gap: 16px; }
.ct-done__h { font-family: var(--f-display); font-stretch: 125%; font-weight: 300; text-transform: uppercase; font-size: clamp(1.6rem, 2.6vw, 2.3rem); line-height: 1.05; color: var(--paper-ink); }
.ct-done__h:focus { outline: none; }
.ct-done__h:focus-visible { outline: 2px solid var(--paper-ink); outline-offset: 4px; }
.ct-done p { max-width: 52ch; line-height: 1.6; }
.ct-done__ref { font-size: 1em; letter-spacing: 0.06em; user-select: all; }
.ct-done__alt { color: var(--paper-muted); font-size: var(--t-small); }

@media (max-width: 960px) {
  .ct-ways__head, .ct-ways__text { grid-column: 1 / -1; }
  .ct-enq__intro { grid-column: 1 / -1; position: static; }
  .ct-card { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .ct-pair { grid-template-columns: minmax(0, 1fr); }
  .ct-fields { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .ct-actions .btn { width: 100%; }
  .ct-card__ref { grid-column: 1 / -1; text-align: left; }
}

/* the work sheet beside the form */
.ct-sheet { margin: 8px 0 0; }
.ct-sheet .ed-loupe { max-width: 460px; }

.ct-maplink { color: var(--steel-100); text-decoration: underline; text-underline-offset: 4px; text-decoration-color: var(--line-strong); }
.ct-maplink:hover { color: #d97000; text-decoration-color: #d97000; }
