@font-face {
  font-family: "TanTwinkle";
  src: url("./TANTWINKLE.ttf") format("truetype");
  font-display: swap;
  font-weight: 400;
}

.jj-contact-page {
  --contact-paper: #f5f0e7;
  --contact-ink: #17243d;
  --contact-muted: #77737a;
  --contact-gold: #a87a32;
  margin: 0;
  background: var(--contact-paper);
  color: var(--contact-ink);
  font-family: "Plus Jakarta Sans", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.jj-contact-page *,
.jj-contact-page *::before,
.jj-contact-page *::after { box-sizing: border-box; }

.jj-contact-page .header-logo {
  position: relative;
  display: block;
  width: 62px;
  height: 48px;
  flex: 0 0 auto;
}

.jj-contact-page .logo_symbol.header,
.jj-contact-page .header-logo-img { display: block; width: 100%; height: 100%; }
.jj-contact-page .header-logo-img { object-fit: contain; }

.contact-hero {
  position: relative;
  display: grid;
  width: min(100% - 48px, 1440px);
  min-height: min(780px, 100svh);
  grid-template-columns: minmax(0, .84fr) minmax(0, 1.16fr);
  align-items: center;
  gap: clamp(36px, 7vw, 110px);
  margin: 0 auto;
  padding: 128px clamp(18px, 4vw, 64px) 96px;
}

.contact-hero-copy { position: relative; z-index: 1; max-width: 550px; }

.contact-eyebrow {
  margin: 0 0 18px;
  color: var(--contact-gold);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .2em;
  line-height: 1.4;
  text-transform: uppercase;
}

.contact-hero h1,
.contact-section-heading h2,
.contact-visit h2 {
  margin: 0;
  font-family: "TanTwinkle", Georgia, serif;
  font-weight: 400;
  letter-spacing: -.045em;
}

.contact-hero h1 {
  font-size: clamp(56px, 7.2vw, 104px);
  line-height: .98;
}

.contact-hero h1 span { color: var(--contact-gold); }

.contact-lede {
  max-width: 410px;
  margin: 25px 0 30px;
  color: #5d5d66;
  font-size: 15px;
  line-height: 1.8;
}

.contact-primary-link,
.contact-outline-link {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  padding: 0 20px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-decoration: none;
  transition: transform .2s ease, background-color .2s ease;
}

.contact-primary-link { background: #2c1931; color: #fffaf3; }
.contact-primary-link:hover { transform: translateY(-2px); background: #493256; }

.contact-hero-image {
  position: relative;
  min-height: clamp(420px, 49vw, 650px);
  overflow: hidden;
  background: #33241f url("./images/jj-convention-night.png") center / cover no-repeat;
  box-shadow: 0 24px 70px rgba(37, 25, 25, .16);
}

.contact-hero-image::after {
  position: absolute;
  inset: 40% 0 0;
  background: linear-gradient(transparent, rgba(16, 13, 19, .64));
  content: "";
}

.contact-image-caption {
  position: absolute;
  z-index: 1;
  right: 24px;
  bottom: 22px;
  left: 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  color: #fffaf3;
  font-size: 10px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.contact-scroll-note {
  position: absolute;
  bottom: 40px;
  left: clamp(18px, 4vw, 64px);
  display: flex;
  align-items: center;
  gap: 14px;
  color: #817c7d;
  font-size: 10px;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.contact-scroll-note span { width: 42px; height: 1px; background: #b9a88e; }

.contact-details {
  padding: clamp(76px, 10vw, 140px) max(24px, calc((100vw - 1280px) / 2));
  background: #fffaf3;
}

.contact-section-heading { margin-bottom: clamp(34px, 5vw, 66px); }
.contact-section-heading .contact-eyebrow { margin-bottom: 14px; }
.contact-section-heading h2 { max-width: 700px; font-size: clamp(40px, 5.2vw, 70px); line-height: 1.08; }

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid rgba(39, 26, 39, .18);
  border-bottom: 1px solid rgba(39, 26, 39, .18);
}

.contact-card {
  min-height: 270px;
  padding: 30px clamp(18px, 3.2vw, 46px) 32px 0;
}

.contact-card + .contact-card { padding-left: clamp(18px, 3.2vw, 46px); border-left: 1px solid rgba(39, 26, 39, .18); }
.contact-card-index { color: #a58f78; font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.contact-card h3 { margin: 30px 0 10px; font-family: "TanTwinkle", Georgia, serif; font-size: clamp(24px, 2.3vw, 32px); font-weight: 400; }
.contact-card p { min-height: 48px; margin: 0 0 20px; color: #6f6a70; font-size: 12px; line-height: 1.7; }
.contact-card a { display: inline-flex; align-items: center; gap: 10px; color: #2c1931; font-size: 13px; font-weight: 700; text-decoration-thickness: 1px; text-underline-offset: 4px; }
.contact-card a:hover { color: var(--contact-gold); }

.contact-visit {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 8vw, 120px);
  align-items: center;
  padding: clamp(76px, 10vw, 140px) max(24px, calc((100vw - 1280px) / 2));
}

.contact-visit h2 { max-width: 480px; font-size: clamp(42px, 5.2vw, 72px); line-height: 1.04; }
.contact-visit-copy > p:not(.contact-eyebrow) { max-width: 410px; margin: 20px 0 28px; color: #65616a; font-size: 14px; line-height: 1.8; }
.contact-outline-link { border: 1px solid rgba(44, 25, 49, .42); color: #2c1931; }
.contact-outline-link:hover { transform: translateY(-2px); background: #fffaf3; }

.contact-map {
  position: relative;
  display: block;
  min-height: 390px;
  overflow: hidden;
  background: #e5dfd5;
}

.contact-map iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; filter: saturate(.72) sepia(.12); }
.contact-map-label { position: absolute; right: 14px; bottom: 14px; display: inline-flex; gap: 18px; padding: 13px 16px; border-radius: 999px; background: #fffaf3; color: #2c1931; font-size: 11px; font-weight: 700; }

@media (max-width: 900px) {
  .contact-hero { min-height: auto; grid-template-columns: 1fr 1fr; gap: 30px; padding-inline: 24px; }
  .contact-hero h1 { font-size: clamp(48px, 8vw, 74px); }
  .contact-hero-image { min-height: 470px; }
  .contact-card { min-height: 290px; }
  .contact-visit { grid-template-columns: 1fr 1.1fr; gap: 38px; }
  .contact-map { min-height: 340px; }
}

@media (max-width: 640px) {
  .contact-hero { width: 100%; grid-template-columns: 1fr; gap: 32px; padding: 118px 22px 72px; }
  .contact-hero h1 { font-size: clamp(52px, 14vw, 76px); }
  .contact-lede { margin: 20px 0 24px; font-size: 14px; }
  .contact-hero-image { min-height: 390px; }
  .contact-scroll-note { display: none; }
  .contact-details { padding: 72px 22px; }
  .contact-section-heading h2 { font-size: clamp(38px, 11vw, 54px); }
  .contact-card-grid { grid-template-columns: 1fr; }
  .contact-card,
  .contact-card + .contact-card { min-height: auto; padding: 24px 0; border-left: 0; }
  .contact-card + .contact-card { border-top: 1px solid rgba(39, 26, 39, .18); }
  .contact-card h3 { margin: 20px 0 8px; }
  .contact-card p { min-height: 0; margin-bottom: 14px; }
  .contact-visit { grid-template-columns: 1fr; padding: 72px 22px; }
  .contact-visit h2 { font-size: clamp(40px, 11vw, 58px); }
  .contact-map { min-height: 330px; }
  .contact-image-caption { flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
  .jj-contact-page *, .jj-contact-page *::before, .jj-contact-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}

/* Focused contact layout: lead form alongside location and access details. */
.jj-contact-page #contact-page {
  min-height: 100vh;
  padding: 0 24px clamp(70px, 8vw, 112px);
  background: #f5f0e7;
}

.jj-contact-page .contact-page-heading {
  width: min(100%, 1320px);
  margin: 0 auto;
  padding: clamp(118px, 13vw, 168px) 0 32px;
  text-align: center;
}

.jj-contact-page .contact-page-heading .contact-eyebrow { margin-bottom: 12px; }
.jj-contact-page .contact-page-heading h1 { margin: 0; font: 400 clamp(54px, 7vw, 88px)/1 "TanTwinkle", Georgia, serif; letter-spacing: -.04em; color: #17243d; }

.jj-contact-page .contact-main-grid {
  display: grid;
  width: min(100%, 1320px);
  grid-template-columns: minmax(0, 1.05fr) minmax(380px, .95fr);
  align-items: start;
  gap: clamp(22px, 3.5vw, 48px);
  margin: 0 auto;
  scroll-margin-top: 100px;
}

.jj-contact-page .contact-lead-panel {
  min-width: 0;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid rgba(54, 36, 47, .1);
  border-radius: 18px;
  background: #fffaf3;
  box-shadow: 0 22px 60px rgba(44, 25, 49, .08);
}

.jj-contact-page .contact-panel-heading { margin-bottom: 26px; }
.jj-contact-page .contact-panel-heading .contact-eyebrow { margin-bottom: 8px; }
.jj-contact-page .contact-panel-heading h2,
.jj-contact-page .contact-location-info h2 {
  margin: 0;
  color: #17243d;
  font-family: "TanTwinkle", Georgia, serif;
  font-size: clamp(32px, 3.6vw, 48px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: 1.08;
}

.jj-contact-page .contact-lead-form { margin: 0; }
.jj-contact-page .contact-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 14px; }
.jj-contact-page .contact-field { display: flex; min-width: 0; flex-direction: column; gap: 7px; color: #303346; font-size: 11px; font-weight: 600; letter-spacing: .02em; }
.jj-contact-page .contact-field span i { color: #a87a32; font-style: normal; }

.jj-contact-page .contact-field input,
.jj-contact-page .contact-field select,
.jj-contact-page .contact-field textarea {
  width: 100%;
  min-width: 0;
  min-height: 46px;
  padding: 0 13px;
  border: 1px solid #e1dbd2;
  border-radius: 8px;
  outline: none;
  background: #fff;
  color: #17243d;
  font: 400 13px/1.5 "Plus Jakarta Sans", Arial, sans-serif;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.jj-contact-page .contact-field input::placeholder,
.jj-contact-page .contact-field textarea::placeholder { color: #96939a; opacity: 1; }
.jj-contact-page .contact-field select:invalid { color: #88848c; }
.jj-contact-page .contact-field input:focus,
.jj-contact-page .contact-field select:focus,
.jj-contact-page .contact-field textarea:focus { border-color: #8a6d8d; box-shadow: 0 0 0 3px rgba(75, 47, 81, .12); }
.jj-contact-page .contact-field textarea { min-height: 94px; padding: 12px 13px; resize: vertical; }
.jj-contact-page .contact-message-field { margin-top: 18px; }

.jj-contact-page .contact-submit {
  display: flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding: 0 18px;
  border: 0;
  border-radius: 8px;
  background: #321b35;
  color: #fffaf3;
  cursor: pointer;
  font: 700 11px/1 "Plus Jakarta Sans", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  transition: transform .18s ease, background-color .18s ease;
}

.jj-contact-page .contact-submit:hover { transform: translateY(-1px); background: #4a2b50; }
.jj-contact-page .contact-submit:focus-visible { outline: 3px solid #bd934a; outline-offset: 3px; }
.jj-contact-page .contact-form-note,
.jj-contact-page .contact-form-status { margin: 12px 0 0; color: #77717a; font-size: 10px; line-height: 1.5; }
.jj-contact-page .contact-form-status:not([hidden]) { padding: 10px 12px; border-radius: 7px; background: #f1e8d8; color: #3e2a42; }

.jj-contact-page .contact-location-panel { min-width: 0; overflow: hidden; border-radius: 18px; background: #fffaf3; box-shadow: 0 22px 60px rgba(44, 25, 49, .08); }
.jj-contact-page .contact-location-map { position: relative; height: clamp(240px, 25vw, 330px); overflow: hidden; background: #e6e0d6; }
.jj-contact-page .contact-location-map iframe { display: block; width: 100%; height: 100%; border: 0; filter: saturate(.72) sepia(.12); }
.jj-contact-page .contact-map-link { position: absolute; right: 14px; bottom: 14px; display: inline-flex; min-height: 40px; align-items: center; gap: 16px; padding: 0 14px; border-radius: 999px; background: #fffaf3; color: #321b35; font-size: 10px; font-weight: 700; text-decoration: none; box-shadow: 0 4px 20px rgba(24, 20, 24, .14); }
.jj-contact-page .contact-location-info { padding: clamp(22px, 3vw, 34px); }
.jj-contact-page .contact-location-info .contact-eyebrow { margin: 0 0 8px; }
.jj-contact-page .contact-location-info h2 { font-size: clamp(28px, 3vw, 38px); }
.jj-contact-page .contact-location-info address { margin: 10px 0 24px; color: #69636c; font-size: 12px; font-style: normal; line-height: 1.7; }
.jj-contact-page .contact-distance-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 10px; border-bottom: 1px solid rgba(44, 25, 49, .16); }
.jj-contact-page .contact-distance-heading h3 { margin: 0; color: #35243b; font-family: "Plus Jakarta Sans", Arial, sans-serif; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.jj-contact-page .contact-distance-heading > span { color: #8b858d; font-size: 9px; }
.jj-contact-page .contact-distance-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 20px; margin: 0; padding: 0; list-style: none; }
.jj-contact-page .contact-distance-list li { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; gap: 8px; padding: 10px 0; border-bottom: 1px solid rgba(44, 25, 49, .1); color: #625d65; font-size: 10px; line-height: 1.35; }
.jj-contact-page .contact-distance-list strong { flex: 0 0 auto; color: #38253e; font-size: 10px; }
.jj-contact-page .contact-distance-note { margin: 12px 0 0; color: #918b92; font-size: 9px; line-height: 1.5; }

.jj-contact-page .contact-hero,
.jj-contact-page .contact-details,
.jj-contact-page .contact-visit { display: none !important; }

@media (max-width: 900px) {
  .jj-contact-page .contact-main-grid { grid-template-columns: minmax(0, 1fr) minmax(320px, .9fr); gap: 20px; }
  .jj-contact-page .contact-lead-panel { padding: 26px 22px; }
  .jj-contact-page .contact-distance-list { grid-template-columns: 1fr; }
}

@media (max-width: 700px) {
  .jj-contact-page #contact-page { padding: 0 16px 56px; }
  .jj-contact-page .contact-page-heading { padding: 112px 0 24px; }
  .jj-contact-page .contact-page-heading h1 { font-size: clamp(48px, 14vw, 68px); }
  .jj-contact-page .contact-main-grid { grid-template-columns: 1fr; gap: 20px; }
  .jj-contact-page .contact-lead-panel { padding: 24px 18px; border-radius: 14px; }
  .jj-contact-page .contact-panel-heading { margin-bottom: 20px; }
  .jj-contact-page .contact-panel-heading h2 { font-size: 34px; }
  .jj-contact-page .contact-form-grid { gap: 15px 11px; }
  .jj-contact-page .contact-field { font-size: 10px; }
  .jj-contact-page .contact-field input,
  .jj-contact-page .contact-field select { min-height: 44px; padding-inline: 10px; font-size: 12px; }
  .jj-contact-page .contact-location-panel { border-radius: 14px; }
  .jj-contact-page .contact-location-map { height: 250px; }
  .jj-contact-page .contact-location-info { padding: 22px 18px; }
  .jj-contact-page .contact-distance-list { grid-template-columns: 1fr 1fr; column-gap: 14px; }
}

@media (max-width: 420px) {
  .jj-contact-page .contact-form-grid,
  .jj-contact-page .contact-distance-list { grid-template-columns: 1fr; }
}
