:root {
  color-scheme: light;
  --bg-top: #748792;
  --bg-mid: #a8b6bb;
  --bg-bottom: #d9d0c3;
  --ink: #fbf5eb;
  --muted: rgba(251, 245, 235, 0.8);
  --soft-ink: rgba(251, 245, 235, 0.64);
  --surface-border: rgba(255, 255, 255, 0.14);
  --surface-border-strong: rgba(244, 221, 187, 0.26);
  --surface-fill: rgba(14, 17, 22, 0.56);
  --surface-fill-strong: rgba(12, 15, 19, 0.72);
  --surface-highlight: rgba(255, 255, 255, 0.1);
  --panel-shadow: 0 28px 72px rgba(18, 22, 28, 0.22);
  --accent: #e0b67d;
  --accent-strong: #f1d6b0;
  --success: #d8efb8;
  --map-deep: #102536;
  --map-mid: #18344c;
  --street-warm: #c9a689;
  --street-soft: #efe0cf;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Outfit", "Trebuchet MS", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.14), transparent 18%),
    radial-gradient(circle at 72% 74%, rgba(240, 196, 136, 0.26), transparent 24%),
    linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 35%, #c9c8c0 56%, var(--bg-bottom) 100%);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
}

body::before {
  background:
    radial-gradient(circle at 52% 46%, rgba(246, 218, 176, 0.22), transparent 22%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 30%);
}

body::after {
  background:
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.025) 0,
      rgba(255, 255, 255, 0.025) 1px,
      transparent 1px,
      transparent 130px
    );
  opacity: 0.38;
}

a {
  color: inherit;
  text-decoration: none;
}

.contact-page {
  position: relative;
  padding: 7rem 34px 44px;
}

.contact-shell {
  position: relative;
  z-index: 1;
  width: min(100%, 1320px);
  margin: 0 auto;
  display: grid;
  gap: 1.7rem;
}

.contact-shell::before {
  content: "";
  position: absolute;
  top: -4rem;
  left: 8%;
  width: min(40rem, 54vw);
  height: min(40rem, 54vw);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 214, 176, 0.2), transparent 62%);
  filter: blur(18px);
  opacity: 0.54;
  z-index: -1;
  pointer-events: none;
}

.panel {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--surface-border);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.03) 38%),
    linear-gradient(180deg, var(--surface-fill-strong), var(--surface-fill));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    var(--panel-shadow);
  backdrop-filter: blur(20px) saturate(145%);
  -webkit-backdrop-filter: blur(20px) saturate(145%);
}

.panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top right, rgba(244, 221, 187, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.04), transparent 30%);
  pointer-events: none;
}

.panel > * {
  position: relative;
  z-index: 1;
}

.contact-hero {
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, 520px);
  gap: 1.7rem;
  align-items: stretch;
}

.hero-copy {
  display: grid;
  align-content: start;
  gap: 1.2rem;
  padding: clamp(1.8rem, 3vw, 3rem);
}

.hero-copy::after {
  content: "";
  position: absolute;
  top: 14%;
  right: -8%;
  width: 12rem;
  height: 12rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241, 214, 176, 0.2), transparent 68%);
  filter: blur(20px);
  pointer-events: none;
}

.eyebrow,
.section-kicker {
  margin: 0;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
}

.contact-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-size: clamp(4.4rem, 8vw, 7.4rem);
  font-weight: 600;
  line-height: 0.88;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0.8rem 2rem rgba(0, 0, 0, 0.16);
}

.contact-lead {
  margin: 0;
  max-width: 34rem;
  color: var(--muted);
  font-size: clamp(1.03rem, 1.08vw, 1.18rem);
  line-height: 1.82;
}

.hero-meta,
.story-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.82rem;
}

.rating-chip,
.meta-chip,
.action-pill,
.story-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.45rem;
  padding: 0.86rem 1.15rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease;
}

.rating-chip {
  background: linear-gradient(135deg, rgba(247, 225, 194, 0.98), rgba(224, 182, 125, 0.98));
  border-color: rgba(244, 221, 187, 0.3);
  color: #281e13;
  font-weight: 700;
}

.meta-chip {
  color: var(--muted);
}

.action-pill.is-primary {
  background: linear-gradient(135deg, rgba(247, 225, 194, 0.98), rgba(224, 182, 125, 0.98));
  border-color: rgba(244, 221, 187, 0.3);
  color: #281e13;
  font-weight: 700;
}

.story-link {
  background: rgba(255, 255, 255, 0.08);
}

.story-link.is-secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--soft-ink);
}

.action-pill:hover,
.story-link:hover,
.detail-value[href]:hover {
  transform: translateY(-2px);
}

.action-pill:hover,
.story-link:hover {
  border-color: rgba(244, 221, 187, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 14px 30px rgba(12, 15, 19, 0.18);
}

.action-pill:focus-visible,
.story-link:focus-visible,
.detail-value:focus-visible {
  outline: 2px solid rgba(244, 221, 187, 0.74);
  outline-offset: 3px;
}

.location-card {
  min-height: 100%;
  padding: 1.15rem;
  display: grid;
  gap: 1rem;
}

.location-media {
  display: grid;
  grid-template-rows: minmax(280px, 320px);
  gap: 0;
}

.map-preview,
.street-preview {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.map-preview {
  background:
    radial-gradient(circle at 60% 28%, rgba(243, 214, 171, 0.18), transparent 18%),
    repeating-linear-gradient(90deg, transparent 0 54px, rgba(118, 154, 187, 0.16) 54px 56px),
    repeating-linear-gradient(0deg, transparent 0 46px, rgba(118, 154, 187, 0.14) 46px 48px),
    linear-gradient(180deg, var(--map-mid), var(--map-deep));
}

.map-preview::before,
.map-preview::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  transform-origin: center;
}

.map-preview::before {
  width: 150%;
  height: 5px;
  top: 58%;
  left: -18%;
  background: rgba(190, 219, 255, 0.2);
  transform: rotate(-18deg);
}

.map-preview::after {
  width: 112%;
  height: 4px;
  top: 30%;
  left: -10%;
  background: rgba(241, 214, 176, 0.28);
  transform: rotate(9deg);
}

.map-pin {
  position: absolute;
  top: 34%;
  left: 54%;
  width: 24px;
  height: 24px;
  border-radius: 50% 50% 50% 0;
  background: #ef6b59;
  transform: rotate(-45deg);
  box-shadow:
    0 0 0 0 rgba(239, 107, 89, 0.42),
    0 18px 28px rgba(239, 107, 89, 0.24);
  animation: mapPulse 2.7s ease-in-out infinite;
}

.map-pin::before {
  content: "";
  position: absolute;
  inset: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.92);
}

.map-label {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  padding: 0.72rem 0.98rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(8, 19, 31, 0.64);
  color: rgba(255, 255, 255, 0.94);
  font-size: 0.9rem;
  letter-spacing: 0.04em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.street-preview {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  padding: 1rem;
  background:
    radial-gradient(circle at 50% 115%, rgba(255, 243, 216, 0.68), transparent 28%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), transparent 36%),
    linear-gradient(180deg, var(--street-warm), var(--street-soft));
}

.street-preview::before {
  content: "";
  position: absolute;
  inset: auto 8% 18% 14%;
  height: 44%;
  border-radius: 18px 18px 0 0;
  background:
    linear-gradient(180deg, rgba(114, 79, 54, 0.22), rgba(114, 79, 54, 0)),
    linear-gradient(180deg, #d5c1af, #f2e3d6);
  box-shadow: inset 0 0 0 2px rgba(110, 86, 66, 0.18);
}

.street-preview::after {
  content: "";
  position: absolute;
  left: 17%;
  bottom: 18%;
  width: 12%;
  height: 28%;
  border-radius: 10px 10px 0 0;
  background: linear-gradient(180deg, #74523b, #a87858);
}

.media-tag {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  min-height: 2.65rem;
  padding: 0.68rem 0.95rem;
  border-radius: 999px;
  background: rgba(42, 31, 22, 0.34);
  color: rgba(255, 248, 240, 0.96);
  font-size: 0.84rem;
  letter-spacing: 0.04em;
}

.media-tag.is-secondary {
  background: rgba(255, 255, 255, 0.18);
  color: rgba(79, 56, 36, 0.98);
}

.location-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.35rem 0.3rem 0.15rem;
}

.location-summary h2,
.section-title {
  margin: 0;
  font-family: "Cormorant Garamond", Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.location-summary h2 {
  font-size: clamp(2.2rem, 2.6vw, 3rem);
  line-height: 0.92;
}

.location-summary p {
  margin: 0.4rem 0 0;
  color: var(--soft-ink);
  font-size: 1rem;
}

.contact-seal {
  width: 72px;
  height: auto;
  opacity: 0.88;
  filter: drop-shadow(0 0.5rem 1rem rgba(0, 0, 0, 0.16));
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(320px, 430px) minmax(0, 1fr);
  gap: 1.7rem;
  align-items: stretch;
}

.details-card,
.story-card {
  min-height: 100%;
  padding: clamp(1.45rem, 2.4vw, 2.2rem);
}

.section-title {
  font-size: clamp(2.55rem, 4vw, 3.55rem);
  line-height: 0.92;
}

.detail-list {
  display: grid;
  gap: 0.95rem;
  margin-top: 1.5rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 7rem 1fr;
  align-items: start;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid rgba(255, 255, 255, 0.09);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.detail-label {
  padding-top: 0.2rem;
  color: var(--accent-strong);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.detail-value {
  color: var(--ink);
  font-size: 1.03rem;
  line-height: 1.62;
}

.detail-value[href] {
  transition: color 180ms ease;
}

.detail-value[href]:hover {
  color: var(--accent-strong);
}

.hours-status,
.reviews-copy {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  flex-wrap: wrap;
}

.status-open {
  display: inline-flex;
  align-items: center;
  min-height: 1.95rem;
  padding: 0.24rem 0.72rem;
  border: 1px solid rgba(216, 239, 184, 0.18);
  border-radius: 999px;
  background: rgba(216, 239, 184, 0.1);
  color: var(--success);
  font-weight: 700;
}

.reviews-copy strong {
  color: var(--accent-strong);
  font-size: 1.16rem;
}

.story-card {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.04)),
    radial-gradient(circle at 78% 18%, rgba(245, 216, 176, 0.14), transparent 20%),
    linear-gradient(180deg, rgba(12, 15, 19, 0.78), rgba(25, 29, 35, 0.64));
}

.story-copy {
  margin: 1.35rem 0 0;
  padding-left: 1.15rem;
  border-left: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(251, 245, 235, 0.9);
  font-size: clamp(1.04rem, 1.08vw, 1.18rem);
  line-height: 1.9;
  max-width: 46rem;
}

.story-footer {
  margin-top: 1.6rem;
}

@keyframes mapPulse {
  0%,
  100% {
    box-shadow:
      0 0 0 0 rgba(239, 107, 89, 0.42),
      0 18px 28px rgba(239, 107, 89, 0.24);
  }

  50% {
    box-shadow:
      0 0 0 12px rgba(239, 107, 89, 0),
      0 18px 28px rgba(239, 107, 89, 0.24);
  }
}

@media (max-width: 1080px) {
  .contact-hero,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .contact-shell::before {
    left: 50%;
    transform: translateX(-50%);
    width: min(34rem, 82vw);
    height: min(34rem, 82vw);
  }
}

@media (max-width: 820px) {
  .contact-page {
    padding: calc(5.8rem + env(safe-area-inset-top, 0px)) 16px 26px;
  }

  .contact-shell {
    gap: 1.1rem;
  }

  .panel {
    border-radius: 26px;
    backdrop-filter: blur(16px) saturate(130%);
    -webkit-backdrop-filter: blur(16px) saturate(130%);
  }

  .hero-copy,
  .details-card,
  .story-card {
    padding: 1.35rem;
  }

  .contact-title {
    font-size: clamp(3.6rem, 15vw, 5.8rem);
    letter-spacing: 0.05em;
  }

  .contact-actions {
    grid-template-columns: 1fr;
  }

  .hero-meta,
  .story-footer {
    gap: 0.65rem;
  }

  .rating-chip,
  .meta-chip,
  .action-pill,
  .story-link {
    width: 100%;
  }

  .location-media {
    grid-template-rows: minmax(220px, 240px);
  }

  .location-summary {
    align-items: flex-start;
  }

  .contact-seal {
    width: 56px;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .detail-label {
    padding-top: 0;
  }

  .detail-value,
  .story-copy {
    font-size: 1rem;
  }
}

@media (max-width: 540px) {
  .contact-title {
    line-height: 0.92;
  }

  .contact-lead {
    line-height: 1.72;
  }

  .location-summary {
    flex-direction: column;
  }

  .story-copy {
    padding-left: 0.95rem;
  }
}
