/* Contact ("Collegiate Ledger"): the page as university letter paper. Shared components: ../wcu.css. */

/* 01 letterhead */
.w-ct-head { position: relative; background: var(--w-paper); padding: clamp(28px, 4vw, 52px) 0 0; overflow: hidden; isolation: isolate; }
.w-ct-head::before { content: ""; position: absolute; inset: 0; z-index: -1; background-image: linear-gradient(90deg, rgba(8, 25, 51, .05) 1px, transparent 1px); background-size: calc(min(100vw, var(--w-wrap)) / 6) 100%; background-position: center; }
.w-ct-head__top { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; padding-bottom: 18px; border-bottom: 1px solid var(--w-line-2); }
.w-ct-crumbs { margin: 0; }
.w-ct-crumbs li { color: var(--w-mute); }
.w-ct-crumbs a { color: var(--w-crimson); }
.w-ct-crumbs a:hover { color: var(--w-ink); }
.w-ct-head__ref { margin: 0; font: 700 11px/1.3 var(--w-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--w-mute); }
.w-ct-head__ref span { color: var(--w-ink); }
.w-ct-head__grid { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(24px, 5vw, 80px); align-items: end; padding: clamp(36px, 5vw, 72px) 0 clamp(28px, 3.5vw, 48px); }
.w-ct-head__grid .w-eyebrow { margin-bottom: 18px; }
.w-ct-title { font-size: clamp(56px, 10vw, 156px); }
.w-ct-lede { margin: 0; padding-left: 22px; border-left: 3px solid var(--w-crimson); }
/* letterhead rule: a thick crimson line over a thin navy one, a diamond at the centre */
.w-ct-rule { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 14px; color: var(--w-crimson); font-size: 11px; }
.w-ct-rule span { height: 7px; border-top: 3px solid var(--w-crimson); border-bottom: 1px solid var(--w-navy); }

/* 02 the desk: engraved address card over the map, then the phone and email cards */
.w-ct-desk { background: var(--w-paper); padding: clamp(40px, 5vw, 72px) 0 clamp(64px, 8vw, 112px); }
.w-ct-desk__grid { display: grid; gap: clamp(24px, 3vw, 36px); }
.w-ct-plate { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); align-items: center; }
.w-ct-plate__card { position: relative; z-index: 2; margin-right: -64px; padding: clamp(40px, 4vw, 56px) clamp(26px, 3vw, 44px) clamp(32px, 3.4vw, 44px); background: var(--w-white); text-align: center; box-shadow: var(--w-shadow); border-radius: var(--w-r); }
/* the engraving: a double rule */
.w-ct-plate__card::before { content: ""; position: absolute; inset: 10px; border: 1px solid var(--w-line-2); outline: 1px solid var(--w-line); outline-offset: -6px; pointer-events: none; }
.w-ct-plate__icon { display: inline-grid; place-items: center; width: 54px; height: 54px; margin-bottom: 18px; border-radius: 50%; background: var(--w-crimson); color: var(--w-white); font-size: 20px; box-shadow: 0 0 0 6px var(--w-crimson-tint); }
.w-ct-plate__h { font: 800 12px/1.3 var(--w-sans) !important; letter-spacing: .2em; text-transform: uppercase; color: var(--w-ink); margin: 0 0 6px !important; }
.w-ct-plate__label { margin: 0 0 18px; font: italic 400 17px/1.3 var(--w-serif); color: var(--w-crimson); }
.w-ct-plate__addr { margin: 0 auto 22px; max-width: 18ch; font: 400 clamp(23px, 2.2vw, 30px)/1.25 var(--w-serif); font-style: normal; color: var(--w-ink); letter-spacing: -.01em; text-shadow: 0 1px 0 var(--w-white); text-transform: none; }
.w-ct-plate .w-link i { font-size: 11px; }
.w-ct-plate .w-link::after { content: none; }
.w-ct-map { position: relative; height: clamp(340px, 34vw, 470px); border: 1px solid var(--w-line-2); }
.w-ct-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.75) contrast(1.02); }
.w-ct-map__pin { position: absolute; right: 22px; top: 22px; display: grid; place-items: center; width: 54px; height: 54px; background: var(--w-white); border-radius: 50%; box-shadow: var(--w-shadow); pointer-events: none; }
.w-ct-map__pin img { width: 20px; height: 26px; }
.w-ct-lines { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(24px, 3vw, 36px); }
.w-ct-card { position: relative; height: 100%; padding: clamp(26px, 2.8vw, 38px); background: var(--w-white); border: 1px solid var(--w-line); border-top: 3px solid var(--w-crimson); border-radius: var(--w-r); }
.w-ct-card__head { display: flex; align-items: center; gap: 14px; margin-bottom: 8px; }
.w-ct-card__icon { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border: 1px solid var(--w-line-2); background: var(--w-paper); color: var(--w-crimson); font-size: 18px; border-radius: 2px; }
.w-ct-card__h { margin: 0 !important; font-size: clamp(22px, 2vw, 28px); }
.w-ct-rows { list-style: none; margin: 0; padding: 0; }
.w-ct-row { display: flex; justify-content: space-between; align-items: baseline; gap: 6px 18px; flex-wrap: wrap; padding: 18px 0; border-bottom: 1px solid var(--w-line); }
.w-ct-row:last-child { border-bottom: 0; padding-bottom: 0; }
.w-ct-row__label { font: 700 11.5px/1.3 var(--w-sans); letter-spacing: .14em; text-transform: uppercase; color: var(--w-mute); }
/* an address, a number or an email is a literal: never re-cased */
.w-ct-row__value { font: 500 clamp(19px, 1.7vw, 23px)/1.3 var(--w-serif); color: var(--w-ink); text-transform: none; font-variant: none; background: linear-gradient(var(--w-crimson), var(--w-crimson)) no-repeat 0 100% / 0 1px; transition: background-size .5s var(--w-ease), color .3s; }
.w-ct-row__value:hover, .w-ct-row__value:focus-visible { color: var(--w-crimson); background-size: 100% 1px; }
.w-ct-row__value--tel { white-space: nowrap; }
.w-ct-row__value--email { overflow-wrap: anywhere; }

/* 03 the enquiry: a paper card in a navy chapter */
.w-ct-chapter__grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: clamp(32px, 6vw, 96px); align-items: start; }
.w-ct-chapter__side .w-h2 { margin-bottom: clamp(28px, 4vw, 48px); }
.w-ct-chapter__photo { max-width: 400px; margin-right: 18px; }
.w-ct-paper { position: relative; padding: clamp(28px, 4vw, 52px); background: var(--w-paper); border-radius: var(--w-r); color: var(--w-body); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .65); }
.w-ct-paper::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--w-crimson) 0 70%, var(--w-yellow) 70% 76%, var(--w-navy) 76%); border-radius: var(--w-r) var(--w-r) 0 0; }
.w-ct-paper .w-field > label { color: var(--w-ink); }
.w-ct-form__foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 14px 24px; margin-top: 6px; }
.w-ct-form__note { margin: 0; font-size: 13.5px; color: var(--w-mute); }
.w-ct-form__note .req { color: var(--w-crimson); }
.w-ct-form .form-messages:empty { display: none; }

/* 04 ticker: the open-book mark between the words */
.w-ct-ticker .w-ticker__item img.w-ct-ticker__icon { width: clamp(30px, 3vw, 42px); height: auto; border-radius: 0; object-fit: contain; }

@media (max-width: 991px) {
    .w-ct-head__grid, .w-ct-chapter__grid { grid-template-columns: minmax(0, 1fr); }
    .w-ct-plate { grid-template-columns: minmax(0, 1fr); }
    .w-ct-plate__card { margin: 0 18px -48px; }
    .w-ct-map { height: 360px; }
    .w-ct-chapter__photo { max-width: 280px; }
}
@media (max-width: 767px) {
    .w-ct-lines { grid-template-columns: minmax(0, 1fr); }
    .w-ct-head__ref { display: none; }
}
@media (max-width: 480px) {
    .w-ct-plate__card { margin: 0 0 -40px; }
    .w-ct-paper { padding: 26px 18px; }
    .w-ct-form__foot .w-btn { width: 100%; }
    .w-ct-form__foot .w-btn .w-btn__t { flex: 1; justify-content: center; }
}
