/* ============================================================
   Contact page
============================================================ */

.nav-links a.active { color: var(--ink); font-weight: 500; }

/* ============================================================
   HERO with parallax photo
============================================================ */
.hero-contact { padding-top: clamp(48px, 6vw, 90px); padding-bottom: clamp(60px, 7vw, 100px); }
.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(40px, 5vw, 80px);
  align-items: center;
}
@media (max-width: 980px){ .contact-hero-grid { grid-template-columns: 1fr; } }

.ch-copy .display { font-size: clamp(48px, 7.4vw, 96px); line-height: 0.96; }

.ch-quick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-top: 40px;
}
@media (max-width: 520px){ .ch-quick { grid-template-columns: 1fr; } }
.qc {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  gap: 2px;
  transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.qc:hover {
  transform: translateY(-2px);
  border-color: var(--ink);
  box-shadow: var(--shadow);
}
.qc-l {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.qc b { font-weight: 500; font-size: 14px; letter-spacing: -0.012em; }

/* photo */
.ch-photo {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.photo-wrap {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  transform: perspective(1200px) rotateY(0) rotateX(0);
  transition: transform .3s cubic-bezier(.2,.7,.3,1);
  will-change: transform;
  aspect-ratio: 3 / 2;
}
.photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.photo-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.55) 100%);
  pointer-events: none;
}
.photo-tag {
  position: absolute;
  left: 22px; bottom: 22px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}
.pt-l {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
.photo-tag b {
  font-weight: 600;
  font-size: clamp(20px, 2vw, 26px);
  letter-spacing: -0.022em;
  line-height: 1.1;
}
.photo-tag span { font-family: var(--f-mono); font-size: 12px; color: rgba(255,255,255,0.85); }
.photo-pin {
  position: absolute;
  top: 28px; right: 28px;
  width: 20px; height: 20px;
}
.pp-dot {
  position: absolute;
  inset: 6px;
  background: var(--bg-card);
  border: 2px solid var(--ink);
  border-radius: 50%;
  z-index: 2;
}
.pp-ring {
  position: absolute;
  inset: 0;
  border: 1.5px solid #fff;
  border-radius: 50%;
  animation: pinPulse 2.4s ease-out infinite;
}
@keyframes pinPulse {
  0%   { transform: scale(0.6); opacity: 0.9; }
  100% { transform: scale(2.2); opacity: 0; }
}

.photo-foot {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 11.5px;
  color: var(--muted);
}

/* ============================================================
   FORM GRID
============================================================ */
.form-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
}
@media (max-width: 980px){ .form-grid { grid-template-columns: 1fr; } }

.form-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 52px);
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.form-h {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line);
}
.form-h .h-display { font-size: clamp(28px, 3.2vw, 42px); margin: 0; }
.form-h .muted { margin: 8px 0 0; font-size: 14px; line-height: 1.55; }

.contact-form { display: flex; flex-direction: column; gap: 18px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 540px){ .field-row { grid-template-columns: 1fr; } }
.field label {
  font-family: var(--f-mono);
  font-size: 10.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.field input,
.field textarea {
  font-family: var(--f-sans);
  font-size: 15px;
  padding: 12px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  width: 100%;
  resize: vertical;
  outline: none;
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.field input:focus,
.field textarea:focus {
  border-color: var(--ink);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(var(--ink-rgb),0.06);
}

.chip-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio label {
  font-family: var(--f-sans);
  font-size: 13px;
  padding: 7px 14px;
  background: var(--bg-soft);
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink-mid);
  cursor: pointer;
  letter-spacing: -0.005em;
  text-transform: none;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}
.chip-radio input:checked + label {
  background: var(--ink);
  color: var(--bg);
  border-color: var(--ink);
}

.form-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  margin-top: 4px;
}
.muted.small { font-size: 12px; }

/* sent state */
.sent-message {
  display: none;
  align-items: flex-start;
  gap: 12px;
  padding: 16px 18px;
  background: color-mix(in srgb, var(--ok) 12%, transparent);
  border: 1px solid color-mix(in srgb, var(--ok) 30%, transparent);
  border-radius: 12px;
  margin-top: 8px;
}
.sent-message .dt.ok {
  width: 12px; height: 12px;
  background: var(--ok);
  border-radius: 50%;
  margin-top: 5px;
  flex-shrink: 0;
}
.sent-message b { font-weight: 600; font-size: 15px; display: block; }
.sent-message p { margin: 4px 0 0; font-size: 13px; }
.contact-form.sent .sent-message { display: flex; }
.contact-form.sent .field,
.contact-form.sent .field-row,
.contact-form.sent .form-foot { display: none; }

/* meta column */
.meta-col {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.meta-card {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 24px 24px 22px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.mc-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}
.mc-eyebrow.light { color: rgba(255,255,255,0.55); }
.mc-addr {
  font-style: normal;
  font-size: 15.5px;
  line-height: 1.55;
  letter-spacing: -0.005em;
}
.mc-addr b { display: block; font-weight: 600; margin-bottom: 6px; font-size: 16px; letter-spacing: -0.015em; }
.mc-link {
  font-family: var(--f-mono);
  font-size: 12.5px;
  color: var(--ink);
  text-decoration: none;
  padding-top: 6px;
  border-top: 1px solid var(--line);
}
.mc-link.light { color: #fff; border-color: rgba(255,255,255,0.18); }
.mc-link:hover { text-decoration: underline; }

.mc-hrs, .mc-legal {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hr, .lg {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  border-bottom: 1px dashed var(--line);
  font-size: 13px;
}
.hr:last-child, .lg:last-child { border-bottom: none; }
.hr span, .lg span { color: var(--muted); font-size: 12px; }
.hr b, .lg b { font-weight: 500; }

.brand-card {
  background: var(--bg-dark);
  color: #fff;
  border-color: var(--line-light);
}
.brand-card p { color: rgba(255,255,255,0.78); margin: 4px 0 4px; font-size: 13.5px; line-height: 1.55; }
.bc-deed {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.deed-mark {
  display: inline-block;
  width: 16px; height: 16px;
  background: var(--ink);
  border-radius: 3px;
  position: relative;
}
.deed-mark::after {
  content: "";
  position: absolute;
  inset: 4px 4px 4px auto;
  width: 5px;
  background: var(--bg-dark);
}
.brand-sub { font-family: var(--f-mono); font-weight: 500; font-size: 11px; letter-spacing: 0.08em; color: var(--muted); }
.brand-sub.light { color: rgba(255,255,255,0.55); }

/* ============================================================
   FIND / MAP
============================================================ */
.find-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}
@media (max-width: 920px){ .find-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .find-grid { grid-template-columns: 1fr; } }
.find {
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 24px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: transform .25s ease, box-shadow .25s ease;
}
.find:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.fi-i {
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--bg-alt);
  display: grid;
  place-items: center;
  font-family: var(--f-sans);
  font-size: 22px;
  color: var(--ink);
}
.fi-i[data-ic="train"]::before { content: "═"; }
.fi-i[data-ic="car"]::before { content: "◰"; }
.fi-i[data-ic="plane"]::before { content: "✈"; font-size: 18px; }
.fi-i[data-ic="meet"]::before { content: "☕"; font-size: 20px; }
.find h4 {
  margin: 0;
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.018em;
}
.find p {
  margin: 0;
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.55;
}

.map-card {
  margin-top: 28px;
  background: var(--bg-card);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}
.map-frame {
  aspect-ratio: 16 / 9;
  position: relative;
  background: var(--bg-alt);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
.map-svg { width: 100%; height: 100%; display: block; }
.map-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 22px;
  border-top: 1px solid var(--line);
  font-family: var(--f-mono);
  font-size: 13px;
  color: var(--ink);
  text-decoration: none;
  transition: background .2s ease;
}
.map-cta:hover { background: var(--bg-soft); }
.map-cta > span:last-child { font-size: 16px; }

/* ============================================================
   FAQ uses base.css .faq pattern
============================================================ */
.faq-wrap .h-display.small { margin-bottom: 32px; text-align: center; }

.foot-cols a.on { color: #fff; }

/* ── White mode (html[data-theme="light"]) overrides ── */
/* .deed-mark sits on the always-dark .brand-card; in light mode var(--ink)
   turns near-black and the square would vanish against the card. Restore
   the original light-theme construction: light square, dark stripe. */
html[data-theme="light"] .deed-mark { background: var(--bg-card); }
html[data-theme="light"] .deed-mark::after { background: var(--ink); }
