:root{
  --gap: 48px;
  --teaser-width: 320px;
  --nav-height: 64px;
  --card-bg: rgba(255,255,255,0.92);
  --accent: #ff6b6b;
  --text: #111;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
}

html, body {
  height: 100%;
  margin: 0;
}

/* full-page background */
.bg {
  position: fixed;
  inset: 0;
  background-image: url('landingPageBackground.jpeg');
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  z-index: -2;
}

.overlay {
  position: fixed;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.28));
  z-index: -1;
}

.page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

header {
  height: var(--nav-height);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 20px;
  gap: 16px;
  color: white;
  backdrop-filter: blur(6px);
  background: linear-gradient(180deg, rgba(0,0,0,0.18), rgba(0,0,0,0.06));
}

.brand { display:flex; align-items:center; gap:12px; font-weight:600; color:#fff; }
.brand .logo { width:36px; height:36px; border-radius:6px; background:var(--accent); display:inline-block; }

nav ul { margin:0; padding:0; list-style:none; display:flex; gap:16px; align-items:center; }
nav a { color: white; text-decoration:none; padding:8px 12px; border-radius:6px; font-weight:500; }
nav a:hover { background: rgba(255,255,255,0.06); }

/* main content */
main {
  position: relative;
  flex: 1;
  padding: calc(var(--gap) + var(--nav-height)) var(--gap) var(--gap);
  box-sizing: border-box;
}

/* teasers */
.teasers { position: absolute; inset: 0; pointer-events: none; }
.teaser {
  pointer-events: auto;
  max-width: var(--teaser-width);
  background: var(--card-bg);
  color: var(--text);
  padding: 18px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.28);
  text-decoration: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.teaser h3{ margin:0; font-size:1.05rem; }
.teaser p{ margin:0; font-size:0.95rem; color:#333; }
.teaser .meta{ margin-top:8px; font-size:0.85rem; color:#666; }

.tl { position: absolute; top: var(--gap); left: var(--gap); }
.br { position: absolute; right: var(--gap); bottom: var(--gap); }

.corner-stack{ display:flex; flex-direction:column; gap:12px; align-items:flex-start; }
.corner-stack.br{ align-items:flex-end; }

/* article styles */
.article {
  max-width: 760px;
  background: rgba(214, 213, 206, 0.95);
  color: #111;
  margin: 40px auto;
  padding: 28px;
  border-radius: 12px;
  box-shadow: 0 12px 36px rgba(0,0,0,0.18);
}
.article h1{ margin-top:0; font-size:1.8rem; }
.article .byline{ color:#666; font-size:0.9rem; margin-bottom:18px; }
.article p{ line-height:1.6; margin:12px 0; }
.article img.hero{ width:100%; border-radius:8px; margin:16px 0; }

/* responsive */
@media (max-width:880px){
  :root{ --teaser-width: 260px; --gap:24px; }
  header { padding:0 12px; }
  .article{ margin:24px 16px; padding:20px; }
}
@media (max-width:640px){
  nav ul{ display:none; }
  header{ padding:0 12px; }
  .br{ right:18px; bottom:18px; }
}
