/* Guard NEW preview site — brand: graphite #333F48 / #3D464C, orange #EE7219, Poppins (local, appended by build.mjs). */
:root { --ink: #333F48; --text: #414A4D; --band: #3D464C; --or: #EE7219; --bg: #F4F4F2; --line: #DCDDDA; --card: #fff; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 400 16px/1.55 "Poppins", system-ui, sans-serif; }
a { color: var(--or); }
img, video { display: block; max-width: 100%; }

/* top bar */
.top { position: sticky; top: 0; z-index: 20; background: #fff; border-bottom: 1px solid var(--line); }
.top-in { max-width: 1440px; margin: 0 auto; padding: 12px 28px; display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; gap: 14px; color: var(--ink); text-decoration: none; font-weight: 300; }
.brand img { height: 30px; width: auto; }
.brand b { font-weight: 700; }
.top nav { display: flex; gap: 4px; flex-wrap: wrap; margin-left: auto; }
.top nav a { color: var(--ink); text-decoration: none; padding: 7px 12px; font-size: 14px; border-radius: 2px; }
.top nav a:hover { background: var(--bg); }
.top nav a[aria-current] { background: var(--ink); color: #fff; }

main { max-width: 1440px; margin: 0 auto; padding: 0 28px 60px; }
.foot { text-align: center; font-size: 13px; color: #8a9094; padding: 30px; }

/* hero + intro */
.hero { padding: 56px 0 28px; max-width: 900px; }
.hero.small { padding: 40px 0 12px; max-width: none; }
.hero h1 { margin: 0 0 14px; font-weight: 600; font-size: clamp(30px, 4vw, 48px); line-height: 1.1; letter-spacing: -0.01em; }
.hero h1::after { content: ""; display: block; width: 90px; height: 6px; background: var(--or); margin-top: 18px; }
.lead { font-size: 19px; font-weight: 300; max-width: 900px; }
.toc { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.toc a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); background: #fff; padding: 6px 14px; font-size: 14px; }
.toc a:hover { border-color: var(--or); }
.switch { display: inline-flex; align-items: center; gap: 10px; margin-top: 10px; font-weight: 500; }
.switch select { font: inherit; padding: 8px 10px; border: 1px solid var(--line); background: #fff; min-width: 320px; }

.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 24px; margin: 16px 0 40px; }
.tile { display: grid; grid-template-columns: 220px 1fr; background: #fff; text-decoration: none; color: var(--ink); border: 1px solid var(--line); transition: border-color .2s; }
.tile:hover { border-color: var(--or); }
.tile img { width: 100%; height: 100%; object-fit: cover; }
.tile div { padding: 26px; }
.tile h2 { margin: 0 0 8px; font-weight: 600; }
.tile.dark { background: #111; color: #fff; border-color: #111; }
.howto { background: #fff; border: 1px solid var(--line); padding: 28px 32px; margin-bottom: 40px; }
.howto h2 { margin-top: 0; font-weight: 600; }
.howto li { margin-bottom: 8px; }
.note { font-size: 14px; color: #6b7276; }

/* sections */
section[id] { scroll-margin-top: 80px; }
.sec-head { margin: 48px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); max-width: 980px; }
.sec-head h2 { margin: 0 0 6px; font-weight: 600; font-size: 28px; }
.sec-head p { margin: 0; color: var(--text); font-weight: 300; }

/* masonry */
.masonry { columns: 4 280px; column-gap: 18px; }
.masonry.videos { columns: 3 300px; }
.card { break-inside: avoid; margin: 0 0 18px; background: var(--card); border: 1px solid var(--line); cursor: zoom-in; }
.card.video { cursor: default; }
.card img, .card video { width: 100%; height: auto; aspect-ratio: var(--ar); background: #e9e9e7; }
.card figcaption { padding: 10px 12px 12px; font-size: 13px; display: flex; flex-direction: column; }
.card figcaption b { font-weight: 500; }
.card figcaption span { color: #7a8084; }

/* display boards: real size */
.board { margin: 0 0 30px; }
.board h3 { font-weight: 500; font-size: 17px; margin: 0 0 12px; }
.board-items { display: flex; flex-wrap: wrap; gap: 18px; align-items: flex-start; }
.banner { margin: 0; cursor: zoom-in; }
.banner img { box-shadow: 0 1px 0 var(--line), 0 0 0 1px var(--line); }
.banner figcaption { font-size: 12px; color: #7a8084; margin-top: 5px; }

.logos { display: flex; flex-wrap: wrap; gap: 18px; }
.logo-card { margin: 0; background: #fff; border: 1px solid var(--line); padding: 12px; }
.logo-card img { height: 150px; width: auto; }
.logo-card figcaption { font-size: 13px; color: #7a8084; margin-top: 6px; }

/* studio page: dark */
body.dark { background: #0d0d0d; color: #eee; }
body.dark .sec-head, body.dark .card, body.dark .toc a { border-color: #2a2a2a; }
body.dark .sec-head p, body.dark .lead { color: #c9c9c9; }
body.dark .card { background: #161616; }
body.dark .card figcaption span, body.dark .banner figcaption { color: #8d8d8d; }
body.dark .toc a { background: #161616; color: #eee; }
body.dark .board h3 { color: #eee; }
body.dark .banner img { box-shadow: 0 0 0 1px #2a2a2a; }

/* lightbox */
#lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(15, 17, 18, .92); display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 30px; cursor: zoom-out; }
#lightbox[hidden] { display: none; }
#lightbox button { position: absolute; top: 14px; right: 22px; font-size: 40px; line-height: 1; background: none; border: 0; color: #fff; cursor: pointer; }
.lb-media img { max-width: 92vw; max-height: 84vh; width: auto; height: auto; }
.lb-cap { color: #ddd; margin-top: 12px; font-size: 14px; }

/* ── portal mockup (generic news portal, not a copy of any real one) ── */
.mock-portal { background: #fff; border: 1px solid var(--line); max-width: 1100px; margin: 20px auto 0; font-family: Georgia, "Times New Roman", serif; color: #1d1d1d; }
.mp-top { display: flex; align-items: center; gap: 20px; padding: 16px 24px; border-bottom: 1px solid #eee; font-family: "Poppins", sans-serif; }
.mp-logo { font-weight: 700; font-size: 26px; letter-spacing: -0.02em; color: #1d1d1d; }
.mp-logo span { color: #fff; background: #c8102e; padding: 0 6px; margin-left: 4px; }
.mp-search { flex: 1; height: 34px; background: #f2f2f2; border-radius: 17px; }
.mp-login { font-size: 14px; }
.mp-menu { display: flex; gap: 22px; padding: 10px 24px; background: #1d1d1d; color: #fff; font: 500 14px "Poppins", sans-serif; overflow-x: auto; white-space: nowrap; }
.mp-ad { text-align: center; }
.mp-ad small { display: block; font: 10px "Poppins", sans-serif; letter-spacing: .12em; color: #999; margin-bottom: 4px; }
.mp-ad img { margin: 0 auto; background: #f2f2f2; }
.mp-bill { padding: 16px 0; background: #fafafa; border-bottom: 1px solid #eee; }
.mp-body { display: grid; grid-template-columns: 1fr 300px; gap: 40px; padding: 24px; }
.mp-crumbs { font: 12px "Poppins", sans-serif; color: #c8102e; text-transform: uppercase; letter-spacing: .05em; }
.mp-article h1 { font-size: 32px; line-height: 1.2; margin: 8px 0 10px; }
.mp-article h2 { font-size: 22px; }
.mp-meta { font: 13px "Poppins", sans-serif; color: #888; margin-bottom: 16px; }
.mp-photo { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #cfd6dc, #eef1f3 55%, #d9dee2); margin-bottom: 16px; }
.mp-lead { font-weight: 700; }
.mp-article p { font-size: 18px; line-height: 1.6; }
.mp-inline { float: right; margin: 6px 0 14px 24px; }
.mp-side { display: flex; flex-direction: column; gap: 24px; }
.mp-box h3 { font: 600 16px "Poppins", sans-serif; border-bottom: 3px solid #c8102e; padding-bottom: 6px; }
.mp-hot { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid #eee; font-size: 15px; line-height: 1.35; }
.mp-hot b { font: 700 22px "Poppins", sans-serif; color: #c8102e; min-width: 18px; }
.mp-hot small { display: block; font: 11px "Poppins", sans-serif; color: #999; text-transform: uppercase; }
.mp-sky { position: sticky; top: 90px; }
.mp-more { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding: 0 24px 30px; border-top: 1px solid #eee; padding-top: 24px; }
.mp-tease small { font: 11px "Poppins", sans-serif; color: #c8102e; text-transform: uppercase; display: block; margin-top: 8px; }
.mp-tease b { font-size: 16px; line-height: 1.3; }
.mp-thumb { aspect-ratio: 16 / 9; background: linear-gradient(135deg, #dde2e6, #f1f3f4); }
@media (max-width: 900px) { .mp-body { grid-template-columns: 1fr; } .mp-inline { float: none; margin: 14px auto; } .mp-more { grid-template-columns: 1fr; } }

/* ── social mockups (generic layouts, own simple icons) ── */
.sm-row h2 { font-weight: 600; margin: 44px 0 16px; padding-top: 24px; border-top: 1px solid var(--line); }
.sm-feed { display: flex; flex-wrap: wrap; gap: 28px; align-items: flex-start; }
.sm-feed.fb { background: #f0f2f5; padding: 24px; }
.sm-feed.li { background: #f4f2ee; padding: 24px; }
.sp-head { display: flex; align-items: center; gap: 10px; padding: 12px 14px; }
.sp-head b { display: block; font-size: 14px; font-weight: 600; color: #111; }
.sp-head small { font-size: 12px; color: #6b6f73; }
.sp-head .more { margin-left: auto; }
.av { width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 1px solid #ddd; display: grid; place-items: center; flex: none; overflow: hidden; }
.av img { width: 26px; height: 26px; }
.sp-cap { font-size: 14px; line-height: 1.45; color: #111; padding: 0 14px 12px; margin: 0; }
.sp-media img, .sp-media video { width: 100%; height: auto; }
.ic { display: inline-flex; width: 22px; height: 22px; }
.ic svg { width: 100%; height: 100%; fill: currentColor; stroke: currentColor; }
.btn { background: #e4e6ea; color: #111; font-size: 14px; font-weight: 600; padding: 8px 14px; border-radius: 6px; white-space: nowrap; }
.btn.ghost { background: none; border: 1.5px solid #0a66c2; color: #0a66c2; border-radius: 18px; }
.btn.wide { display: block; text-align: center; background: rgba(255, 255, 255, .92); }
.globe { display: inline-block; width: 10px; height: 10px; border-radius: 50%; border: 1.5px solid #6b6f73; vertical-align: -1px; }

.fb-post { width: 500px; max-width: 100%; background: #fff; border-radius: 8px; box-shadow: 0 1px 2px rgba(0, 0, 0, .15); }
.fb-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; background: #f0f2f5; padding: 10px 14px; }
.fb-cta small { color: #65676b; font-size: 12px; }
.fb-cta b { display: block; font-size: 15px; color: #111; }
.fb-act { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: #65676b; font-size: 14px; border-top: 1px solid #e4e6ea; justify-content: space-around; }

.phone { width: 360px; max-width: 100%; background: #fff; border: 10px solid #111; border-radius: 36px; overflow: hidden; position: relative; }
.ig-post .sp-head { padding: 10px 12px; }
.ig-cta { display: flex; justify-content: space-between; padding: 10px 12px; font-size: 14px; font-weight: 600; color: #111; border-bottom: 1px solid #efefef; }
.ig-act { display: flex; gap: 14px; padding: 10px 12px 4px; color: #111; }
.ig-act .sp { flex: 1; }
.ig-post .sp-cap { padding: 6px 12px 16px; }
.reel { aspect-ratio: 9 / 16; background: #000; }
.reel video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.reel-ui { position: absolute; inset: 0; color: #fff; background: linear-gradient(to top, rgba(0, 0, 0, .55), transparent 40%); }
.reel-side { position: absolute; right: 12px; bottom: 150px; display: flex; flex-direction: column; gap: 22px; }
.reel-side .ic { width: 28px; height: 28px; }
.reel-bottom { position: absolute; left: 12px; right: 60px; bottom: 16px; font-size: 13px; }
.reel-bottom .sp-head { padding: 0 0 8px; }
.reel-bottom .sp-head b, .reel-bottom .sp-head small { color: #fff; }
.reel-bottom p { margin: 0 0 10px; }

.li-post { width: 550px; max-width: 100%; background: #fff; border-radius: 8px; border: 1px solid #e0dfdc; }
.li-cta { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 10px 14px; background: #eef3f8; }
.li-cta b { display: block; font-size: 14px; color: #111; }
.li-cta small { color: #666; font-size: 12px; }
.li-act { display: flex; align-items: center; gap: 6px; padding: 10px 14px; color: #555; font-size: 13px; justify-content: space-around; border-top: 1px solid #e0dfdc; }
body.mock .masonry { columns: 1; }

@media (max-width: 720px) { .tile { grid-template-columns: 1fr; } .tile img { max-height: 260px; } main { padding: 0 16px 40px; } }

@font-face{font-family:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/poppins-300-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:300;font-display:swap;src:url(/fonts/poppins-300-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:400;font-display:swap;src:url(/fonts/poppins-400-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:500;font-display:swap;src:url(/fonts/poppins-500-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:600;font-display:swap;src:url(/fonts/poppins-600-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins-700-latin-ext.woff2) format('woff2');unicode-range:U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;}
@font-face{font-family:'Poppins';font-style:normal;font-weight:700;font-display:swap;src:url(/fonts/poppins-700-latin.woff2) format('woff2');unicode-range:U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;}
