/* ConnectHere shared visual system: Valley Postcard.
   Warm paper, navy ink, golden-hour photography, one green for WhatsApp actions. */
:root {
  --bg: #f7f4ee;
  --surface: #ffffff;
  --sunk: #efeae0;
  --ink: #0f2747;
  --muted: #4d5d76;
  --line: #e2dccf;
  --accent: #0a69b4;
  --accent-soft: #e3eef8;
  --sun: #f39a1e;
  --teal: #0e7a66;
  --wa: #0f7a43;
  --wa-hover: #0b6638;
  --deep: #0f2747;
  --on-deep: #ffffff;
  --on-deep-mute: #c4d2e6;
  --bubble-in: #ffffff;
  --bubble-out: #d9f2d6;
  --chat-bg: #ece6d9;
  --shadow: 0 1px 2px rgba(0, 0, 0, .06), 0 6px 16px -8px rgba(0, 0, 0, .22);
  --radius: 20px;
  --display: "Outfit", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color-scheme: light dark;
}
@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0b1424;
    --surface: #12203a;
    --sunk: #0e1a2f;
    --ink: #eef3fa;
    --muted: #a6b5cb;
    --line: #243450;
    --accent: #5ab4f2;
    --accent-soft: #14304e;
    --sun: #f6a93b;
    --teal: #3cc4a8;
    --wa: #13804a;
    --wa-hover: #0f6e3f;
    --deep: #0e1b31;
    --bubble-in: #1b2a43;
    --bubble-out: #1f4a32;
    --chat-bg: #0f1a2c;
    --shadow: 0 1px 2px rgba(0, 0, 0, .3), 0 8px 18px -8px rgba(0, 0, 0, .6);
  }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scrollbar-color: var(--muted) var(--bg); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.55 var(--sans); }
::selection { background: var(--sun); color: #0f2747; }
a { color: inherit; }
img { display: block; max-width: 100%; }
:focus-visible { outline: 3px solid var(--sun); outline-offset: 3px; border-radius: 10px; }
.ico-svg { width: 1em; height: 1em; flex: none; }
.wrap { max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 860px) { .wrap { padding: 0 32px; } }

/* Header: sits on top of photography (white) or on paper (ink) */
.top { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 0; }
.brand { display: inline-flex; align-items: center; gap: 9px; font: 700 21px/1 var(--display); letter-spacing: -0.02em; text-decoration: none; }
.brand img { width: 36px; height: 36px; }
.brand span { color: var(--sun); }
.on-photo, .on-photo .brand { color: #fff; }
.on-photo .brand img { filter: drop-shadow(0 1px 3px rgba(0, 0, 0, .4)); }
.lang { display: flex; background: rgba(15, 39, 71, .72); border: 1px solid rgba(255, 255, 255, .22); border-radius: 999px; padding: 3px; backdrop-filter: blur(8px); }
.lang button { border: 0; background: transparent; color: #dbe6f5; font: 700 13px/1 var(--sans); padding: 0 12px; min-height: 40px; border-radius: 999px; cursor: pointer; min-width: 46px; }
.lang button[aria-pressed="true"] { background: #fff; color: #0f2747; }
.lang button:focus-visible { outline-offset: 0; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 56px; padding: 0 24px; border-radius: 16px; font: 700 17px/1.2 var(--sans); text-decoration: none; border: 0; cursor: pointer; text-align: center; transition: background .15s, transform .15s, border-color .15s; }
.btn .ico-svg { font-size: 22px; }
.btn:active { transform: scale(.98); }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: var(--wa-hover); }
.btn-ghost { background: var(--surface); color: var(--ink); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); }
.btn-sun { background: var(--sun); color: #0f2747; }
.btn-sun:hover { background: #ffad3b; }
.btn-line { background: transparent; color: #fff; border: 1.5px solid rgba(255, 255, 255, .45); }
.btn-line:hover { border-color: #fff; }

h1, h2, h3 { font-family: var(--display); letter-spacing: -0.025em; text-wrap: balance; }
h2 { font-size: clamp(28px, 6.4vw, 44px); line-height: 1.08; margin: 0 0 12px; font-weight: 700; }
.sub { color: var(--muted); margin: 0 0 24px; max-width: 34em; }
.tag { display: inline-block; font-size: 11px; font-weight: 700; color: var(--muted); border: 1px dashed currentColor; border-radius: 999px; padding: 1px 8px; margin-left: 6px; white-space: nowrap; vertical-align: 1px; }

/* Photo band: the page-top on inner pages (events, partners) */
.band { position: relative; color: #fff; isolation: isolate; background: #1b2a43; }
.band > picture, .band > picture img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.band::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11, 20, 36, .55) 0%, rgba(11, 20, 36, .62) 45%, rgba(11, 20, 36, .88) 100%); }

footer.site { padding: 36px 0 48px; color: var(--muted); font-size: 14px; display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
footer.site .safe { display: inline-flex; align-items: center; gap: 7px; color: var(--ink); }
footer.site .safe .ico-svg { color: var(--wa); font-size: 16px; }
@media (prefers-color-scheme: dark) { footer.site .safe .ico-svg { color: #3fbf7f; } }
footer.site a { color: var(--muted); }
