/* Contact page only; shared styles are in site.css. */
.opening { padding: 2.7rem var(--gutter) 3.1rem; }
.opening .eyebrow { color: var(--muted); }
.opening h1 { margin: .85rem 0 1.4rem; font-size: clamp(4.8rem, 8.8vw, 10rem); letter-spacing: -.035em; text-wrap: initial; }
.opening h1 > span { white-space: nowrap; }
.opening__bottom { display: flex; justify-content: space-between; align-items: flex-end; gap: 2.5rem; }
.opening__bottom > p { font-size: clamp(.95rem, 1.08vw, 1.125rem); line-height: 1.55; }
.opening__bottom .text-link { margin-bottom: .25rem; flex-shrink: 0; }

.contact-layout { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); border-top: 1px solid var(--rule); }
.contact-layout > * { min-width: 0; }
.contact-details { display: flex; flex-direction: column; justify-content: space-between; background: var(--petrol); color: var(--paper); }
.contact-details__inner { padding: var(--section-space) var(--gutter); }
.contact-details h2 { margin: 1.6rem 0 2.5rem; font-size: clamp(2.5rem, 3.4vw, 4rem); }
.contact-details .eyebrow { color: #c7d8ce; }
.contact-list > div { padding: 1.15rem 0 1.35rem; border-top: 1px solid var(--light-rule); }
.contact-list dt { margin-bottom: .5rem; color: #c7d8ce; font-size: .75rem; }
.contact-list dd { font-size: .95rem; line-height: 1.55; }
.contact-list a { display: flex; justify-content: space-between; align-items: center; gap: .75rem; min-height: 2.75rem; text-decoration: none; overflow-wrap: anywhere; }
.contact-list a:hover { text-decoration: underline; }
.contact-list a > span { flex-shrink: 0; -webkit-text-stroke: 0; font-size: 1.25rem; }
.contact-list .contact-list__phone { font: 470 clamp(2.35rem, 3vw, 3.5rem)/1.15 var(--display); -webkit-text-stroke: var(--stroke-display) currentColor; }
.contact-details .text-link { margin-top: 1.8rem; }
.contact-details__colophon { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .75rem 1rem; padding: 1.3rem var(--gutter); border-top: 1px solid var(--light-rule); color: #c7d8ce; font-size: .66rem; letter-spacing: .05em; text-transform: uppercase; }
.contact-details__photo { position: relative; min-height: 15rem; flex: 1; overflow: hidden; }
.contact-details__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.contact-details__photo figcaption { position: absolute; inset: auto 0 0; padding: 2rem var(--gutter) 1.1rem; background: linear-gradient(transparent, rgb(20 34 29 / 95%)); font-size: .9rem; line-height: 1.5; }
.contact-details__photo figcaption > span { font-size: .65rem; color: #c7d8ce; }

.message { padding: var(--section-space) var(--gutter); background: var(--white); }
.message__heading > .eyebrow { color: var(--muted); }
.message h2 { margin: 1.6rem 0 1rem; max-width: 14ch; font-size: clamp(2.5rem, 3.65vw, 4.3rem); text-align: left; text-wrap: initial; }
.message__heading > p:last-child { max-width: 37rem; color: var(--muted); font-size: .95rem; }
.message form { margin-top: 2.2rem; }
.form-fields { display: grid; gap: 1.8rem; }
.interests legend, .field label { font-size: .88rem; line-height: var(--leading-compact); }
.optional { color: var(--muted); font-size: .76rem; }
.interests__options { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin-top: .85rem; gap: .5rem; }
.interests label { position: relative; cursor: pointer; }
.interests input { position: absolute; top: 50%; left: .6rem; width: 1rem; height: 1rem; transform: translateY(-50%); margin: 0; accent-color: var(--petrol); }
.interests label > span { display: flex; justify-content: center; align-items: center; min-height: 3.25rem; height: 100%; padding: .7rem .6rem .7rem 2rem; border: 1px solid var(--rule); font-size: .76rem; line-height: var(--leading-compact); }
.interests label:hover > span { border-color: var(--petrol); }
.interests input:checked + span { border-color: var(--petrol); background: #e5ebe7; }
.interests input:focus-visible { outline: none; }
.interests input:focus-visible + span { outline: 2px solid var(--petrol); outline-offset: 3px; }
.interests input:disabled + span { opacity: .55; cursor: not-allowed; }
.form-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.4rem; }
.field { display: flex; min-width: 0; flex-direction: column; align-items: stretch; }
.field input, .field textarea {
  display: block;
  width: 100%;
  min-width: 0;
  margin-top: .55rem;
  padding: .7rem .3rem;
  border: 0;
  border-bottom: 1px solid #84958b;
  border-radius: 0;
  background: transparent;
  font-size: 1rem;
  line-height: 1.5;
  box-shadow: none;
}
.field input { min-height: 3rem; }
.field textarea { min-height: 6.5rem; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--petrol); background: #f2f6f2; outline: 2px solid var(--petrol); outline-offset: 2px; }
.field input[aria-invalid="true"] { border-color: var(--error); }
.field__hint { margin-top: .55rem; color: var(--muted); font-size: .71rem; line-height: 1.5; }
.field__error { margin-top: .5rem; font-size: .8rem; color: var(--error); }
.field__error:empty { display: none; }
.submit-button { display: flex; justify-content: space-between; align-items: center; gap: 1rem; width: 100%; min-height: 3.8rem; padding: 1rem 1.25rem; border: 1px solid var(--petrol); color: var(--paper); background: var(--petrol); font-size: .875rem; line-height: 1.4; text-align: left; }
.submit-button:hover:not(:disabled) { background: var(--petrol-hover); }
.submit-button:active:not(:disabled) { background: var(--ink); }
.button-arrow { font-size: 1.5rem; line-height: 1; -webkit-text-stroke: 0; }
.form-note { max-width: 36rem; margin-top: .9rem; color: var(--muted); font-size: .7rem; line-height: 1.55; }
.form-status { margin-top: 1.5rem; font-size: .85rem; }
.form-status:empty { display: none; }
.form-status[data-state="error"] { color: var(--error); }
.message-preview { padding: 1.5rem; margin-top: 1.5rem; border: 1px solid var(--rule); background: var(--paper); }
.message-preview h3 { font-size: 2rem; }
.message-preview > p { font-size: .78rem; margin-top: .6rem; }
.message-preview dl { margin-top: 1.5rem; }
.message-preview dl > div { padding: .8rem 0; border-top: 1px solid var(--rule); }
.message-preview dt { color: var(--muted); font-size: .7rem; }
.message-preview dd { margin-top: .35rem; font-size: .9rem; white-space: pre-wrap; overflow-wrap: anywhere; }
.message-preview .text-link { margin-top: .8rem; }
.notice { padding: 1rem; border: 1px solid var(--rule); margin-top: 1rem; font-size: .9rem; }

.visit { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr); border-top: 1px solid var(--rule); }
.visit > * { min-width: 0; }
.visit__photo { position: relative; display: flex; flex-direction: column; background: #d4cbbd; }
.visit__photo img { width: 100%; height: 100%; min-height: 0; max-height: 55rem; flex: 1 1 0; object-fit: cover; object-position: 38% 50%; }
.visit__photo figcaption { display: flex; justify-content: space-between; gap: 1rem; padding: .9rem 1.25rem; background: var(--ink); color: var(--paper); font-size: .65rem; line-height: 1.5; }
.visit__copy { padding: var(--section-space) var(--gutter); }
.visit__copy h2 { margin: 1.6rem 0 1.75rem; font-size: clamp(2.8rem, 4vw, 5.2rem); }
.visit__copy > p:not(.eyebrow) { max-width: 28rem; font-size: 1rem; }
.visit__copy .visit__practical { margin-top: 1.2rem; color: var(--muted); font-size: .85rem !important; }
.visit__copy .text-link { margin-top: 2rem; }


@media (min-width: 1800px) {
  .opening h1 { font-size: 10rem; }
}
@media (max-width: 1199px) {
  .contact-layout { grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr); }
  .contact-details__inner, .message { padding-inline: 2rem; }
  .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .interests__options { gap: .35rem; }
  .interests label > span { padding-left: 1.7rem; font-size: .7rem; }
  .interests input { left: .45rem; width: .85rem; height: .85rem; }
}
@media (max-width: 899px) {
  .opening { padding-block: 2.5rem; }
  .opening h1 { font-size: 9.1vw; }
  .opening__bottom { align-items: flex-start; }
  .opening__bottom > p { font-size: .875rem; }
  .opening__bottom .text-link { font-size: .8rem; }
  .contact-layout { grid-template-columns: 1fr; }
  .contact-details__inner { padding: 2.5rem var(--gutter); }
  .contact-details h2 { font-size: clamp(2.7rem, 5.5vw, 3.5rem); margin-block: 1.2rem 1.75rem; }
  .contact-details h2 br { display: none; }
  .contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 2rem; }
  .contact-list > div:last-child { grid-column: 1/-1; }
  .contact-list a { font-size: .85rem; }
  .contact-list .contact-list__phone { font-size: 2.25rem; }
  .contact-details .text-link { margin-top: .3rem; }
  .contact-details__colophon { display: none; }
  .contact-details__photo { flex: none; min-height: 0; aspect-ratio: 2.1; }
  .message { padding: 3rem max(var(--gutter), calc((100% - 40rem) / 2)); }
  .message h2 { max-width: none; font-size: clamp(2.5rem, 5.3vw, 3.7rem); }
  .form-row { grid-template-columns: 1fr 1fr; }
  .interests label > span { font-size: .85rem; min-height: 3.3rem; }
  .interests input { left: .8rem; width: 1rem; height: 1rem; }
  .visit { grid-template-columns: 1fr; }
  .visit__photo { order: 2; }
  .visit__photo img { flex: none; aspect-ratio: 3/2; height: auto; }
  .visit__copy h2 { font-size: clamp(3.2rem, 7vw, 4.5rem); }
  .visit__copy > p:not(.eyebrow) { max-width: 38rem; }
}
@media (max-width: 599px) {
  .opening { padding-block: 2rem 2.4rem; }
  .opening h1 { margin-block: 1.2rem 1.5rem; font-size: clamp(2.75rem, 11.7vw, 4.3rem); line-height: 1.06; letter-spacing: -.025em; }
  .opening h1 > span { display: block; }
  .opening__bottom { display: block; }
  .opening__bottom > p { font-size: .91rem; }
  .opening__bottom .text-link { margin-top: 1rem; }
  .contact-details__inner { padding-block: 2.3rem; }
  .contact-details h2 { max-width: 13ch; font-size: clamp(2.65rem, 9.2vw, 3.25rem); text-wrap: initial; }
  .contact-details h2 br { display: initial; }
  .contact-list { grid-template-columns: 1fr; }
  .contact-list > div { padding-block: 1rem; }
  .contact-list a { font-size: .85rem; }
  .contact-list .contact-list__phone { font-size: 2.8rem; }
  .contact-details .text-link { font-size: .8rem; margin-top: 1rem; }
  .message { padding-block: 2.5rem; }
  .message h2 { max-width: 13ch; font-size: clamp(2.6rem, 9vw, 3.5rem); margin-top: 1.25rem; }
  .message__heading > p:last-child { font-size: .9rem; }
  .message form { margin-top: 1.75rem; }
  .form-fields { gap: 1.5rem; }
  .form-row { grid-template-columns: 1fr; gap: 1.5rem; }
  .interests__options { grid-template-columns: 1fr; gap: .5rem; }
  .interests label > span { justify-content: flex-start; min-height: 3rem; padding-left: 2.5rem; font-size: .85rem; }
  .interests input { left: .85rem; }
  .submit-button { font-size: .79rem; padding-inline: .9rem; }
  .field label { font-size: .85rem; }
  .optional { font-size: .7rem; }
  .visit__copy { padding-block: 2.5rem; }
  .visit__copy h2 { font-size: clamp(2.8rem, 10vw, 3.8rem); }
  .visit__photo img { aspect-ratio: 1.2; object-position: 35% center; }
  .visit__photo figcaption { flex-direction: column; gap: .25rem; padding-inline: var(--gutter); }
}
@media (prefers-reduced-motion: no-preference) {
  .button-arrow { transition: transform 180ms ease-out; }
  .submit-button:hover .button-arrow { transform: translate(2px, -2px); }
}
