:root { --ink: #1a1a1a; --muted: #68645d; --line: rgba(26,26,26,.12); }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, sans-serif; line-height: 1.6; }
.image-background { display: block; max-width: 100%; background-position: center; background-size: cover; background-repeat: no-repeat; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 32px)); margin: 0 auto; }

.topbar { background: rgba(26,26,26,.95); color: #fff; border-bottom: 1px solid rgba(255,255,255,.1); position: sticky; top: 0; z-index: 1000; }
.nav { min-height: 84px; display: flex; align-items: center; justify-content: space-between; gap: 24px; position: relative; }
.brand { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.brand-logo { width: 48px; height: 48px; border-radius: 14px; background: rgba(250,248,243,.15); display: grid; place-items: center; overflow: hidden; }
.brand-logo .image-background { width: 100%; height: 100%; border-radius: 12px; background-size: contain; background-color: #000; }
.brand-text { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.04em; white-space: nowrap; }
.nav-right-wrap { display: flex; align-items: center; gap: 24px; }
.nav-links { display: flex; align-items: center; gap: 24px; color: rgba(255,255,255,.75); font-weight: 600; }
.nav-links a { transition: color .2s ease; white-space: nowrap; }
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 46px; border-radius: 12px; padding: 0 20px; background: #faf8f3; color: #1a1a1a; font-weight: 700; box-shadow: 0 12px 26px rgba(0,0,0,.2); white-space: nowrap; }
.mobile-cta { display: none; }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 0; position: relative; z-index: 1002; }
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after { display: block; width: 22px; height: 2px; background: #fff; content: ""; position: relative; margin: auto; }
.menu-toggle span::before { position: absolute; top: -7px; left: 0; }
.menu-toggle span::after { position: absolute; top: 7px; left: 0; }

.post-page { background: linear-gradient(180deg, #fbfaf8 0%, #eee9e1 100%); }
.post-hero { padding: 76px 0 58px; border-bottom: 1px solid var(--line); }
.post-back-wrap { margin-bottom: 24px; }
.post-back { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border: 1px solid var(--line); border-radius: 8px; color: var(--ink); font-weight: 700; transition: background .2s ease, transform .2s ease; }
.post-back:hover { background: rgba(255,255,255,.7); transform: translateX(-3px); }
.post-layout { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(320px, .85fr); gap: 48px; align-items: center; }
.post-category { color: #8d7119; font-size: .78rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.post-title { margin: 16px 0 20px; max-width: 820px; font-size: clamp(2.8rem, 6vw, 5.8rem); line-height: .96; letter-spacing: -.07em; }
.post-summary { max-width: 680px; margin: 0; color: var(--muted); font-size: 1.18rem; }
.post-side { display: grid; gap: 18px; }
.post-hero-image { width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 8px; object-fit: contain; box-shadow: 0 18px 40px rgba(26,26,26,.16); }
.post-meta { padding: 18px 22px; border: 1px solid var(--line); border-radius: 8px; background: rgba(255,255,255,.62); color: var(--muted); }
.post-meta strong { display: block; margin-bottom: 6px; color: var(--ink); font-size: 1.2rem; }
.post-article { padding: 68px 0 92px; }
.post-copy { max-width: 760px; margin: 0 auto; }
.post-copy h2 { margin: 46px 0 14px; font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.05; letter-spacing: -.05em; }
.post-copy p { color: #4f4c46; font-size: 1.08rem; }
.post-copy ul { padding-left: 22px; color: #4f4c46; }
.post-copy li { margin: 10px 0; }
.post-source { display: inline-flex; margin-top: 24px; padding: 13px 18px; border-radius: 9px; background: #1a1a1a; color: #fff; font-weight: 700; }
.post-source:hover { background: #3b3b3b; }
.post-copy ol { padding-left: 22px; color: #4f4c46; }
.post-copy ol li { margin: 10px 0; }
.post-related { padding: 64px 0 80px; border-top: 1px solid var(--line); background: rgba(255,255,255,.38); }
.post-related-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.post-related-heading h2 { margin: 0; font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; letter-spacing: -.05em; }
.post-related-controls { display: flex; gap: 10px; }
.post-related-controls button { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 50%; background: #fff; color: var(--ink); font-size: 1.2rem; cursor: pointer; }
.post-related-controls button:hover { background: #1a1a1a; color: #fff; }
.post-related-track { display: flex; gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; }
.post-related-track::-webkit-scrollbar { display: none; }
.post-related-card { flex: 0 0 calc((100% - 40px) / 3); min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 8px; background: #fff; scroll-snap-align: start; box-shadow: 0 12px 28px rgba(26,26,26,.08); transition: transform .2s ease, box-shadow .2s ease; }
.post-related-card:hover { transform: translateY(-4px); box-shadow: 0 18px 36px rgba(26,26,26,.14); }
.post-related-image { width: 100%; aspect-ratio: 16 / 9; background-color: #e9e4da; background-position: center; background-size: cover; background-repeat: no-repeat; }
.post-related-copy { display: flex; min-height: 250px; flex-direction: column; align-items: flex-start; padding: 20px; }
.post-related-copy .post-category { font-size: .68rem; }
.post-related-copy h3 { margin: 10px 0; font-size: 1.2rem; line-height: 1.1; letter-spacing: -.035em; }
.post-related-copy p { margin: 0 0 16px; color: var(--muted); font-size: .92rem; }
.post-related-date { margin-top: auto; color: var(--muted); font-size: .82rem; font-weight: 700; }

footer { background: #1a1a1a; color: rgba(255,255,255,.85); padding: clamp(40px,6vw,64px) 0 24px; }
.footer-inner { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(24px,5vw,40px); }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.footer-brand-logo { width: 42px; height: 42px; border-radius: 12px; overflow: hidden; }
.footer-brand-logo .image-background { width: 100%; height: 100%; }
.footer-brand-text { font-size: 1.35rem; font-weight: 800; color: #fff; letter-spacing: -.03em; }
.footer-links { display: flex; flex-wrap: wrap; gap: 12px 20px; margin-top: 16px; }
.footer-links a { color: rgba(255,255,255,.8); }
.footer-links a:hover { color: #fff; }
.footer-email { font-size: clamp(1.1rem,3.5vw,1.5rem); font-weight: 700; letter-spacing: -.04em; margin-bottom: 10px; color: #fff; word-break: break-word; }
.socials { display: flex; align-items: center; gap: 12px; justify-content: flex-end; margin-top: 18px; }
.socials a { width: 42px; height: 42px; border-radius: 50%; background: rgba(255,255,255,.08); display: grid; place-items: center; transition: transform .2s ease, background .2s ease; }
.socials a:hover { transform: translateY(-3px); background: rgba(255,255,255,.25); }
.socials .image-background { width: 22px; height: 22px; }
.copyright { margin-top: 26px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.1); color: rgba(255,255,255,.7); text-align: center; font-size: .9rem; }

@media (max-width: 900px) {
	.desktop-cta { display: none; }
	.menu-toggle { display: block; }
	.nav-links { position: fixed; inset: 0; width: 100vw; height: 100vh; background: #141414; flex-direction: column; align-items: center; justify-content: center; gap: 28px; padding: 100px 24px 40px; opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .3s ease, visibility .3s ease, transform .3s ease; z-index: 1001; overflow-y: auto; }
	.nav-links.open { opacity: 1; visibility: visible; transform: translateY(0); }
	.nav-links a { font-size: 1.4rem; color: rgba(255,255,255,.85); }
	.mobile-cta { display: inline-flex; margin-top: 16px; width: 100%; max-width: 300px; padding: 14px 20px; }
	.footer-inner { grid-template-columns: 1fr; }
	.socials { justify-content: flex-start; }
}

@media (max-width: 760px) { .post-hero { padding: 56px 0 44px; } .post-layout { display: block; } .post-side { margin-top: 28px; } .post-hero-image { max-width: 100%; } .post-article { padding: 48px 0 68px; } .post-related { padding: 48px 0 60px; } .post-related-card { flex-basis: min(84vw, 360px); } }
