/* Roeske.com prototype — Weebly "scrapbook" theme recreation */
@import url('https://fonts.googleapis.com/css2?family=Crete+Round:ital@0;1&family=Open+Sans:wght@400;600;700&display=swap');

:root {
  --paper: #fffdf8;
  --tan: #c9b896;
  --ink: #3a2f1f;
  --muted: #6b5a45;
  --accent: #e08a1a;
  --accent-dark: #c46e0a;
  --wood: #2a2116;
  --pill: #4a3422;
  --ribbon: #e6a422;
  --content-max: 960px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 14px;
  color: var(--ink);
  background: #b9a582 url('theme/body-bg.jpg') repeat;
  min-height: 100vh;
}

a { color: var(--accent-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Top utility / torn-paper strip ===== */
.topbar {
  background: transparent url('theme/header-top.png') top center / 1100px 65px no-repeat;
  min-height: 55px;
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 24px 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 20px;
  position: relative;
  z-index: 2;
}
.topbar-phone {
  font-family: 'Crete Round', Georgia, serif;
  font-size: 15px;
  color: #1a1a1a;
  letter-spacing: 0.02em;
}
.topbar-social {
  display: flex;
  gap: 4px;
  align-items: center;
  flex: 1;
}
.topbar-social a {
  display: inline-flex;
  width: 23px; height: 23px;
  border-radius: 3px;
  background: var(--accent);
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}
.topbar-social a:hover { filter: brightness(1.1); text-decoration: none; }
.topbar-social a.fb { background: #3b5998; }
.topbar-social a.tw { background: #1da1f2; }
.topbar-social a.li { background: #0077b5; }
.topbar-social a.mail { background: #666; }
.topbar-social a.yt { background: #cd201f; }

/* ===== Banner with mountain + title + gold ribbon ===== */
.banner {
  background: #c3d5d7 url('theme/header-wrapper-orange.jpg') bottom center / cover no-repeat;
  padding: 28px 16px 0;
  text-align: center;
  position: relative;
  min-height: 160px;
}
.banner-title {
  margin: 0 0 18px;
  font-family: 'Crete Round', Georgia, serif;
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 400;
  color: #fff;
  text-shadow: 0 2px 6px rgba(0,0,0,0.45);
}
.ribbon {
  display: block;
  width: min(940px, 96%);
  height: 28px;
  margin: 0 auto;
  background: linear-gradient(180deg, #f0c04a 0%, #d99214 55%, #b8730a 100%);
  clip-path: polygon(12px 0, calc(100% - 12px) 0, 100% 50%, calc(100% - 12px) 100%, 12px 100%, 0 50%);
  box-shadow: 0 2px 4px rgba(0,0,0,0.25);
  position: relative;
  z-index: 1;
}

/* ===== Main white paper column ===== */
.page-wrap {
  max-width: 1040px;
  margin: -8px auto 0;
  padding: 0 12px 40px;
  position: relative;
  z-index: 1;
}
.paper {
  background: var(--paper) url('theme/Content_Area_Bg.jpg') top center / 100% auto no-repeat;
  background-color: #fffcf5;
  border-radius: 2px;
  box-shadow: 0 4px 18px rgba(0,0,0,0.18);
  padding: 28px 28px 40px;
  position: relative;
}
@media (min-width: 700px) {
  .paper { padding: 36px 48px 56px; }
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: linear-gradient(180deg, #f0a23a, #d07810);
  color: #fff !important;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 22px;
  border-radius: 4px;
  text-shadow: 0 -1px 0 rgba(0,0,0,0.35);
  box-shadow: 0 1px 2px rgba(0,0,0,0.25);
  text-decoration: none !important;
  border: none;
  cursor: pointer;
}
.btn:hover { filter: brightness(1.08); }

/* ===== Section pills ===== */
.section-pill {
  display: inline-block;
  background: linear-gradient(180deg, #5c4030, #3a2818);
  color: #fff;
  font-family: 'Open Sans', sans-serif;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.02em;
  padding: 6px 18px;
  border-radius: 999px;
  margin: 28px 0 14px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 1px 2px rgba(0,0,0,0.3);
}

/* ===== Tile grid ===== */
.tile-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  gap: 12px 14px;
  margin: 0 0 8px;
}
@media (min-width: 600px) {
  .tile-grid { grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 14px 16px; }
}
@media (min-width: 900px) {
  .tile-grid { grid-template-columns: repeat(6, 1fr); }
}
.tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  border: 1px solid #e5dcc8;
  border-radius: 6px;
  padding: 10px 8px 8px;
  text-decoration: none !important;
  color: var(--ink);
  transition: transform .12s ease, box-shadow .12s ease;
  min-height: 110px;
}
.tile:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.12);
  border-color: var(--accent);
}
.tile img {
  width: 100%;
  max-width: 100px;
  height: 56px;
  object-fit: contain;
  margin-bottom: 8px;
}
.tile.card-tile img {
  height: 64px;
  max-width: 110px;
}
.tile span {
  font-size: 11px;
  text-align: center;
  line-height: 1.25;
  color: var(--muted);
  font-weight: 600;
}

/* ===== Houses row ===== */
.houses {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin: 18px 0 8px;
}
@media (min-width: 700px) {
  .houses { grid-template-columns: repeat(3, 1fr); }
}
.house {
  display: block;
  text-decoration: none !important;
  color: var(--muted);
  text-align: center;
}
.house img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border: 1px solid #ccc;
  border-radius: 2px;
  display: block;
  margin-bottom: 6px;
  background: #eee;
}
.house:hover img { border-color: var(--accent); }
.house figcaption {
  font-size: 11px;
  line-height: 1.35;
  color: #777;
}

.page-title {
  font-family: 'Crete Round', Georgia, serif;
  font-size: clamp(22px, 3.5vw, 32px);
  font-weight: 400;
  color: var(--ink);
  margin: 12px 0 8px;
}
.page-title.accent {
  color: var(--accent-dark);
  font-size: clamp(24px, 4vw, 36px);
}

/* ===== Main page specifics ===== */
.hero-photo {
  display: block;
  width: 100%;
  max-width: 720px;
  margin: 0 auto 28px;
  border: 1px solid #ded6c1;
  box-shadow: 0 2px 8px rgba(0,0,0,0.12);
}
.main-links {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  align-items: start;
}
@media (min-width: 720px) {
  .main-links { grid-template-columns: 1fr 1fr 1.2fr; }
}
.social-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.social-list li { margin: 0 0 10px; }
.social-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.social-list a:hover { color: var(--accent-dark); }
.social-list img {
  width: 36px; height: 36px;
  border-radius: 6px;
  object-fit: cover;
}
.cag-card {
  width: 100%;
  max-width: 320px;
  border: 1px solid #ddd;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* ===== Anne tribute ===== */
.video-wrap {
  width: 100%;
  max-width: 800px;
  margin: 20px auto 0;
  background: #111;
  border-radius: 4px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
}
.video-wrap video {
  width: 100%;
  height: 100%;
  display: block;
  background: #000;
}
.video-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 280px;
  background: #1a1a1a url('../assets/anne_ruygrok_-v2_746.jpg') center / cover;
  color: #fff;
  text-align: center;
  padding: 24px;
  position: relative;
}
.video-placeholder::before {
  content: '';
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.45);
}
.video-placeholder > * { position: relative; z-index: 1; }

/* ===== Footer ===== */
.site-footer {
  background: #262015 url('theme/footer-bg.jpg') center / cover;
  color: #fff;
  text-align: right;
  padding: 28px 24px 32px;
  font-family: 'Crete Round', Georgia, serif;
  font-style: italic;
  font-size: 13px;
  margin-top: 0;
}
.site-footer .inner {
  max-width: 1040px;
  margin: 0 auto;
}

/* Utility */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}
.note {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
