@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600&family=Playfair+Display:wght@700&display=swap');

body { margin: 0; font-family: Montserrat, system-ui, -apple-system, Arial, sans-serif; background: #f7efe6; color: #2b2b2b; line-height: 1.6; font-size: 17px; }

/* Slim banner with navigation */
.topbar { background: linear-gradient(115deg, #4d3430 0%, #6e4a44 45%, #7f554e 70%, #5b3a35 100%); position: sticky; top: 0; z-index: 10; box-shadow: 0 2px 6px rgba(0,0,0,.2); }
.topbar .inner { max-width: 1200px; margin: 0 auto; display: flex; flex-wrap: wrap; align-items: center; gap: .2rem 1.1rem; padding: .5rem 1.25rem; }
.topbar a { color: #f7efe6; text-decoration: none; font-size: .85rem; padding: .2rem 0; border-bottom: 2px solid transparent; }
.topbar a:hover { border-bottom-color: #e0b98f; }
.topbar a.site { display: flex; align-items: center; gap: .6rem; font-family: "Playfair Display", Georgia, serif; font-weight: 700; font-size: 1.15rem; margin-right: 1rem; border-bottom: none; }
.topbar a.site img { width: 38px; height: 38px; border-radius: 50%; }

/* Page layout */
main { max-width: 920px; margin: 0 auto; padding: 2rem 1.25rem; }
footer { max-width: 920px; margin: 0 auto; padding: 1rem 1.25rem 2rem; font-size: .85rem; color: #6b5f55; border-top: 1px solid #d8cfbd; }

/* Home page */
.intro { display: flex; flex-wrap: wrap; gap: 1.5rem; align-items: center; }
.intro .logo { width: 240px; flex: 0 0 240px; margin: 0; }
.intro .lead { flex: 1 1 300px; font-size: 1.35rem; margin: 0; }
.intro-media { position: relative; flex: 0 0 240px; width: 240px; height: 240px; }
.intro-media video, .intro-media .logo { position: absolute; top: 0; left: 0; display: block; width: 100%; height: 100%; object-fit: contain; margin: 0; transition: opacity 1.2s ease; }
.intro-media .logo { opacity: 0; pointer-events: none; cursor: pointer; }

/* Type */
h1, h2 { font-family: "Playfair Display", Georgia, serif; font-weight: 700; line-height: 1.2; color: #3e2a26; }
h2 { margin-top: 1.75rem; }
a { color: #6b3f2e; }
a.button { display: inline-block; background: #6b3f2e; color: #fff; padding: .7rem 1.3rem; text-decoration: none; border-radius: 3px; font-family: Montserrat, system-ui, sans-serif; text-align: center; }
a.button:hover { background: #55301f; }
a.button.wide { display: block; max-width: 540px; margin: 1.5rem 0 0; }
.app-icon { float: right; width: 120px; border-radius: 22px; margin: 0 0 1rem 1.25rem; }
pre { background: #ece5d4; padding: .75rem; overflow-x: auto; white-space: pre-wrap; }
.placeholder { background: #fff3c4; padding: .2rem .4rem; }

/* Images and video */
.page-hero { display: block; width: 100%; max-width: 860px; height: auto; border-radius: 6px; margin: 0 0 1.5rem; }
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: .75rem; margin: 1.5rem 0; }
.gallery img { width: 100%; height: auto; border-radius: 6px; }
.video-wrap { position: relative; padding-bottom: 56.25%; height: 0; margin: 1.25rem 0; overflow: hidden; border-radius: 6px; }
.video-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
.shorts { display: flex; flex-wrap: wrap; gap: 1rem; margin: 1.25rem 0; }
.short-wrap { position: relative; width: 260px; max-width: 100%; aspect-ratio: 9 / 16; border-radius: 6px; overflow: hidden; }
.short-wrap iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0; }
