/* clauvv.com — static clone of the WordPress/Astra original.
   One shared stylesheet for all 6 pages. System font stack like Astra. */
:root {
  --ink: #1e293b;
  --body: #334155;
  --muted: #64748b;
  --bg: #ffffff;
  --bar: #111111;
  --line: #e8edf2;
  --max: 1240px;
  --gap: 20px;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans,
    Ubuntu, Cantarell, "Helvetica Neue", Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

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

a { color: var(--ink); }

/* ---------- header ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 90px; height: auto; }
.brand span { font-size: 22px; font-weight: 600; color: var(--ink); }

.main-nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 4px;
  flex-wrap: wrap;
}

.main-nav a {
  display: block;
  padding: 10px 14px;
  text-decoration: none;
  color: var(--body);
  font-size: 16px;
  border-radius: 6px;
}

.main-nav a:hover { color: var(--ink); background: #f1f5f9; }
.main-nav a[aria-current="page"] { color: var(--ink); font-weight: 600; }

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  color: var(--ink);
}

/* ---------- layout ---------- */
.wrap { max-width: var(--max); margin: 0 auto; padding: 24px 20px 48px; }

.page-title {
  color: var(--ink);
  text-align: center;
  font-size: clamp(30px, 4vw, 44px);
  margin: 12px 0 8px;
  font-weight: 700;
  line-height: 1.2;
}

.lede {
  text-align: center;
  font-size: 20px;
  color: var(--ink);
  margin: 0 0 12px;
}

.intro { max-width: 820px; margin: 0 auto 28px; text-align: center; }
.intro p { margin: 0 0 12px; }

.cover { margin: 0 0 24px; }
.cover img { width: 100%; border-radius: 4px; }

/* mosaic: replicates the original WP block-gallery behavior
   (columns-default, cropped): 3 per row, equal-height rows with
   cover-cropped images, incomplete last rows stretch to fill. */
.mosaic {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.mosaic figure { margin: 0; flex: 1 1 calc(33.33% - 11px); min-width: 0; display: flex; }
.mosaic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  background: #f1f5f9;
}

/* black contact bar (home) */
.contact-bar {
  background: var(--bar);
  color: #fff;
  margin: 28px calc(50% - 50vw) 0;
  padding: 16px 20px;
}

.contact-bar-inner {
  max-width: var(--max);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: nowrap;
}

.contact-bar p { margin: 0; font-size: 18px; letter-spacing: 0.2px; white-space: nowrap; }
.contact-bar a { display: inline-block; flex-shrink: 0; }
.contact-bar img { width: 72px; height: 72px; object-fit: contain; }

/* about */
.about-photo { max-width: 900px; margin: 0 auto 24px; }
.about-photo img { width: 100%; border-radius: 4px; }
.contact-line { text-align: center; font-style: italic; }

/* ---------- footer ---------- */
.site-footer {
  border-top: 1px solid var(--line);
  padding: 20px;
  text-align: center;
  color: var(--muted);
  font-size: 15px;
}

.site-footer p { margin: 0; }

/* scroll to top */
.to-top {
  position: fixed;
  right: 20px;
  bottom: 20px;
  width: 46px;
  height: 46px;
  border: none;
  border-radius: 50%;
  background: var(--ink);
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

.to-top.show { display: inline-flex; }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .mosaic figure { flex-basis: calc(50% - 8px); }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 1px solid var(--line);
  }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; padding: 8px 12px 14px; }
  .brand img { width: 68px; }
  .brand span { font-size: 19px; }
}

@media (max-width: 560px) {
  body { font-size: 16px; }
  .mosaic figure { flex-basis: 100%; }
  .contact-bar img { width: 52px; height: 52px; }
  .contact-bar p { font-size: 16px; }
}
