/* =========================================================
   Contact section redesign - museum light style
   ========================================================= */

/* --- fonts & tokens scoped to the new contact section --- */
#contact.contact-new-section {
  --ink: #1c1712;
  --ink-soft: #463d34;
  --muted: #756a5c;
  --gold: #c9a467;
  --gold-deep: #b08a3f;
  --stone: #e7e2d7;
  --stone-2: #efeae0;
  --card-2: #fbf8f2;
  --line: rgba(28, 23, 18, 0.12);
  --line-strong: rgba(28, 23, 18, 0.22);
  --shadow-md: 0 18px 44px rgba(40, 30, 15, 0.10), 0 6px 14px rgba(40, 30, 15, 0.05);
  --maxw: 1180px;
  --font-display: "Cinzel", Georgia, serif;
  --font-body: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", system-ui, sans-serif;
  --font-hanzi: "Yuji Boku", "Noto Serif SC", serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);

  position: relative;
  background: var(--stone-2);
  overflow: hidden;
  min-height: unset;
  padding: 0;
  display: block;
  align-items: unset;
  justify-content: unset;
}


#contact.contact-new-section .cn-wrap {
  position: relative;
  z-index: 2;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(5.5rem, 10vw, 9.5rem) clamp(1.3rem, 5vw, 3rem);
}

/* corner images */
#contact.contact-new-section .cn-corner {
  position: absolute;
  width: clamp(150px, 22vw, 300px);
  height: auto;
  mix-blend-mode: multiply;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}
#contact.contact-new-section .cn-corner.tr { top: 0; right: 0; transform: rotate(180deg); }
#contact.contact-new-section .cn-corner.bl { bottom: 0; left: 0; }
@media (max-width: 720px) { #contact.contact-new-section .cn-corner { width: 40vw; } }

/* section header */
#contact.contact-new-section .cn-head {
  text-align: center;
  max-width: 820px;
  margin: 0 auto;
}
#contact.contact-new-section .cn-eyebrow {
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.26em;
  text-transform: uppercase;
  color: var(--gold-deep);
  display: inline-block;
  margin-bottom: 1.5rem;
}
#contact.contact-new-section .cn-hanzi {
  font-family: var(--font-hanzi);
  color: var(--gold);
  letter-spacing: 0.1em;
  line-height: 1;
  font-size: clamp(2.3rem, 4.4vw, 3.7rem);
  margin-bottom: 0.7rem;
  display: block;
}
#contact.contact-new-section .cn-title {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.08;
  letter-spacing: 0.005em;
  font-size: clamp(2rem, 3.4vw, 3.25rem);
}
#contact.contact-new-section .cn-lead {
  font-size: clamp(1.05rem, 0.6vw + 0.9rem, 1.28rem);
  line-height: 1.78;
  color: var(--ink-soft);
  font-weight: 400;
  margin-top: 1.8rem;
}

/* grid */
#contact.contact-new-section .cn-grid {
  margin-top: clamp(3.5rem, 7vw, 6rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.6rem, 3vw, 2.4rem);
  align-items: stretch;
}

/* visit card */
#contact.contact-new-section .cn-visit {
  display: flex;
  flex-direction: column;
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  overflow: hidden;
}
#contact.contact-new-section .cn-visit__map {
  position: relative;
  height: clamp(190px, 24vw, 250px);
  background: #e9e4d8;
  border-bottom: 1px solid var(--line);
}
#contact.contact-new-section .cn-visit__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.35) contrast(1.04) brightness(1.03);
}
#contact.contact-new-section .cn-visit__body {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: clamp(1.7rem, 2.6vw, 2.4rem);
}
#contact.contact-new-section .cn-visit__body .cn-eyebrow { margin-bottom: 0.9rem; }
#contact.contact-new-section .cn-addr {
  display: flex;
  align-items: flex-start;
  gap: 0.7rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.05rem, 1.3vw, 1.25rem);
  line-height: 1.45;
  color: var(--ink);
  margin-bottom: 0.4rem;
}
#contact.contact-new-section .cn-addr i { color: var(--gold); font-size: 1.05rem; margin-top: 0.25rem; flex: 0 0 auto; }

/* methods */
#contact.contact-new-section .cn-methods { display: flex; flex-direction: column; gap: 0.4rem; margin-top: 0.6rem; }
#contact.contact-new-section .cn-method {
  display: flex;
  gap: 1.1rem;
  align-items: flex-start;
  padding: 1.15rem 0;
  border-top: 1px solid var(--line);
  transition: transform 0.4s var(--ease);
}
#contact.contact-new-section .cn-method:last-child { border-bottom: 1px solid var(--line); }
#contact.contact-new-section .cn-method:hover { transform: translateX(4px); }
#contact.contact-new-section .cn-method__icon {
  flex: 0 0 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(201, 164, 103, 0.14);
  color: var(--gold-deep);
  font-size: 1.05rem;
}
#contact.contact-new-section .cn-method__body h4 {
  font-family: var(--font-display);
  font-size: 0.82rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.3rem;
  white-space: nowrap;
}
#contact.contact-new-section .cn-method__body p,
#contact.contact-new-section .cn-method__body a {
  font-size: 1.02rem;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
}
#contact.contact-new-section .cn-method__body a:hover { color: var(--gold-deep); }

/* directions button */
#contact.contact-new-section .cn-btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--ink);
  background: transparent;
  padding: 0.95rem 1.5rem;
  border: 1px solid var(--line-strong);
  cursor: pointer;
  text-decoration: none;
  margin-top: auto;
  width: 100%;
  justify-content: center;
  transition: border-color 0.4s var(--ease), color 0.4s var(--ease), transform 0.4s var(--ease);
}
#contact.contact-new-section .cn-btn-ghost:hover { border-color: var(--gold); color: var(--gold-deep); transform: translateY(-3px); }
#contact.contact-new-section .cn-btn-ghost i { font-size: 0.8rem; }

/* form card */
#contact.contact-new-section .cn-form-card {
  background: var(--card-2);
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: var(--shadow-md);
  padding: clamp(2rem, 3.2vw, 3rem);
  display: flex;
  flex-direction: column;
}
#contact.contact-new-section .cn-form-card__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.4rem, 2vw, 1.8rem);
  color: var(--ink);
  text-align: center;
  margin-bottom: 0.5rem;
}
#contact.contact-new-section .cn-form-card__hint {
  text-align: center;
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 2.2rem;
}
#contact.contact-new-section .cn-field { position: relative; margin-bottom: 1.5rem; }
#contact.contact-new-section .cn-field input,
#contact.contact-new-section .cn-field select,
#contact.contact-new-section .cn-field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 1rem;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: 2px;
  padding: 1.15rem 1rem 0.55rem;
  transition: border-color 0.3s var(--ease), box-shadow 0.3s var(--ease);
  appearance: none;
}
#contact.contact-new-section .cn-field textarea { min-height: 130px; resize: vertical; padding-top: 1.5rem; }
#contact.contact-new-section .cn-field select { cursor: pointer; }
#contact.contact-new-section .cn-field input:focus,
#contact.contact-new-section .cn-field select:focus,
#contact.contact-new-section .cn-field textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201, 164, 103, 0.18);
}
#contact.contact-new-section .cn-field label {
  position: absolute;
  left: 1rem;
  top: 0.95rem;
  font-size: 1rem;
  color: var(--muted);
  pointer-events: none;
  transition: all 0.22s var(--ease);
}
#contact.contact-new-section .cn-field input:focus + label,
#contact.contact-new-section .cn-field input:not(:placeholder-shown) + label,
#contact.contact-new-section .cn-field textarea:focus + label,
#contact.contact-new-section .cn-field textarea:not(:placeholder-shown) + label,
#contact.contact-new-section .cn-field select:focus + label,
#contact.contact-new-section .cn-field select.filled + label {
  top: 0.4rem;
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  color: var(--gold-deep);
  text-transform: uppercase;
}
#contact.contact-new-section .cn-field__chev {
  position: absolute;
  right: 1rem;
  top: 1.1rem;
  color: var(--muted);
  pointer-events: none;
}

/* submit button */
#contact.contact-new-section .cn-btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.7rem;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 0.92rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
  color: #fff;
  background: var(--gold);
  padding: 1.05rem 2.6rem;
  border: 1px solid var(--gold);
  cursor: pointer;
  width: 100%;
  margin-top: 0.6rem;
  transition: background 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}
#contact.contact-new-section .cn-btn-gold:hover {
  background: #9c0a0a;
  border-color: #9c0a0a;
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(156, 10, 10, 0.22);
}
#contact.contact-new-section .cn-form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 1rem;
}

/* scroll reveal */
#contact.contact-new-section .cn-reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.9s var(--ease), transform 0.9s var(--ease);
}
#contact.contact-new-section .cn-reveal.in { opacity: 1; transform: translateY(0); }
#contact.contact-new-section .cn-reveal.d1 { transition-delay: 0.08s; }

/* responsive */
@media (max-width: 960px) {
  #contact.contact-new-section .cn-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  #contact.contact-new-section .cn-wrap { padding: clamp(3.5rem, 11vw, 5rem) 1.25rem; }
  #contact.contact-new-section .cn-grid { margin-top: clamp(2.8rem, 8vw, 4rem); gap: 1.4rem; }
  #contact.contact-new-section .cn-visit__map { height: clamp(180px, 48vw, 230px); }
  #contact.contact-new-section .cn-form-card { padding: 1.8rem 1.4rem; }
  #contact.contact-new-section .cn-visit__body { padding: 1.8rem 1.5rem; }
}
@media (max-width: 540px) {
  #contact.contact-new-section .cn-btn-gold { padding: 0.95rem 1.9rem; font-size: 0.84rem; }
}
@media (prefers-reduced-motion: reduce) {
  #contact.contact-new-section .cn-reveal { opacity: 1; transform: none; transition: none; }
}
