:root {
  --navy: #0d2a4a;
  --deep: #081a2f;
  --sea: #1f6fa8;
  --foam: #eaf3f9;
  --sand: #f6efe4;
  --sunset: #f0a64b;
  --ink: #1b2430;
  --muted: #5b6b7d;
  --card: #ffffff;
  --line: #d9e3ec;
  --radius: 14px;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--ink);
  background: var(--foam);
  line-height: 1.6;
}
img { max-width: 100%; display: block; }
a { color: var(--sea); }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(8, 26, 47, 0.92);
  backdrop-filter: blur(6px);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; letter-spacing: .04em; }
.brand img { width: 40px; height: 40px; border-radius: 50%; }
.nav { display: flex; gap: 18px; }
.nav a { color: #d7e6f3; text-decoration: none; font-size: 15px; }
.nav a:hover { color: #fff; }
@media (max-width: 640px) { .nav { gap: 12px; } .nav a { font-size: 14px; } .brand span { display: none; } }

/* Hero */
.hero { padding: 0; background: var(--deep); }
.hero img { width: 100%; height: auto; }
.hero .actions { padding: 20px 16px 26px; display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-block; padding: 12px 20px; border-radius: 999px;
  font-weight: 600; text-decoration: none; font-size: 15px;
}
.btn-primary { background: var(--sunset); color: var(--deep); }
.btn-ghost { background: rgba(255,255,255,.14); color: #fff; border: 1px solid rgba(255,255,255,.5); }

/* Sections */
section { padding: 56px 0; scroll-margin-top: 64px; }
section.alt { background: var(--sand); }
h1, h2, h3 { color: var(--navy); line-height: 1.25; }
h2 { font-size: 28px; margin: 0 0 8px; }
.lede { color: var(--muted); margin: 0 0 28px; max-width: 680px; }

.about { display: grid; grid-template-columns: 220px 1fr; gap: 32px; align-items: center; }
.about img { border-radius: 50%; width: 220px; }
@media (max-width: 720px) { .about { grid-template-columns: 1fr; justify-items: center; text-align: center; } .about img { width: 160px; } }

.grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column; text-decoration: none; color: inherit;
}
.card:hover { border-color: var(--sea); }
.card .thumb { aspect-ratio: 16 / 9; background: #000 center / cover no-repeat; position: relative; }
.card .thumb.play::after {
  content: "▶"; position: absolute; inset: 0; display: grid; place-items: center;
  color: #fff; font-size: 34px; text-shadow: 0 2px 10px rgba(0,0,0,.6);
}
.card .body { padding: 14px 16px 18px; }
.card h3 { font-size: 17px; margin: 0 0 6px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
.tag { display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: .05em; text-transform: uppercase; color: var(--sea); margin-bottom: 6px; }

.shop .card .body { padding: 22px; }
.price { font-weight: 700; color: var(--navy); margin-top: 10px; }

/* Footer */
.site-footer { background: var(--deep); color: #c3d4e4; padding: 36px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px; justify-content: space-between; align-items: center; }
.site-footer a { color: #fff; text-decoration: none; margin-right: 16px; }

/* Blog post */
.post { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; max-width: 760px; margin: 40px auto; }
.post h1 { font-size: 32px; margin-top: 0; }
.post .meta { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.post img { border-radius: 10px; margin: 18px auto; max-height: 560px; width: auto; }
.post .video {
  display: grid; place-items: center; aspect-ratio: 16 / 9; margin: 20px 0;
  border-radius: 10px; background: #000 center / cover no-repeat; text-decoration: none;
}
.post .video span {
  background: rgba(8, 26, 47, .85); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 999px;
}
.post .video:hover span { background: var(--sunset); color: var(--deep); }
@media (max-width: 640px) { .post { padding: 20px; margin: 20px 16px; } .post h1 { font-size: 26px; } }
