/* =========================================================
   Contact page — scoped styles + Gravity Forms overrides
   ========================================================= */

/* ---------- Hero ---------- */
.contact-hero {
  position: relative;
  min-height: clamp(340px, 46vw, 520px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: clamp(120px, 14vw, 180px) clamp(20px, 4vw, 64px) clamp(40px, 6vw, 72px);
  color: var(--cream);
  overflow: hidden;
  background: var(--ink);
  text-align: center;
}

.contact-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.92);
}

.contact-hero > *:not(.contact-hero-bg) {
  position: relative;
  z-index: 1;
}

.contact-breadcrumbs {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(242, 240, 232, 0.7);
  margin-bottom: 24px;
}

.contact-breadcrumbs li:not(:last-child)::after {
  content: "/";
  margin-left: 8px;
  color: rgba(242, 240, 232, 0.4);
}

.contact-breadcrumbs a { color: rgba(242, 240, 232, 0.7); text-decoration: none; transition: color 0.2s; }
.contact-breadcrumbs a:hover { color: var(--cream); }
.contact-breadcrumbs li:last-child { color: var(--cream); }

.contact-hero-headline {
  font-size: clamp(44px, 8vw, 110px);
  color: var(--cream);
  max-width: 1000px;
  position: relative;
  padding-bottom: 26px;
}

.contact-hero-headline::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 64px;
  height: 3px;
  background: var(--clay);
}

.contact-hero-subhead {
  max-width: 720px;
  margin-top: 24px;
  font-size: clamp(15px, 1.4vw, 18px);
  line-height: 1.7;
  color: rgba(242, 240, 232, 0.86);
}

.contact-hero-subhead a { color: var(--cream); text-underline-offset: 3px; }

/* ---------- Body layout ---------- */
.contact-body {
  padding: clamp(56px, 8vw, 110px) clamp(20px, 4vw, 64px);
}

.contact-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(36px, 6vw, 88px);
  align-items: start;
}

.contact-form-col .display {
  font-size: clamp(30px, 4vw, 52px);
  margin: 6px 0 28px;
}

/* ---------- Direct-contact sidebar ---------- */
.contact-info-col { position: sticky; top: 100px; }

.contact-methods {
  list-style: none;
  margin: 18px 0 34px;
  padding: 0;
  border-top: 1px solid var(--line);
}

.contact-methods li,
.contact-visit {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.contact-method-label {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(36, 36, 33, 0.55);
}

.contact-method-value {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: clamp(20px, 2vw, 26px);
  color: var(--charcoal);
  text-decoration: none;
  transition: color 0.2s;
}

.contact-method-value:hover { color: var(--rust); }

.contact-visit { padding-top: 16px; }

.contact-address {
  font-style: normal;
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 17px;
  line-height: 1.5;
  color: var(--charcoal);
}

.contact-address a { color: var(--charcoal); text-underline-offset: 3px; }
.contact-address a:hover { color: var(--rust); }

.contact-social {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin: 22px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-social a { color: var(--charcoal); text-decoration: none; }
.contact-social a:hover { color: var(--rust); }

.contact-booking-note {
  margin-top: 8px;
  padding: 18px 20px;
  background: rgba(36, 36, 33, 0.05);
  border-left: 3px solid var(--sage);
  font-size: 14px;
  line-height: 1.6;
  color: var(--charcoal);
}

.contact-booking-note a { color: var(--moss); font-weight: 700; }

/* =========================================================
   Gravity Forms — restyle to match the site tokens
   ========================================================= */
.contact-form-col .gform_wrapper {
  margin-top: 0;
}

.contact-form-col .gform_wrapper .gfield_label {
  font-family: 'Archivo Narrow', sans-serif;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--charcoal);
  margin-bottom: 8px;
}

.contact-form-col .gform_wrapper .gfield_required { color: var(--rust); }

.contact-form-col .gform_wrapper input[type="text"],
.contact-form-col .gform_wrapper input[type="email"],
.contact-form-col .gform_wrapper input[type="tel"],
.contact-form-col .gform_wrapper input[type="number"],
.contact-form-col .gform_wrapper textarea,
.contact-form-col .gform_wrapper select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(36, 36, 33, 0.35);
  border-radius: 0;
  /* background-color only — NOT the `background` shorthand, which would reset
     background-repeat/position and cause GF's select-arrow SVG to tile ("wavy
     lines") on hover. */
  background-color: #fff;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.contact-form-col .gform_wrapper textarea { min-height: 150px; resize: vertical; }
.contact-form-col .gform_wrapper select[multiple] { min-height: 128px; }

.contact-form-col .gform_wrapper input:focus,
.contact-form-col .gform_wrapper textarea:focus,
.contact-form-col .gform_wrapper select:focus {
  outline: none;
  border-color: var(--charcoal);
}

/* Radio / checkbox rows */
.contact-form-col .gform_wrapper .gchoice {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-family: 'IBM Plex Mono', monospace;
  font-size: 14px;
  color: var(--charcoal);
}

/* GF's grid already spaces rows (grid-row-gap). Don't add margin on top —
   that's what caused the excessive gaps. Set one clean gap instead. */
.contact-form-col .gform_wrapper .gform_fields { grid-row-gap: 20px !important; }
.contact-form-col .gform_wrapper .gfield { margin-bottom: 0; }

.contact-form-col .gform_wrapper .gfield_description {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 12px;
  color: rgba(36, 36, 33, 0.6);
  margin-top: 6px;
}

/* Submit button — mirror .btn.btn-charcoal.
   !important + element.class specificity to beat GF 2.10 framework-theme styles. */
.contact-form-col .gform_wrapper .gform_footer input[type="submit"],
.contact-form-col .gform_wrapper input.gform_button,
.contact-form-col .gform_wrapper .gform-theme-button {
  display: inline-block;
  background: var(--charcoal) !important;
  background-image: none !important;
  color: var(--cream) !important;
  border: 1px solid var(--charcoal) !important;
  border-radius: 0 !important;
  padding: 15px 34px !important;
  font-family: 'Archivo Narrow', sans-serif !important;
  font-weight: 700 !important;
  font-size: 15px !important;
  letter-spacing: 0.08em !important;
  text-transform: uppercase !important;
  cursor: pointer;
  box-shadow: none !important;
  transition: background 0.2s, transform 0.2s;
}

.contact-form-col .gform_wrapper .gform_footer input[type="submit"]:hover,
.contact-form-col .gform_wrapper input.gform_button:hover,
.contact-form-col .gform_wrapper input.gform_button:focus,
.contact-form-col .gform_wrapper input.gform_button:active,
.contact-form-col .gform_wrapper .gform-theme-button:hover {
  background: var(--ink) !important;
  color: var(--cream) !important;
  transform: translateY(-2px);
}

/* Validation + confirmation */
.contact-form-col .gform_wrapper .gfield_error input,
.contact-form-col .gform_wrapper .gfield_error textarea,
.contact-form-col .gform_wrapper .gfield_error select { border-color: var(--rust); }

.contact-form-col .gform_wrapper .validation_message,
.contact-form-col .gform_wrapper .gform_validation_errors {
  font-family: 'IBM Plex Mono', monospace;
  font-size: 13px;
  color: var(--rust);
}

.contact-form-col .gform_confirmation_message {
  font-family: 'Archivo Narrow', sans-serif;
  font-size: 18px;
  line-height: 1.6;
  color: var(--charcoal);
  padding: 24px;
  background: rgba(123, 139, 90, 0.12);
  border-left: 3px solid var(--sage);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info-col { position: static; order: 2; }
  .contact-form-col { order: 1; }
}
