/* Contact (/contact/). Adds to site.css; never redefines tokens or primitives.
   The photographic signpost and HTML links share one scroll reveal. Its arms remain real links. */

.ev-icon { width: 1.05em; height: 1.05em; flex: none; }

/* ------------------------------------------------------------------ opening and signpost */
.ct-open { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s2) clamp(32px, 5vw, 80px); align-items: center;
  padding-top: calc(var(--bar-h) + clamp(56px, 6vw, 88px)); padding-bottom: clamp(24px, 3vw, 48px); }
.ct-open .lede { margin-top: 1.1rem; }
.ct-open-note { margin-top: 1rem; max-width: 52ch; }

/* One photographic signpost and transparent HTML link targets move as a single object. */
.sign { position: relative; justify-self: center; width: min(100%, 480px); aspect-ratio: 6/5; min-height: 320px; }
.sign-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: fill; pointer-events: none; }
.sign-arms { position: absolute; inset: 0; list-style: none; margin: 0; padding: 0; }
.arm { position: absolute; width: 51%; height: 14%; min-height: 44px; }
.arm-r { left: 44%; }
.arm-l { left: 4%; }
.arm-1 { top: 9.5%; }
.arm-2 { top: 26%; }
.arm-3 { top: 42.3%; }
.arm-4 { top: 59%; }
.arm-5 { top: 75.5%; }
.arm a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; min-height: 44px;
  padding: 3px 12px; color: #17120c; font: 700 clamp(16px,1.6vw,22px)/1.1 var(--display); text-align: center;
  text-decoration: none; border-radius: var(--radius-media); text-shadow: 0 1px 1px #e9e5d28c; }
.arm-r a { padding-right: 20px; }
.arm-l a { padding-left: 20px; }
@media (hover: hover) and (pointer: fine) {
  .arm a:hover span { text-decoration: underline; text-underline-offset: .15em; }
}
.arm a:focus-visible { outline: 3px solid var(--focus); outline-offset: -3px; background: #f8f3dc40; }
.arm a:active span { text-decoration: underline; }

/* ------------------------------------------------------------------ the routes */
.ct-routes { margin-top: clamp(16px, 2vw, 32px); }
.route { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: var(--s1) clamp(28px, 4vw, 64px); align-items: center;
  background: var(--cream); padding: clamp(24px, 3vw, 40px) clamp(20px, 3.4vw, 44px); border-top: 1px solid var(--rule); scroll-margin-top: calc(var(--bar-h) + 16px); }
.route:first-of-type { border-top: 0; border-radius: var(--radius) var(--radius) 0 0; }
.route:last-of-type { border-radius: 0 0 var(--radius) var(--radius); }
.route h2 { font-size: var(--step-2); }
.route-text > * + * { margin-top: .7rem; }
.route-text p { max-width: 54ch; }
.route-hint { font-size: var(--step--1); color: color-mix(in srgb, var(--panel-text) 80%, transparent); }
.route-links { display: grid; gap: 10px; }
.route:target { box-shadow: inset 4px 0 0 var(--teal-ink); }

.big-link { display: flex; align-items: center; gap: 1rem; min-height: 72px; padding: .8rem 1.1rem; border-radius: var(--radius);
  background: #fbf6e6; border: 1.5px solid rgba(31, 20, 7, .2); color: var(--ink); text-decoration: none;
  transition: border-color .2s var(--ease), background-color .2s var(--ease), transform .15s var(--ease); }
.big-link > .ev-icon { width: 26px; height: 26px; color: var(--link); }
.big-link-k { display: block; font-size: var(--step--1); font-weight: 600; color: var(--text-soft); }
.big-link-v { display: block; font: 700 var(--step-2)/1.15 var(--display); overflow-wrap: anywhere; }
@media (hover: hover) and (pointer: fine) {
.big-link:hover { border-color: var(--ink); background: var(--panel-hover); color: var(--ink); }
}
.big-link:active { transform: scale(.985); }

/* ------------------------------------------------------------------ the enquiry form (shown only with a script) */
.enquiry-wrap { grid-column: 1 / -1; border-top: 1px dashed var(--rule); padding-top: .4rem; }
.enq-summary { display: inline-flex; align-items: center; gap: .6rem; min-height: 48px; cursor: pointer; list-style: none;
  font: 700 var(--step-1)/1.2 var(--display); color: var(--link); border-radius: var(--radius-media); }
.enq-summary::-webkit-details-marker { display: none; }
.enq-summary::before { content: ''; width: .55em; height: .55em; border-right: 2.5px solid currentColor; border-bottom: 2.5px solid currentColor;
  transform: rotate(-45deg); transition: transform .3s var(--ease); }
.enquiry-wrap[open] .enq-summary::before { transform: rotate(45deg); }
@media (hover: hover) and (pointer: fine) {
.enq-summary:hover { color: var(--ink); }
}
.field-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 1.2rem; align-items: start; }
.enquiry { max-width: 46rem; padding-bottom: .4rem; }
.enquiry h3 { font-size: var(--step-1); }
.enq-intro { margin-top: .4rem; font-size: var(--step--1); max-width: 56ch; }
.field { margin-top: 1.1rem; }
.field label { font-size: var(--step-0); margin-bottom: .2rem; }
.field .opt { font-weight: 400; color: var(--text-soft); }
.field-help { font-size: var(--step--1); color: var(--text-soft); margin-bottom: .4rem; line-height: 1.45; }
.field-err { font-size: var(--step--1); font-weight: 650; color: #8a2b12; margin-top: .35rem; }
.field-err:empty { display: none; }
.field [aria-invalid="true"] { border-color: #8a2b12; border-width: 2px; }
.enq-actions { margin-top: 1.3rem; display: flex; flex-wrap: wrap; align-items: center; gap: .8rem 1.4rem; }
.enq-submit { min-height: 52px; font-size: var(--step-0); }
.enq-fallback { font-size: var(--step--1); max-width: 34ch; }
.enq-status { margin-top: 1rem; font-weight: 600; max-width: 56ch; }
.enq-status:empty { display: none; }
.enq-status { padding: .8rem 1rem; border-left: 3px solid var(--teal-ink); background: rgba(35, 91, 94, .08); }

/* ------------------------------------------------------------------ charity note */
.ct-note { margin-top: var(--s2); max-width: 62ch; padding-left: 1.1rem; border-left: 3px solid var(--ink); }
.ct-note h2 { font-size: var(--step-1); }
.ct-note p { margin-top: .5rem; font-size: var(--step--1); line-height: 1.6; }

/* ------------------------------------------------------------------ tablet and phone */
@media (max-width: 900px) {
  .ct-open { grid-template-columns: minmax(0, 1fr); }
  .sign { width: min(100%, 440px); }
  .route { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .ct-open { padding-top: calc(var(--bar-h) + 44px); gap: var(--s0); }
  .ct-open h1 { font-size: clamp(2.1rem, 9vw, 2.6rem); }
  .ct-open-note { display: none; }
  .sign { width: 100%; }
  .arm a { font-size: 16px; }
  .ct-routes { padding-inline: 10px; }
  .route { padding: 22px 16px; }
  .big-link { min-height: 66px; padding: .7rem .9rem; gap: .8rem; }
  .big-link > .ev-icon { width: 22px; height: 22px; }
  .big-link-v { font-size: clamp(1.15rem, 5.4vw, 1.4rem); }
  .enq-submit { width: 100%; }
  .field-row { grid-template-columns: minmax(0, 1fr); }
}
