@font-face {
  font-family: "Caveat";
  src: url("Caveat.ttf") format("truetype");
  font-weight: 400 700;
  font-display: swap;
}

:root {
  --ink: #2c211c;
  --soft: #6b5a50;
  --muted: #9a8a80;
  --accent: #e25e00;
  --card: rgba(255, 255, 255, 0.72);
  --border: #ecdcd0;
  --wash-top: #ffe3d0;
  --wash-mid: #fbf4ef;
  --wash-bottom: #e7dcff;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --ink: #f6ece4;
    --soft: #cbb9ad;
    --muted: #9a8a80;
    --accent: #ff9a3c;
    --card: rgba(40, 32, 28, 0.78);
    --border: #3d322c;
    --wash-top: #3a2418;
    --wash-mid: #1d1714;
    --wash-bottom: #2a2140;
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  min-height: 100vh;
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--ink);
  background: linear-gradient(180deg, var(--wash-top) 0%, var(--wash-mid) 45%, var(--wash-bottom) 100%) fixed;
}

.wrap { max-width: 960px; margin: 0 auto; padding: 24px 20px 48px; }

nav.top {
  display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap;
  margin-bottom: 32px;
}
nav.top .brand {
  display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font-weight: 600;
}
nav.top .brand img { width: 32px; height: 32px; border-radius: 8px; }
nav.top .links { display: flex; gap: 18px; flex-wrap: wrap; }
nav.top .links a { color: var(--soft); text-decoration: none; }
nav.top .links a:hover, nav.top .links a.active { color: var(--accent); }

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

.hero { text-align: center; padding: 24px 0 8px; }
.hero img.icon { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 12px 30px rgba(60, 40, 30, 0.18); }
.hero h1 {
  font-family: "Caveat", "Segoe Script", cursive; font-weight: 600;
  font-size: clamp(56px, 11vw, 96px); line-height: 1; margin: 18px 0 4px;
}
.hero .tagline { font-size: 22px; color: var(--soft); margin: 0; }
.hero .lead { max-width: 560px; margin: 18px auto 0; color: var(--soft); }
.badge {
  display: inline-block; margin-top: 24px; padding: 12px 22px; border-radius: 14px;
  background: var(--ink); color: var(--wash-mid); font-weight: 600; text-decoration: none;
}

.shots { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; margin: 40px 0 8px; }
.shots img { width: min(280px, 100%); height: auto; border-radius: 22px; box-shadow: 0 16px 40px rgba(60, 40, 30, 0.16); }

.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-top: 36px; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 20px; padding: 22px 24px;
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
}
.card h3 { margin: 0 0 6px; font-size: 18px; }
.card p { margin: 0; color: var(--soft); }

article.card { padding: 32px clamp(20px, 5vw, 44px); }
article h1 { font-size: 34px; margin: 0 0 4px; }
article h2 { font-size: 20px; margin: 30px 0 8px; }
article .meta { color: var(--muted); margin: 0 0 18px; font-size: 15px; }
article p, article li { color: var(--ink); }
article ul { padding-left: 22px; }
article li { margin-bottom: 6px; }
article details { border-top: 1px solid var(--border); padding: 14px 0; }
article details:last-of-type { border-bottom: 1px solid var(--border); }
article summary { cursor: pointer; font-weight: 600; }
article details p { margin: 10px 0 0; color: var(--soft); }

footer {
  margin-top: 40px; display: flex; gap: 18px; flex-wrap: wrap; justify-content: center;
  color: var(--muted); font-size: 14px;
}
footer a { color: var(--muted); }
