/* Nobu MD - static mirror stylesheet. Self-contained, no external requests. */
:root {
  --bg: #ffffff;
  --bg-alt: #f4f7fb;
  --text: #1f2933;
  --muted: #52606d;
  --accent: #1f4e79;
  --accent-dark: #163a5c;
  --border: #e2e8f0;
  --footer-bg: #14263b;
  --footer-text: #cbd5e1;
  --footer-heading: #ffffff;
  --radius: 8px;
  --maxw: 860px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, "Apple Color Emoji", sans-serif;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
  font-size: 17px;
}

.container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 20px;
}

a { color: var(--accent); }
a:hover { color: var(--accent-dark); }

img { max-width: 100%; height: auto; }

/* ---------- Header ---------- */
.site-header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 20;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 64px;
  gap: 16px;
  flex-wrap: wrap;
}
.brand {
  font-weight: 700;
  font-size: 1.3rem;
  letter-spacing: 0.01em;
  color: var(--accent);
  text-decoration: none;
}
.site-nav {
  display: flex;
  gap: 26px;
  flex-wrap: wrap;
}
.site-nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.98rem;
}
.site-nav a:hover { color: var(--accent); }

/* ---------- Hero ---------- */
.hero {
  background: var(--bg-alt);
  text-align: center;
  padding: 84px 0 72px;
  border-bottom: 1px solid var(--border);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 2.75rem);
  line-height: 1.15;
  margin: 0 0 18px;
  color: var(--accent-dark);
}
.hero .lead {
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 620px;
  margin: 0 auto 28px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--accent-dark); color: #fff; }

/* ---------- Page head (interior pages) ---------- */
.page-head {
  background: var(--bg-alt);
  border-bottom: 1px solid var(--border);
  padding: 56px 0;
  text-align: center;
}
.page-head h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4.5vw, 2.4rem);
  color: var(--accent-dark);
}

/* ---------- Content sections ---------- */
.section { padding: 56px 0; }
.section h2 {
  font-size: 1.7rem;
  color: var(--accent-dark);
  margin: 0 0 14px;
}
.section h3 { font-size: 1.3rem; margin: 0 0 8px; color: var(--accent-dark); }
.section-intro {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 680px;
  margin: 0 0 36px;
}
.center { text-align: center; }
.center .section-intro { margin-left: auto; margin-right: auto; }

/* ---------- Events ---------- */
.event-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 20px;
}
.event {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  background: var(--bg);
  box-shadow: 0 1px 2px rgba(20, 38, 59, 0.04);
}
.event h3 { margin: 0 0 4px; }
.event-date {
  color: var(--accent);
  font-weight: 600;
  font-size: 0.95rem;
  margin: 0 0 10px;
}
.event p:last-child { margin-bottom: 0; color: var(--muted); }

/* ---------- Services ---------- */
.service {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
}
.service:last-child { border-bottom: none; }
.service p { color: var(--muted); margin: 0; }

/* ---------- Legal / prose ---------- */
.prose h1 { font-size: 2rem; color: var(--accent-dark); margin: 0 0 8px; }
.prose h2 {
  font-size: 1.35rem;
  color: var(--accent-dark);
  margin: 34px 0 10px;
}
.prose p { margin: 0 0 14px; }
.prose ul { margin: 0 0 16px; padding-left: 22px; }
.prose li { margin: 0 0 6px; }
.prose a { word-break: break-word; }

/* ---------- Contact form ---------- */
.contact-form { margin-top: 32px; max-width: 640px; }
.field { margin-bottom: 20px; }
.field label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  font-size: 0.98rem;
}
.field .req { color: #c0392b; }
.field input,
.field textarea {
  width: 100%;
  padding: 11px 13px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-family: inherit;
  font-size: 1rem;
  color: var(--text);
  background: #fff;
}
.field input:focus,
.field textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 1px;
  border-color: var(--accent);
}
.field textarea { resize: vertical; min-height: 120px; }

.consent { margin: 8px 0 26px; }
.checkbox {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
}
.checkbox input {
  margin: 4px 0 0;
  flex: 0 0 auto;
  width: 17px;
  height: 17px;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 48px 0 0;
  margin-top: 24px;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding-bottom: 36px;
}
.footer-title {
  color: var(--footer-heading);
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 6px;
}
.footer-tagline { margin: 0; color: var(--footer-text); }
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-nav a {
  color: var(--footer-text);
  text-decoration: none;
  font-size: 0.96rem;
}
.footer-nav a:hover { color: #fff; }
.footer-legal {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  text-align: center;
}
.footer-legal p { margin: 0; font-size: 0.88rem; color: var(--footer-text); }

/* ---------- Responsive ---------- */
@media (max-width: 600px) {
  body { font-size: 16px; }
  .header-inner { min-height: 56px; }
  .site-nav { gap: 16px; }
  .hero { padding: 60px 0 52px; }
  .footer-inner { flex-direction: column; gap: 24px; }
}
