/* CONTACT — the entire section reads as the lake surface: a flat tint below
   covers the whole section, and the mountain's reflection sits right at the
   top seam where Philosophy's peaks end. */
#contact { background: transparent; position: relative; overflow: hidden; }
/* Contact's entire background is water: the flat CSS gradient below (on
   .lake-continue::before) covers the whole section, and the mountain's one
   and only reflection lives right here — Philosophy shows just the peaks,
   no reflection of its own, so it isn't doubled. */
.lake-continue {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}
.lake-continue::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(200,217,229,1) 0%,
    rgba(200,217,229,0.5)  35%,
    rgba(200,217,229,0.22) 70%,
    rgba(200,217,229,0)    100%
  );
}
.lake-continue svg { display: block; width: 100%; height: 100%; }
.lake-shimmer {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 100%;
  background: repeating-linear-gradient(to bottom, rgba(255,255,255,0.16) 0px, rgba(255,255,255,0.16) 2px, transparent 2px, transparent 16px);
  mix-blend-mode: overlay;
  animation: lakeShimmer 6s ease-in-out infinite;
  pointer-events: none;
}
@keyframes lakeShimmer {
  0%, 100% { opacity: 0.3; }
  50%      { opacity: 0.55; }
}
/* ripples animate stroke-dashoffset (an SVG-native, unit-safe property) rather
   than a CSS transform — a CSS transform on a child of a non-uniformly-scaled
   (preserveAspectRatio="none") SVG resolves in the SVG's own coordinate space,
   not screen pixels, and was moving the old ripples an unpredictable amount. */
.ripple { stroke-dasharray: 10 8; animation: rippleFlow linear infinite, rippleFade ease-in-out infinite; }
.ripple-1 { animation-duration: 3s, 4s; }
.ripple-2 { animation-duration: 3.6s, 4.6s; animation-direction: reverse, alternate; }
.ripple-3 { animation-duration: 4.2s, 5.2s; }
@keyframes rippleFlow { to { stroke-dashoffset: -36; } }
@keyframes rippleFade { 0%, 100% { opacity: 0.5; } 50% { opacity: 0.9; } }
@media (prefers-reduced-motion: reduce) {
  .ripple, .lake-shimmer { animation: none; }
}
/* REFLECTION — same width as .mountain-lake (philosophy.css) and the exact
   vertical mirror of its polygon points at the same per-unit scale (viewBox
   is 600 wide in both, so 1 unit = the same number of px in both boxes), so
   it picks up precisely where the peaks stop with no gap and no distortion.
   The fill is a top-to-bottom gradient fading to transparent — rather than a
   flat tint — so the reflection dissolves into the lake tint behind it
   instead of reading as a separate, hard-edged shape. */
.lake-reflection-shape {
  position: absolute;
  top: 0; left: 50%;
  width: 800px;
  max-width: 88%;
  aspect-ratio: 600 / 170;
  transform: translateX(-50%);
  z-index: 1; /* must sit above .lake-continue's opaque water tint (z-index 0) */
  pointer-events: none;
}
.lake-reflection-shape svg { display: block; width: 100%; height: 100%; }
@media (max-width: 900px) { .lake-reflection-shape { width: 480px; max-width: 94%; } }

/* CONTACT CONTENT */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 100px; align-items: start; }
.contact-info.reveal { transform: translateX(-56px); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.contact-info.reveal.visible { transform: translateX(0); }
.contact-form.reveal { transform: translateX(56px); transition: opacity 0.9s cubic-bezier(.16,1,.3,1), transform 0.9s cubic-bezier(.16,1,.3,1); }
.contact-form.reveal.visible { transform: translateX(0); }
@media (max-width: 900px) {
  .contact-info.reveal, .contact-form.reveal { transform: translateY(40px); }
  .contact-info.reveal.visible, .contact-form.reveal.visible { transform: translateY(0); }
}
.contact-info { display: flex; flex-direction: column; gap: 36px; }
.contact-item { display: flex; flex-direction: column; gap: 6px; border-top: 1px solid var(--border); padding-top: 24px; position: relative; overflow: hidden; }
.contact-item::before {
  content: '';
  position: absolute; top: -1px; left: 0;
  width: 0; height: 2px;
  background: var(--blue);
  transition: width 0.7s cubic-bezier(.22,.61,.36,1);
}
.contact-item:hover::before { width: 100%; }
.contact-item-label { font-size: 0.65rem; letter-spacing: 0.25em; text-transform: uppercase; color: var(--blue); }
.contact-item-value { font-size: 0.95rem; color: var(--ink-soft); }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.65rem; letter-spacing: 0.2em; text-transform: uppercase; color: var(--ink-faint); }
.form-group { position: relative; }
.form-group input, .form-group textarea {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--ink);
  padding: 14px 18px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.25s;
  resize: none;
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--ink-faint); }
.form-group input:focus, .form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { height: 120px; }
.form-group::after {
  content: '';
  position: absolute;
  left: 18px; right: 18px; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transition: transform 0.35s cubic-bezier(.22,.61,.36,1);
  transform-origin: center;
  pointer-events: none;
}
.form-group:focus-within::after { transform: scaleX(1); }
.form-submit { margin-top: 8px; display: flex; align-items: center; gap: 16px; }
.form-success {
  font-size: 0.8rem;
  color: var(--blue);
  opacity: 0;
  transform: translateX(-8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}
.form-success.show { opacity: 1; transform: translateX(0); }
