/* Blog home v3: hero with a fanned stack of guides + search, question ticker, bento grid. */
.bh-hero { padding-bottom: clamp(56px, 7vw, 96px); }
.bh-blob { position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .6; animation: bhBlob 14s ease-in-out infinite alternate; }
.bh-blob.b1 { width: 420px; height: 420px; right: 8%; top: 12%; background: #ffc98f; }
.bh-blob.b2 { width: 300px; height: 300px; left: -80px; bottom: -60px; background: #ffe0b8; animation-delay: -6s; }
@keyframes bhBlob { to { transform: translate(-40px, 30px) scale(1.12); } }
.bh-hw { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: clamp(32px, 5vw, 80px); align-items: center; max-width: 1240px; }
.bh-txt h1 { margin: 18px 0 0; font-size: clamp(52px, 6.6vw, 96px); line-height: .98; font-weight: 800; letter-spacing: -.05em; color: #12212f; }
.bh-txt h1 .h1-slogan { display: block; }
.bh-txt h1 .h1-keyword { display: block; margin-top: 22px; max-width: 26ch; font-size: clamp(18px, .9vw + 13px, 23px); line-height: 1.35; font-weight: 700; letter-spacing: -.01em; color: #c25e00; }
.bh-blog { position: relative; display: inline-block; color: #f7861e; }
.bh-blog svg { position: absolute; left: 0; right: 0; bottom: -10px; width: 100%; height: 16px; overflow: visible; }
.bh-blog path { fill: none; stroke: #f7861e; stroke-width: 5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: bhDraw 1.2s .6s cubic-bezier(.6, 0, .2, 1) forwards; }
@keyframes bhDraw { to { stroke-dashoffset: 0; } }
.bh-search { position: relative; display: flex; align-items: center; gap: 12px; max-width: 520px; height: 60px; margin-top: 28px; padding: 0 12px 0 20px; border-radius: 18px; background: #fff; box-shadow: 0 0 0 1px #eedfcd, 0 26px 44px -26px rgba(120, 70, 20, .55); color: #8a96a3; transition: box-shadow .25s, color .25s; }
.bh-search:focus-within { box-shadow: 0 0 0 2px #f7861e, 0 26px 44px -26px rgba(247, 134, 30, .6); color: #e56f06; }
.bh-search input { flex: 1; min-width: 0; height: 100%; border: 0; background: none; font: 500 16.5px Inter, system-ui, sans-serif; color: #12212f; outline: none; }
.bh-search kbd { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 8px; background: #f6f1ea; box-shadow: inset 0 -2px 0 #e7dccd; font: 700 13px Inter, sans-serif; color: #8a96a3; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.bh-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; margin: 22px 0 0; padding: 0; list-style: none; }
.bh-facts li { margin: 0; font-size: 14.5px; color: #5a6878; } .bh-facts li::before { display: none; }
.bh-facts b { font-size: 18px; color: #12212f; }

/* fanned stack of guide cards */
.bh-stack { position: relative; height: clamp(380px, 36vw, 500px); }
.hs-card { position: absolute; left: 50%; top: 50%; width: min(78%, 360px); border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(16, 33, 47, .07), 0 40px 70px -40px rgba(60, 35, 10, .55); text-decoration: none; transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.hs-img { display: grid; place-items: center; aspect-ratio: 16 / 10; padding: 18px; background: radial-gradient(circle at 50% 45%, #fff 0, #ffe9cf 80%); }
.hs-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 14px 12px rgba(40, 30, 20, .25)); }
.hs-img.is-photo { padding: 0; } .hs-img.is-photo img { object-fit: cover; filter: none; }
.hs-t { display: grid; gap: 4px; padding: 14px 18px 18px; }
.hs-t em { font-style: normal; font: 800 10.5px/1.2 var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; color: #c25e00; }
.hs-t b { font-size: 14px; color: #12212f; }
.hs0 { transform: translate(-50%, -50%) translate(-26%, -14%) rotate(-12deg) scale(.86); }
.hs1 { transform: translate(-50%, -50%) translate(24%, -18%) rotate(9deg) scale(.88); }
.hs2 { transform: translate(-50%, -50%) translate(-14%, 14%) rotate(-4deg) scale(.94); }
.hs3 { transform: translate(-50%, -50%) translate(8%, 6%) rotate(3deg); z-index: 2; }
.bh-stack:hover .hs0 { transform: translate(-50%, -50%) translate(-48%, -26%) rotate(-16deg) scale(.86); }
.bh-stack:hover .hs1 { transform: translate(-50%, -50%) translate(46%, -30%) rotate(14deg) scale(.88); }
.bh-stack:hover .hs2 { transform: translate(-50%, -50%) translate(-36%, 26%) rotate(-8deg) scale(.94); }
.bh-stack:hover .hs3 { transform: translate(-50%, -50%) translate(16%, 14%) rotate(2deg) scale(1.04); }
.bh-badge { position: absolute; z-index: 3; right: 2%; bottom: 6%; display: inline-flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 99px; background: #12212f; color: #fff; font-size: 13px; font-weight: 700; box-shadow: 0 20px 34px -18px rgba(18, 33, 47, .8); }
.bh-badge i { width: 8px; height: 8px; border-radius: 50%; background: #4ade80; box-shadow: 0 0 0 4px rgba(74, 222, 128, .25); }

/* questions ticker */
.bh-tick { display: flex; align-items: stretch; background: #fff; border-top: 1px solid #f1e6d8; border-bottom: 1px solid #f1e6d8; overflow: hidden; }
.bh-tick-k { flex: none; display: flex; align-items: center; padding: 0 22px; background: linear-gradient(135deg, #ffa24a, #f7861e); color: #fff; font: 800 12px/1 var(--mono, ui-monospace, monospace); letter-spacing: .1em; text-transform: uppercase; white-space: nowrap; }
.bh-tick-m { flex: 1; overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.bh-tick-in { display: flex; width: max-content; animation: bhTick 80s linear infinite; }
.bh-tick:hover .bh-tick-in { animation-play-state: paused; }
.bh-dup { display: contents; }
.bh-tick a { display: inline-flex; align-items: center; gap: 10px; padding: 18px 26px; font-size: 15px; font-weight: 600; color: #3a4a5a; text-decoration: none; white-space: nowrap; border-right: 1px solid #f3ebe0; transition: color .2s, background .2s; }
.bh-tick a i { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #fff1e2; color: #e56f06; font-style: normal; font-weight: 800; font-size: 13px; }
.bh-tick a:hover { color: #c25e00; background: #fffaf4; }
@keyframes bhTick { to { transform: translateX(-50%); } }

/* bento */
.bn-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.bn-top h2 { margin: 12px 0 0; font-size: clamp(30px, 3.2vw, 46px); line-height: 1.05; letter-spacing: -.035em; color: #12212f; }
.bn-sec .bx-bar { position: static; margin: 0; }
.bx-f i { display: inline-grid; place-items: center; min-width: 20px; height: 20px; margin-left: 4px; padding: 0 5px; border-radius: 99px; background: #f3ece3; font-style: normal; font-size: 11px; color: #6b7886; }
.bx-f.on i { background: rgba(255, 255, 255, .3); color: #fff; }
.bn-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: minmax(250px, auto); gap: 20px; grid-template-areas: "f f a r" "f f c c" "t t p p"; }
.bn-card { position: relative; display: flex; flex-direction: column; overflow: hidden; border-radius: 26px; background: #fff; box-shadow: 0 0 0 1px #eee4d8, 0 34px 56px -46px rgba(60, 40, 20, .5); text-decoration: none; color: inherit; transition: transform .4s cubic-bezier(.2, .8, .2, 1), box-shadow .4s; }
.bn-card:hover { transform: translateY(-6px); box-shadow: 0 0 0 1.5px #f7a24e, 0 44px 70px -44px rgba(247, 134, 30, .55); }
.bn-img { display: grid; place-items: center; padding: 22px; background: radial-gradient(circle at 50% 45%, #fff 0, #ffead2 80%); overflow: hidden; }
.bn-img img { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 18px 16px rgba(40, 30, 20, .26)); transition: transform .7s cubic-bezier(.2, .8, .2, 1); }
.bn-img.is-photo { padding: 0; } .bn-img.is-photo img { object-fit: cover; filter: none; }
.bn-card:hover .bn-img img { transform: scale(1.06) rotate(-1deg); }
.bn-body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 22px 24px 24px; }
.bn-body > b { font-size: 19px; line-height: 1.28; letter-spacing: -.01em; color: #12212f; }
.bn-l .bn-img { flex: 1; min-height: 300px; padding: 40px; }
.bn-l .bn-body { flex: none; }
.bn-l .bn-body > b { font-size: clamp(24px, 2.2vw, 32px); line-height: 1.15; letter-spacing: -.03em; }
.bn-l::before { content: "★ Start here"; position: absolute; z-index: 2; left: 22px; top: 22px; padding: 8px 14px; border-radius: 99px; background: #12212f; color: #fff; font-size: 12.5px; font-weight: 800; }
.bn-s .bn-img { height: 150px; }
.bn-w { flex-direction: row; }
.bn-w .bn-img { width: 44%; flex: none; }
.bn-w .bn-body { justify-content: center; }
.bn-tool { background: linear-gradient(160deg, #fff7ee, #ffe6c9); box-shadow: 0 0 0 1px #f3d4ae, 0 34px 56px -44px rgba(247, 134, 30, .6); }
.bn-ico { display: grid; place-items: center; width: 60px; height: 60px; margin: 24px 0 0 24px; border-radius: 18px; background: linear-gradient(135deg, #ffa24a, #f7861e); color: #fff; box-shadow: 0 16px 30px -12px rgba(247, 134, 30, .9); transition: transform .4s; }
.bn-tool:hover .bn-ico { transform: rotate(-8deg) scale(1.06); }
.bn-pilot { justify-content: center; background: radial-gradient(ellipse at 100% 0%, #ffd29c, transparent 60%), linear-gradient(135deg, #fff3e3, #ffe2c0); box-shadow: 0 0 0 1px #f3d4ae, 0 34px 56px -44px rgba(247, 134, 30, .6); }
.bn-pilot .bn-body { position: relative; z-index: 1; max-width: 420px; padding: 32px; }
.bn-pilot .bn-body > b { font-size: clamp(22px, 2vw, 28px); line-height: 1.2; letter-spacing: -.02em; }
.bn-pilot .btn { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; margin-top: 6px; }
.bn-rings { position: absolute; right: -40px; top: 50%; width: 260px; height: 260px; translate: 0 -50%; }
.bn-rings i { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(247, 134, 30, .35); animation: bnRing 3.6s ease-out infinite; }
.bn-rings i:nth-child(2) { animation-delay: 1.2s; } .bn-rings i:nth-child(3) { animation-delay: 2.4s; }
@keyframes bnRing { from { transform: scale(.3); opacity: 1; } to { transform: scale(1.1); opacity: 0; } }
.bn-grid.filtering { grid-template-areas: none; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: auto; }
.bn-grid.filtering .bn-card { grid-area: auto !important; flex-direction: column; }
.bn-grid.filtering .bn-w .bn-img, .bn-grid.filtering .bn-l .bn-img, .bn-grid.filtering .bn-s .bn-img { width: auto; height: 200px; min-height: 0; flex: none; }
.bn-grid.filtering .bn-tool, .bn-grid.filtering .bn-pilot { display: none; }

@media (max-width: 1100px) { .bn-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "f f" "a r" "c c" "t t" "p p"; } }
@media (max-width: 1000px) {
  .bh-hw { grid-template-columns: 1fr; }
  .bh-stack { height: 360px; max-width: 520px; width: 100%; justify-self: center; }
}
@media (max-width: 640px) {
  .bn-grid, .bn-grid.filtering { grid-template-columns: 1fr; grid-template-areas: "f" "a" "r" "c" "t" "p"; }
  .bn-w { flex-direction: column; } .bn-w .bn-img { width: auto; height: 200px; }
  .bh-stack { height: 300px; } .hs-card { width: 66%; }
  .bh-tick-k { padding: 0 14px; font-size: 10.5px; }
  .bh-search kbd { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .bh-blob, .bh-tick-in, .bn-rings i { animation: none !important; }
  .bh-blog path { animation: none; stroke-dashoffset: 0; }
}

section.bh-tick { padding: 0 !important; min-height: 0 !important; }
.bh-stack { margin-top: 30px; }
