/* ==========================================================================
   Contact — letterhead hero, directory, enquiry form, locations
   ========================================================================== */

/* ---------- Hero / letterhead ---------- */
.ct-hero { padding-bottom: clamp(88px, 11vw, 180px); }
.ct-hero__title { max-width: 18ch; }
.ct-hero__meta { grid-column: 8 / span 5; display: flex; flex-direction: column; align-items: flex-end; gap: 6px; color: var(--muted); text-align: right; }

.ct-sheet { margin-top: clamp(64px, 8vw, 128px); border-bottom: 1px solid var(--rule); }
.ct-line {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline; padding: clamp(22px, 2.4vw, 36px) 0 clamp(24px, 2.6vw, 40px);
  border-top: 1px solid var(--rule-strong);
}
.ct-line + .ct-line { border-top-color: var(--rule); }
.ct-line__k { grid-column: 1 / span 3; color: var(--muted); }
.ct-line__v {
  grid-column: 4 / span 7; font-family: var(--f-display); font-weight: 400;
  font-size: clamp(30px, 5.1vw, 96px); line-height: 1; letter-spacing: -.02em;
  font-variant-numeric: lining-nums; white-space: nowrap; width: fit-content;
  background: linear-gradient(var(--madder), var(--madder)) 0 100% / 0 1px no-repeat;
  padding-bottom: .08em; transition: background-size .7s var(--ease), color .4s;
}
.ct-line__v:hover { background-size: 100% 1px; }
.ct-line__act { grid-column: 11 / span 2; display: flex; justify-content: flex-end; align-items: center; gap: 22px; }

/* Copy affordance: quiet stitched underline, no icon */
.ct-copy {
  position: relative; display: inline-flex; align-items: center; min-height: 44px;
  color: var(--muted); transition: color .3s;
}
.ct-copy::after { content: ""; position: absolute; left: 0; right: 0; bottom: 10px; border-bottom: 1px dashed currentColor; opacity: .6; }
.ct-copy:hover { color: var(--fg); }
.ct-copy.is-copied { color: var(--madder); }
.ct-copy.is-copied::after { border-bottom-style: solid; }

/* ---------- Directory ---------- */
.ct-dir__list { border-top: 1px solid var(--rule-strong); }
.ct-row {
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap);
  align-items: baseline; padding: clamp(24px, 2.6vw, 40px) 0; border-bottom: 1px solid var(--rule);
}
.ct-row__k { grid-column: 1 / span 3; display: flex; flex-direction: column; gap: 6px; }
.ct-row__sub { color: var(--muted); }
.ct-row__v { grid-column: 4 / span 6; font-family: var(--f-display); font-size: clamp(24px, 2.3vw, 40px); line-height: 1.18; letter-spacing: -.01em; }
.ct-row__v address { font-style: normal; }
.ct-row__v a { overflow-wrap: break-word; transition: color .3s; }
.ct-row__v a:hover { color: var(--madder); }
.ct-row__act { grid-column: 10 / span 3; justify-self: end; align-self: center; }

/* ---------- Enquiry ---------- */
.ct-enq__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--gap); align-items: start; }
.ct-enq__intro { grid-column: 1 / span 4; position: sticky; top: calc(var(--header-h) + 32px); }
.ct-enq__intro .h2 { margin: 22px 0 28px; font-size: clamp(40px, 4vw, 72px); }
.ct-enq__intro .body-l { max-width: 36ch; }
.ct-enq__note { margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--rule); color: var(--muted); max-width: 36ch; }

.ct-form { grid-column: 6 / span 7; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: clamp(24px, 3vw, 56px); row-gap: clamp(36px, 3.6vw, 56px); }
.ct-form__req { grid-column: 1 / -1; margin-bottom: -8px; }
.field { display: flex; flex-direction: column; min-width: 0; }
.field--wide { grid-column: 1 / -1; }
.field__label { font-size: clamp(16px, 1.15vw, 19px); color: var(--muted); transition: color .3s; }
.field:focus-within .field__label { color: var(--madder); }
.field__input {
  width: 100%; margin-top: 10px; padding: 8px 0 12px; border: 0; border-radius: 0;
  border-bottom: 1px solid var(--rule-strong); background: transparent; color: var(--fg);
  font-family: var(--f-display); font-size: clamp(22px, 1.8vw, 30px); line-height: 1.25;
  -webkit-appearance: none; appearance: none; transition: border-color .3s, box-shadow .3s;
}
.field__input:focus { outline: none; border-bottom-color: var(--madder); box-shadow: inset 0 -1px 0 var(--madder); }
.field__input:focus-visible { outline: none; }
.field__input[aria-invalid="true"] { border-bottom-color: var(--madder); }
.field__area { resize: vertical; min-height: 9em; line-height: 1.4; }
.field__select { position: relative; }
.field__select select { padding-right: 32px; cursor: pointer; text-overflow: ellipsis; }
.field__select::after {
  content: ""; position: absolute; right: 6px; top: 50%; width: 9px; height: 9px; pointer-events: none;
  border-right: 1px solid currentColor; border-bottom: 1px solid currentColor; transform: translateY(-60%) rotate(45deg);
}
.field__select select option { font-family: var(--f-body); font-size: 16px; color: var(--ink); }
.field__error { margin-top: 10px; font-size: 14.5px; line-height: 1.45; color: var(--madder); }
.field__error[hidden] { display: none; }

.ct-form__foot { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; margin-top: 8px; }
.ct-form__hint { font-size: 15px; max-width: 40ch; }
.ct-form__status { grid-column: 1 / -1; font-size: 15px; color: var(--muted); min-height: 1px; }
.ct-form__status:empty { display: none; }

/* ---------- Locations ---------- */
.ct-maps { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 4vw, 72px); }
.ct-map { display: flex; flex-direction: column; }
.ct-map__head { padding-top: 18px; border-top: 1px solid var(--rule-strong); display: flex; flex-direction: column; gap: 10px; }
.ct-map__frame { position: relative; margin-top: 24px; aspect-ratio: 4 / 3; background: var(--stone); overflow: hidden; }
.ct-map__frame iframe {
  position: absolute; inset: 0; width: 100%; height: 100%; border: 0;
  filter: grayscale(1) sepia(.22) contrast(.94) brightness(1.03); opacity: 0; transition: opacity .8s var(--ease), filter .6s var(--ease);
}
.ct-map__frame iframe.is-loaded { opacity: 1; }
.ct-map__frame:hover iframe { filter: grayscale(.35) sepia(.1); }
.ct-map__ph { position: absolute; inset: 0; display: grid; place-items: center; color: var(--muted); }
.ct-map__foot { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px 32px; flex-wrap: wrap; padding-top: 18px; }
.ct-map__foot address { font-style: normal; color: var(--muted); font-size: 15px; max-width: 40ch; }

.ct-map__travel { margin-top: 18px; font-size: 15px; line-height: 1.5; max-width: 52ch; }

.ct-strip { margin-top: clamp(80px, 10vw, 160px); display: grid; grid-template-columns: minmax(0, 9fr) minmax(0, 16fr); gap: clamp(16px, 2vw, 32px); align-items: start; max-width: 1530px; }
.ct-strip__fig--f1 .ct-strip__media { aspect-ratio: 3 / 4; }
.ct-strip__fig--f2 { max-width: 1126px; }
.ct-strip__fig--f2 .ct-strip__media { aspect-ratio: 4 / 3; }
.ct-strip__media img { object-position: 50% 50%; }
.ct-strip__cap { margin-top: 14px; color: var(--muted); }
.ct-strip__note { grid-column: 1 / -1; margin-top: clamp(8px, 1vw, 16px); padding-top: 16px; border-top: 1px solid var(--rule); color: var(--muted); }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .ct-hero__meta { grid-column: 1 / -1; align-items: flex-start; text-align: left; margin-top: 24px; flex-direction: row; gap: 24px; }
  .ct-line__k { grid-column: 1 / -1; margin-bottom: 14px; }
  .ct-line__v { grid-column: 1 / span 9; }
  .ct-line__act { grid-column: 10 / span 3; }
  .ct-row__k { grid-column: 1 / span 4; }
  .ct-row__v { grid-column: 5 / span 8; }
  .ct-row__act { grid-column: 5 / span 8; justify-self: start; margin-top: 16px; }
  .ct-enq__intro { grid-column: 1 / -1; position: static; margin-bottom: 56px; }
  .ct-form { grid-column: 1 / -1; }
}

@media (max-width: 720px) {
  .ct-hero__meta { flex-direction: column; gap: 4px; }
  .ct-line { padding-bottom: 20px; }
  .ct-line__v { grid-column: 1 / -1; font-size: clamp(28px, 8.4vw, 44px); }
  .ct-line__act { grid-column: 1 / -1; justify-content: flex-start; margin-top: 8px; }
  .ct-row__k, .ct-row__v, .ct-row__act { grid-column: 1 / -1; }
  .ct-row__k { margin-bottom: 14px; }
  .ct-row__v { font-size: 22px; }
  .ct-row__act { margin-top: 8px; }
  .ct-form { grid-template-columns: 1fr; }
  .ct-maps { grid-template-columns: 1fr; gap: 56px; }
  .ct-strip { grid-template-columns: 1fr; row-gap: 36px; }
  .ct-strip__note { margin-top: 0; }
}

.field__select select.is-empty { color: var(--muted); }
