
/* ---------- Blog ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--eggshell); color: var(--tinta); font-family: var(--body); font-size: 17px; line-height: 1.6; --logo-ink: var(--tinta); --logo-dot: var(--cuero); }
main h1, main h2, main h3 { font-family: var(--display); font-weight: 800; line-height: var(--lh-title); margin: 0; letter-spacing: -.005em; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 16px; top: 16px; z-index: 99; padding: 8px 14px; background: var(--white); border-radius: 8px; }
main { width: min(1180px, 100% - 40px); margin: 0 auto; padding-top: calc(var(--header-h) + 24px); }

/* Header */
.bh { position: sticky; top: 14px; z-index: 50; display: flex; align-items: center; gap: 20px; width: min(1220px, 100% - 28px); margin: 14px auto 0; padding: 10px 12px 10px 22px; border-radius: 999px; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); box-shadow: 0 10px 30px -18px rgba(42, 38, 32, .45); }
.bh-logo { display: flex; }
.bh-logo:hover circle { animation: dot-hop .6s var(--ease-spring); transform-box: fill-box; transform-origin: center; }
@keyframes dot-hop { 40% { transform: translateY(-9px) scale(1.1, .9); } 70% { transform: translateY(0) scale(.92, 1.08); } }
.bh-nav { display: flex; gap: 24px; margin-left: auto; font-weight: 600; font-size: 15px; }
.bh-nav a { position: relative; text-decoration: none; padding: 6px 0; }
.bh-nav a.is-on::after, .bh-nav a:hover::after { content: ""; position: absolute; left: 50%; bottom: -4px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--terracota); }
.bh-cta { display: inline-flex; align-items: center; gap: 0; padding: 12px 20px; border-radius: 999px; background: var(--tinta); color: var(--eggshell); text-decoration: none; font-weight: 600; font-size: 15px; transition: gap .35s var(--ease-spring), background-color .25s; }
.bh-cta i { width: 0; height: 7px; border-radius: 50%; background: var(--eggshell); transform: translateY(-12px) scale(0); transition: width .3s, transform .45s cubic-bezier(.3, 1.6, .5, 1); }
.bh-cta:hover { gap: 6px; background: var(--terracota); }
.bh-cta:hover i { width: 7px; transform: none; }

/* Shared bits */
.bdot { display: inline-block; width: .16em; height: .16em; margin-left: .06em; border-radius: 50%; background: var(--terracota); animation: caret-drop .9s var(--ease-out) .4s both; }
@keyframes caret-drop { 0% { transform: translateY(-1.1em) scale(.7, 1.3); opacity: 0; } 35% { transform: translateY(0) scale(1.45, .6); opacity: 1; } 55% { transform: translateY(-.22em) scale(.9, 1.1); } 75% { transform: translateY(0) scale(1.1, .9); } 100% { transform: none; } }
main mark { padding: 0 .06em; background: linear-gradient(var(--terracota), var(--terracota)) no-repeat 0 90% / 0% 46%; color: inherit; animation: pen 1s cubic-bezier(.65, 0, .35, 1) .5s forwards; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
@keyframes pen { to { background-size: 100% 46%; } }
.vf-tag { position: relative; display: inline-flex; align-items: center; gap: 12px; margin: 0 0 22px; padding: 10px 16px; font-size: 14px; font-weight: 600; }
.vf-c i, .bp-vf i, .bcta-vf i, .incta-vf i, .th-vf i { position: absolute; width: 14px; height: 14px; border: 0 solid currentColor; }
.vf-c i:nth-child(1), .bp-vf i:nth-child(1), .bcta-vf i:nth-child(1), .incta-vf i:nth-child(1), .th-vf i:nth-child(1) { top: 0; left: 0; border-top-width: 2.5px; border-left-width: 2.5px; }
.vf-c i:nth-child(2), .bp-vf i:nth-child(2), .bcta-vf i:nth-child(2), .incta-vf i:nth-child(2), .th-vf i:nth-child(2) { top: 0; right: 0; border-top-width: 2.5px; border-right-width: 2.5px; }
.vf-c i:nth-child(3), .bp-vf i:nth-child(3), .bcta-vf i:nth-child(3), .incta-vf i:nth-child(3), .th-vf i:nth-child(3) { bottom: 0; left: 0; border-bottom-width: 2.5px; border-left-width: 2.5px; }
.vf-c i:nth-child(4), .bp-vf i:nth-child(4), .bcta-vf i:nth-child(4), .incta-vf i:nth-child(4), .th-vf i:nth-child(4) { bottom: 0; right: 0; border-bottom-width: 2.5px; border-right-width: 2.5px; }
.vf-c { position: absolute; inset: 0; animation: vf-focus 1s var(--ease-spring) both; }
@keyframes vf-focus { from { inset: -8px; opacity: 0; } }
.vf-rec { display: inline-flex; align-items: center; gap: 6px; padding-right: 12px; border-right: 1.5px solid rgba(42, 38, 32, .25); font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.vf-rec i, .bcta-k i, .tldr-k i { width: 8px; height: 8px; border-radius: 50%; background: var(--terracota); animation: blink 1.2s steps(1) infinite; }
@keyframes blink { 50% { opacity: .2; } }

/* Hero */
.bhero { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, .7fr); gap: clamp(28px, 5vw, 72px); align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(28px, 4vw, 48px); }
.bhero-title { font-size: clamp(4rem, 10vw, 9rem); line-height: var(--lh-title); }
.bhero-title mark { color: var(--eggshell); background-size: 0% 100%; background-position: 0 50%; animation-name: pen-full; }
@keyframes pen-full { to { background-size: 100% 100%; } }
.bhero-lede { max-width: 46ch; margin: 22px 0 0; font-size: 19px; }
.bhero-stats { display: flex; gap: 18px; margin: 22px 0 0; font-weight: 600; }
.bhero-stats span { display: inline-flex; align-items: baseline; gap: 6px; padding: 6px 14px; border: 2px solid var(--tinta); border-radius: 12px; background: var(--white); box-shadow: 3px 3px 0 var(--tinta); }
.bhero-stats span:nth-child(2) { transform: rotate(2deg); }
.bhero-stats b { font-family: var(--display); font-size: 26px; line-height: 1; color: var(--terracota); }
.bhero-phone { position: relative; justify-self: center; width: min(100%, 320px); aspect-ratio: 9 / 16; margin: 0; border-radius: 30px; overflow: hidden; background: var(--tinta); box-shadow: 0 0 0 8px var(--tinta), 0 40px 70px -34px rgba(42, 38, 32, .8); rotate: 2deg; animation: phone-bob 5s ease-in-out infinite alternate; isolation: isolate; }
/* The phone only floats; its tilt stays fixed. Animating the rotation made the
   browser re-rasterize the rounded clip over the video every frame, which
   flickered at the top-right corner. */
@keyframes phone-bob { to { translate: 0 -8px; } }
.bhero-phone video { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.bp-vf { position: absolute; inset: 14px; color: var(--eggshell); }
.bp-rec { position: absolute; top: 24px; left: 26px; display: inline-flex; align-items: center; gap: 6px; color: var(--eggshell); font-family: var(--display); font-weight: 700; letter-spacing: .08em; }
.bp-rec i { width: 9px; height: 9px; border-radius: 50%; background: #ff4b3a; animation: blink 1.2s steps(1) infinite; }
.bp-cap { position: absolute; left: 16px; right: 16px; bottom: 18px; display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 14px; background: rgba(255, 255, 255, .92); font-size: 13px; font-weight: 700; }
.bp-dots { display: inline-flex; gap: 3px; }
.bp-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--terracota); animation: hop 1.1s ease-in-out infinite; }
.bp-dots i:nth-child(2) { animation-delay: .15s; }
.bp-dots i:nth-child(3) { animation-delay: .3s; }
@keyframes hop { 0%, 60%, 100% { transform: none; } 30% { transform: translateY(-5px); } }

/* Filters */
.bfilters { display: flex; flex-wrap: wrap; gap: 10px; margin: 8px 0 26px; }
.bf-chip { --r: -2deg; padding: 8px 16px; border: 2px solid var(--tinta); border-radius: 14px; background: var(--white); color: var(--tinta); font: inherit; font-size: 15px; font-weight: 800; box-shadow: 3px 3px 0 var(--tinta); transform: rotate(var(--r)); cursor: pointer; transition: transform .35s var(--ease-spring), box-shadow .25s, background-color .25s, color .25s; }
.bf-chip:nth-child(even) { --r: 2deg; }
.bf-chip:hover { transform: rotate(0) translate(-2px, -3px); box-shadow: 5px 6px 0 var(--tinta); }
.bf-chip.is-on { background: var(--terracota); color: var(--eggshell); transform: rotate(0) translate(2px, 2px); box-shadow: 1px 1px 0 var(--tinta); }

/* Post cards */
.bgrid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.post { --tilt: 0deg; transition: opacity .4s, transform .5s var(--ease-spring); }
.post[hidden] { display: none; }
.post-link { display: grid; height: 100%; border-radius: 24px; overflow: hidden; background: var(--white); text-decoration: none; box-shadow: 0 1px 0 rgba(42, 38, 32, .06), 0 24px 40px -30px rgba(42, 38, 32, .6); transition: transform .45s var(--ease-spring), box-shadow .3s; }
.post-link:hover { transform: translateY(-6px) rotate(-.6deg); box-shadow: 0 0 0 3px var(--terracota), 0 30px 46px -28px rgba(42, 38, 32, .7); }
.post-body { display: grid; align-content: start; gap: 10px; padding: 20px 22px 24px; }
.post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 13px; font-weight: 600; color: var(--indigo); }
.post-cat { padding: 3px 10px; border-radius: 999px; background: var(--eggshell); color: var(--terracota); font-weight: 800; }
.post-title { font-family: var(--display); font-weight: 800; font-size: 28px; line-height: 1; }
.post-desc { font-size: 15px; line-height: 1.5; opacity: .85; }
.post-go { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-weight: 800; color: var(--terracota); }
.post-go svg { transition: transform .3s var(--ease-spring); }
.post-link:hover .post-go svg { transform: translateX(5px); }
.post--feat { grid-column: 1 / -1; }
.post--feat .post-link { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); }
.post--feat .post-body { align-content: center; padding: clamp(24px, 4vw, 48px); }
.post--feat .post-title { font-size: clamp(34px, 3.6vw, 52px); }
.js .bgrid .post { opacity: 0; transform: translateY(40px) rotate(var(--tilt)); }
.js .bgrid.is-in .post { opacity: 1; transform: none; }
.js .bgrid.is-in .post:nth-child(2) { transition-delay: .1s; }
.js .bgrid.is-in .post:nth-child(3) { transition-delay: .2s; }
.js .bgrid.is-in .post:nth-child(4) { transition-delay: .3s; }

/* Thumbnails: hand-made "recording" scenes */
.th { position: relative; display: block; aspect-ratio: 16 / 10; overflow: hidden; color: var(--eggshell); background: var(--terracota); isolation: isolate; }
.th--big { aspect-ratio: auto; min-height: 340px; height: 100%; }
.th-grain { position: absolute; inset: -50%; z-index: 3; opacity: .12; pointer-events: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E"); animation: grain .5s steps(4) infinite; }
@keyframes grain { 25% { transform: translate(-4%, 3%); } 50% { transform: translate(3%, -5%); } 75% { transform: translate(-2%, 4%); } }
.th-vf { position: absolute; inset: 14px; z-index: 4; color: var(--eggshell); }
.th-rec { position: absolute; top: 22px; left: 26px; z-index: 4; display: inline-flex; align-items: center; gap: 6px; font-family: var(--display); font-weight: 700; font-size: 14px; letter-spacing: .08em; }
.th-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4b3a; animation: blink 1.2s steps(1) infinite; }
.th-word { position: absolute; left: 26px; bottom: 18px; z-index: 2; font-family: var(--display); font-weight: 800; font-size: clamp(64px, 9vw, 120px); line-height: .8; letter-spacing: -.01em; }
.th-word--sm { font-size: clamp(34px, 4vw, 56px); }
/* types */
.th--types { background: var(--terracota); }
.th-tiles { position: absolute; right: 18px; top: 50px; bottom: 18px; left: 46%; display: flex; flex-wrap: wrap; align-content: center; gap: 6px; }
.th-tiles i { font-style: normal; padding: 5px 10px; border-radius: 10px; background: var(--eggshell); color: var(--tinta); font-weight: 800; font-size: 12px; transform: rotate(calc((var(--k) - 3) * 3deg)); animation: tile-pop 4.2s var(--ease-spring) calc(var(--k) * .35s) infinite; }
.th-tiles i:nth-child(odd) { background: var(--tinta); color: var(--eggshell); }
@keyframes tile-pop { 0%, 70%, 100% { transform: rotate(calc((var(--k) - 3) * 3deg)); } 80% { transform: rotate(0) translateY(-6px) scale(1.12); } }
/* start */
.th--start { background: var(--indigo); }
.th-ring { position: absolute; right: 12%; top: 50%; width: 46%; aspect-ratio: 1; border-radius: 50%; border: 14px solid #f6dcc4; transform: translateY(-50%); box-shadow: 0 0 40px 10px rgba(246, 220, 196, .45), inset 0 0 30px rgba(246, 220, 196, .5); animation: ring 2.6s ease-in-out infinite; }
@keyframes ring { 50% { box-shadow: 0 0 70px 22px rgba(246, 220, 196, .6), inset 0 0 40px rgba(246, 220, 196, .7); } }
.th-phone { position: absolute; right: calc(12% + 23% - 34px); top: 50%; width: 68px; height: 120px; margin-top: -60px; border-radius: 14px; background: var(--tinta); box-shadow: 0 0 0 3px var(--eggshell); }
.th-face { position: absolute; left: 50%; top: 30%; width: 26px; height: 26px; margin-left: -13px; border-radius: 50%; background: #e8b98f; box-shadow: 0 30px 0 6px #8f3f23; }
.th-dot { position: absolute; left: 50%; bottom: 10px; width: 10px; height: 10px; margin-left: -5px; border-radius: 50%; background: #ff4b3a; animation: blink 1.2s steps(1) infinite; }
/* portfolio */
.th--portfolio { background: var(--tinta); }
.th-fan { position: absolute; right: 18%; top: 54%; width: 0; height: 0; }
.th-fan i { position: absolute; left: -38px; top: -66px; width: 76px; height: 132px; border-radius: 12px; border: 3px solid var(--eggshell); background: linear-gradient(160deg, #a45332, var(--terracota)); transform-origin: 50% 120%; transform: rotate(calc((var(--k) - 2) * 12deg)); animation: fan 4s var(--ease-spring) infinite; }
.th-fan i:nth-child(even) { background: linear-gradient(160deg, #3a4d70, var(--indigo)); }
@keyframes fan { 0%, 100% { transform: rotate(calc((var(--k) - 2) * 12deg)); } 50% { transform: rotate(calc((var(--k) - 2) * 18deg)) translateY(-6px); } }
/* flags */
.th--flags { background: var(--bordo); }
.th-flags { position: absolute; right: 10%; top: 28%; display: flex; gap: 22px; }
.th-flags i { position: relative; width: 6px; height: 120px; border-radius: 3px; background: var(--eggshell); transform: rotate(calc((var(--k) - 1) * 6deg)); }
.th-flags i b { position: absolute; left: 6px; top: 4px; display: grid; place-items: center; width: 64px; height: 44px; background: #e04a2f; color: var(--eggshell); font-family: var(--display); font-size: 28px; clip-path: polygon(0 0, 100% 10%, 82% 50%, 100% 90%, 0 100%); transform-origin: 0 50%; animation: wave 1.4s ease-in-out calc(var(--k) * .2s) infinite; }
@keyframes wave { 50% { transform: skewY(-8deg) scaleX(.88); } }
/* drafts */
.th--draft { background: var(--oliva); }
.th-clap { position: absolute; right: 16%; top: 30%; width: 120px; height: 80px; border-radius: 6px; background: var(--tinta); }
.th-clap i { position: absolute; left: 0; right: 0; top: -22px; height: 22px; background: repeating-linear-gradient(-55deg, var(--eggshell) 0 12px, var(--tinta) 12px 24px); transform-origin: 0 100%; animation: clap 2s ease-in-out infinite; }
@keyframes clap { 0%, 60%, 100% { transform: rotate(-16deg); } 70% { transform: rotate(0); } }

/* In production */
.bprod { margin: clamp(56px, 8vw, 96px) calc(50% - 50vw) 0; padding: clamp(48px, 6vw, 80px) max(20px, calc(50vw - 590px)); border-radius: 24px; background: var(--tinta); color: var(--eggshell); }
.bprod-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 12px 30px; margin-bottom: 26px; }
.bprod-head h2 { font-size: clamp(44px, 6vw, 80px); }
.bprod-head p { max-width: 36ch; margin: 0; opacity: .8; }
.drafts { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(250px, 280px); gap: 16px; margin: 0; padding: 6px 4px 22px; list-style: none; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: thin; }
.draft { display: grid; align-content: start; gap: 12px; padding: 16px; border-radius: 20px; background: #35302a; scroll-snap-align: start; transform: rotate(var(--r, -1deg)); transition: transform .4s var(--ease-spring), background-color .3s; }
.draft:nth-child(even) { --r: 1.2deg; }
.draft:hover { transform: rotate(0) translateY(-6px); background: #403a33; }
.draft-slate { position: relative; display: grid; gap: 2px; padding: 26px 12px 10px; border-radius: 8px; background: var(--eggshell); color: var(--tinta); font-family: var(--display); font-size: 15px; letter-spacing: .06em; overflow: hidden; }
.draft-stripes { position: absolute; left: 0; right: 0; top: 0; height: 16px; background: repeating-linear-gradient(-55deg, var(--tinta) 0 12px, var(--eggshell) 12px 24px); transform-origin: 0 100%; }
.draft:hover .draft-stripes { animation: clap .6s ease-in-out; }
.draft-row b { color: var(--terracota); margin-right: 6px; }
.draft-title { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1; }
.draft-status { display: flex; gap: 8px; align-items: baseline; font-size: 14px; opacity: .85; }
.draft-dot { flex: none; width: 8px; height: 8px; border-radius: 50%; background: var(--terracota); animation: blink 1.2s steps(1) infinite; }
.draft-bar { height: 8px; border-radius: 4px; background: rgba(233, 226, 208, .15); overflow: hidden; }
.draft-bar i { display: block; height: 100%; width: calc(var(--p) * 1%); border-radius: 4px; background: repeating-linear-gradient(-45deg, var(--terracota) 0 8px, #a54a29 8px 16px); background-size: 23px 23px; animation: stripes 1s linear infinite; }
@keyframes stripes { to { background-position: 23px 0; } }
.draft[hidden] { display: none; }
.bprod-note { margin: 10px 0 0; opacity: .8; }

/* CTA */
.bcta, .endcta { position: relative; display: grid; justify-items: start; gap: 18px; margin: clamp(48px, 7vw, 80px) 0; padding: clamp(32px, 5vw, 56px); border-radius: 24px; background: linear-gradient(110deg, var(--cuero), var(--terracota) 45%, var(--cuero) 90%); background-size: 220% 100%; color: var(--eggshell); animation: flow 6s ease-in-out infinite alternate; overflow: hidden; }
@keyframes flow { to { background-position: 100% 0; } }
.bcta-vf, .incta-vf { position: absolute; inset: 16px; pointer-events: none; color: var(--eggshell); }
.bcta-vf i, .incta-vf i { width: 26px; height: 26px; }
.bcta-k { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-weight: 800; letter-spacing: .1em; font-size: 13px; }
.bcta-k i { background: var(--eggshell); }
.bcta h2, .endcta h2 { max-width: 20ch; font-size: clamp(34px, 4.4vw, 60px); }
.bcta-btn { display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px; background: var(--eggshell); color: var(--terracota); font-weight: 800; text-decoration: none; box-shadow: 0 0 0 0 rgba(233, 226, 208, .6); animation: ring-out 2s ease-out infinite; transition: transform .35s var(--ease-spring); }
@keyframes ring-out { to { box-shadow: 0 0 0 16px rgba(233, 226, 208, 0); } }
.bcta-btn:hover { transform: scale(1.05) rotate(-1deg); }
.bcta-btn svg { transition: transform .3s var(--ease-spring); }
.bcta-btn:hover svg { transform: translateX(4px); }
.bcta-ghost { padding: 14px 4px; color: var(--eggshell); font-weight: 700; }
.endcta h2 { font-size: clamp(26px, 3vw, 40px); max-width: 26ch; line-height: 1.05; }
.endcta-row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; }

/* Article */
.art { padding-top: clamp(30px, 5vw, 60px); }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; font-weight: 600; color: var(--indigo); }
.crumbs a { text-decoration: none; }
.crumbs a:hover { text-decoration: underline; }
.art-head { max-width: 900px; margin: 18px 0 28px; }
.art-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 0 0 16px; font-size: 14px; font-weight: 600; color: var(--indigo); }
.art-title { font-size: clamp(2.8rem, 6.4vw, 5.6rem); line-height: var(--lh-title); }
.art-title mark { color: var(--eggshell); background-size: 0% 100%; background-position: 0 50%; animation-name: pen-full; }
.art-by { display: flex; align-items: center; gap: 10px; margin: 22px 0 0; font-size: 15px; }
.art-by img { width: 40px; height: 40px; border-radius: 50%; border: 2px solid var(--terracota); }
.art-cover .th { border-radius: 24px; min-height: 0; aspect-ratio: 21 / 8; }
.art-grid { display: grid; grid-template-columns: minmax(0, 1fr) 280px; align-items: start; gap: clamp(28px, 5vw, 64px); margin-top: clamp(28px, 4vw, 48px); }
.art-body { grid-column: 1; grid-row: 1; }

/* Table of contents as the article's script: an editor panel on the right.
   Each section is a take; the one being read records, read ones get a tick,
   and the timecode follows the reading (js/blog.js sets --p). */
.art-toc { --p: 0; grid-column: 2; grid-row: 1; position: sticky; top: 96px; z-index: 5; font-size: 14px; }
.toc-panel { padding: 16px 14px 12px; border-radius: 20px; background: var(--tinta); color: var(--eggshell); box-shadow: 0 24px 40px -26px rgba(42, 38, 32, .8); }
.toc-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 0 4px 10px; font-size: 12px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.toc-rec { display: inline-flex; align-items: center; gap: 7px; }
.toc-rec i { width: 8px; height: 8px; border-radius: 50%; background: #ff4b3a; animation: blink 1.2s steps(1) infinite; }
.toc-tc { font-variant-numeric: tabular-nums; letter-spacing: .04em; opacity: .75; }
.toc-tc b { color: var(--eggshell); }
.toc-progress { display: block; height: 4px; margin: 0 4px 10px; border-radius: 999px; background: rgba(233, 226, 208, .14); overflow: hidden; }
.toc-progress i { display: block; height: 100%; background: var(--terracota); transform: scaleX(var(--p)); transform-origin: left; }
.toc-list { position: relative; display: grid; gap: 2px; max-height: calc(100vh - 220px); margin: 0; padding: 0; overflow: auto; list-style: none; scrollbar-width: thin; scrollbar-color: rgba(233, 226, 208, .25) transparent; }
.toc-list a { display: grid; grid-template-columns: 48px 1fr; gap: 8px; align-items: baseline; padding: 8px 8px; border-radius: 10px; color: rgba(233, 226, 208, .6); text-decoration: none; line-height: 1.3; transition: background-color .2s, color .2s; }
.toc-list a:hover { background: rgba(233, 226, 208, .08); color: var(--eggshell); }
.toc-n { white-space: nowrap; font-family: var(--display); font-weight: 800; font-size: 13px; letter-spacing: .04em; color: rgba(233, 226, 208, .4); }
.toc-list a.is-past .toc-n { color: var(--terracota); }
.toc-list a.is-past .toc-n::after { content: " \2713"; }
.toc-list a.is-on { background: var(--terracota); color: var(--eggshell); font-weight: 800; }
.toc-list a.is-on .toc-n { color: var(--eggshell); }
.toc-bar { display: none; }
.art-body { max-width: 720px; }
.art-body h2 { margin: 48px 0 14px; font-size: clamp(32px, 3.4vw, 46px); scroll-margin-top: 100px; }
.art-body h3 { margin: 30px 0 8px; font-size: 26px; }
.art-body p { margin: 0 0 16px; }
.art-body a { color: var(--terracota); font-weight: 700; text-underline-offset: 3px; }
.tldr { position: relative; padding: 22px 24px; border: 2px solid var(--tinta); border-radius: 18px; background: var(--white); box-shadow: 5px 5px 0 var(--tinta); transform: rotate(-.5deg); }
.tldr p { margin: 0; font-size: 18px; }
.tldr .tldr-k { display: inline-flex; align-items: center; gap: 8px; margin: 0 0 8px; font-size: 12px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--terracota); }
.incta { position: relative; display: grid; justify-items: start; gap: 12px; margin: 32px 0; padding: 26px 30px; border-radius: 20px; background: var(--indigo); color: var(--eggshell); }
.incta p { margin: 0; font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.1; max-width: 30ch; }
.incta a { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--terracota); color: var(--eggshell); text-decoration: none; font-weight: 800; transition: transform .35s var(--ease-spring); }
.incta a:hover { transform: translateX(4px); }
.faq h2 { margin-top: 48px; }
.faq-q { border-bottom: 1.5px dashed rgba(42, 38, 32, .25); }
.faq-q summary { position: relative; padding: 16px 40px 16px 0; font-weight: 800; font-size: 18px; cursor: pointer; list-style: none; }
.faq-q summary::-webkit-details-marker { display: none; }
.faq-q summary::after { content: "+"; position: absolute; right: 4px; top: 10px; display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--tinta); color: var(--eggshell); font-weight: 700; transition: transform .35s var(--ease-spring), background-color .25s; }
.faq-q[open] summary::after { transform: rotate(45deg); background: var(--terracota); }
.faq-q p { margin: 0 0 18px; animation: faq-in .4s var(--ease-out); }
@keyframes faq-in { from { opacity: 0; transform: translateY(-6px); } }
.author { display: flex; gap: 18px; align-items: flex-start; padding: 22px; border-radius: 20px; background: var(--white); }
.author img { flex: none; width: 72px; height: 72px; border-radius: 50%; border: 3px solid var(--terracota); }
.author p { margin: 0 0 6px; font-size: 15px; }
.author-n { font-family: var(--display); font-weight: 800; font-size: 24px !important; }
.author-l { display: flex; gap: 14px; }
.related { margin: clamp(56px, 7vw, 96px) 0; }
.related h2 { margin-bottom: 20px; font-size: clamp(40px, 5vw, 64px); }
.related-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }

/* Footer */
.bf { margin-top: 40px; padding: 26px 0; background: var(--bordo); color: var(--eggshell); }
.bf-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; width: min(1180px, 100% - 40px); margin: 0 auto; font-size: 13px; }
.bf p { margin: 0; opacity: .75; }
.fk-credit { display: inline-flex; align-items: center; gap: 10px; color: var(--eggshell); text-decoration: none; font-size: 12.5px; }
.fk-brand { display: block; height: 22px; color: #eef2f8; }
.fk-logo { height: 100%; width: auto; overflow: visible; display: block; }
.fk-m, .fk-l { fill: currentColor; transform-box: fill-box; transform-origin: center; }
.fk-cell { transform-box: fill-box; transform-origin: center; filter: drop-shadow(0 0 2px rgba(56, 189, 248, .7)); animation: fkFork 5s ease infinite 1.4s; }
.fk-credit:hover .fk-m { animation: fkWave .7s ease both; animation-delay: calc(var(--i) * 40ms); }
.fk-credit:hover .fk-cell { animation: fkOrbit 1.2s ease infinite; }
@keyframes fkFork { 0%, 55%, to { transform: translate(0); } 65%, 80% { transform: translate(-1.5px, 1.5px); } }
@keyframes fkWave { 0%, to { transform: none; } 40% { transform: translateY(-2.2px) scale(.86); fill: #7fe7ff; } }
@keyframes fkOrbit { 0%, to { transform: none; } 25% { transform: translate(-1.5px, 1.5px) rotate(90deg); } 50% { transform: translate(-7.4px, 1.5px) rotate(180deg); } 75% { transform: translate(-1.5px, 1.5px) rotate(270deg); } }

@media (max-width: 960px) {
  .bh-nav { display: none; }
  .bh-cta { margin-left: auto; }
  .bhero { grid-template-columns: 1fr; }
  .bhero-phone { width: min(70vw, 280px); }
  .bgrid, .related-grid { grid-template-columns: 1fr 1fr; }
  .post--feat .post-link { grid-template-columns: 1fr; }
  /* Phones and tablets: a compact sticky bar that opens the full script. A
     plain block (not a grid) lets the bar stick through the whole article. */
  .art-grid { display: block; }
  .art-toc { top: calc(var(--header-h) + 18px); margin-bottom: 24px; }
  .toc-bar { display: flex; align-items: center; gap: 10px; width: 100%; padding: 12px 14px; border-radius: 16px; background: var(--tinta); color: var(--eggshell); font-weight: 700; text-align: left; box-shadow: 0 14px 26px -18px rgba(42, 38, 32, .8); background-image: linear-gradient(var(--terracota), var(--terracota)); background-repeat: no-repeat; background-position: 0 100%; background-size: calc(var(--p) * 100%) 3px; }
  .toc-bar .toc-rec { flex: none; font-family: var(--display); font-weight: 800; letter-spacing: .04em; }
  .toc-now { flex: 1; min-width: 0; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
  .toc-bar svg { flex: none; transition: transform .3s var(--ease-spring); }
  .art-toc.is-open .toc-bar svg { transform: rotate(180deg); }
  .toc-panel { display: none; position: absolute; left: 0; right: 0; top: calc(100% + 8px); }
  .art-toc.is-open .toc-panel { display: block; }
  .toc-list { max-height: 55vh; }
}
@media (max-width: 600px) {
  body { font-size: 16px; }
  .bgrid, .related-grid { grid-template-columns: 1fr; }
  .th--big { min-height: 240px; }
  .art-cover .th { aspect-ratio: 16 / 10; }
  .th-tiles { left: 40%; }
  .tldr p { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
/* Title markers sit low so they never cover the line above. */
.art-title { line-height: 1; }
.bhero-title mark, .art-title mark { background-position: 0 86%; animation-name: pen-low; }
@keyframes pen-low { to { background-size: 100% 74%; } }
.art-cover .th { aspect-ratio: 21 / 7; }

/* ---------- Blog v2 ---------- */
/* Same header as the homepage, already in place (no entrance). */
.blog-page .site-header .header-inner { transform: none !important; }
.blog-page .main-nav a, .blog-page .header-actions > * { opacity: 1 !important; transform: none !important; }
.blog-page .nav-dot { display: none; }
.blog-page .main-nav a[aria-current="page"] { position: relative; }
.blog-page .main-nav a[aria-current="page"]::after { content: ""; position: absolute; left: 50%; bottom: -6px; width: 6px; height: 6px; margin-left: -3px; border-radius: 50%; background: var(--terracota); }

/* Footer: the homepage's contact block, in a color per page */
.blog-page .contact-section { margin-top: clamp(56px, 7vw, 96px); box-shadow: none; }
.blog-page .contact-lead { opacity: 1 !important; transform: none !important; }
.cf--indigo { background: var(--indigo); --pen-ink: var(--indigo); }
.cf--terra { background: var(--terracota); --pen-ink: var(--terracota); }
.cf--oliva { background: var(--oliva); --pen-ink: var(--oliva); }
.cf--cuero { background: var(--cuero); --pen-ink: var(--cuero); }
.cf--tinta { background: var(--tinta); --pen-ink: var(--tinta); }
.cf .hl--pen-bordo.is-drawn .ch, .cf .hl--pen-bordo { color: var(--pen-ink); }
.cf + .site-footer, .cf ~ .site-footer { background: inherit; }
.cf--indigo .contact-cta, .cf--tinta .contact-cta { background: linear-gradient(110deg, var(--cuero), var(--terracota) 45%, var(--cuero) 90%); background-size: 220% 100%; }
.cf--terra .contact-cta, .cf--cuero .contact-cta { background: var(--tinta); }
.cf--terra .social-tile--ig, .cf--cuero .social-tile--ig { background: var(--bordo); }
.blog-page .site-footer { background: var(--tinta); }

/* Titles never leave one short word alone */
.post-title, .art-title, .bhero-title, .art-body h2, .art-body h3, .draft-title { text-wrap: balance; }

/* Read button: a little player */
.post-go { display: inline-flex; align-items: center; gap: 10px; justify-self: start; margin-top: 8px; padding: 6px 14px 6px 6px; border: 2px solid var(--tinta); border-radius: 999px; background: var(--eggshell); color: var(--tinta); font-weight: 800; box-shadow: 3px 3px 0 var(--tinta); transition: transform .35s var(--ease-spring), box-shadow .25s, background-color .25s, color .25s; }
.pg-play { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: var(--terracota); color: var(--eggshell); transition: transform .5s var(--ease-spring); }
.pg-play svg { margin-left: 2px; }
.pg-min { padding: 2px 8px; border-radius: 999px; background: rgba(42, 38, 32, .1); font-size: 12px; }
.post-link:hover .post-go { background: var(--terracota); color: var(--eggshell); transform: translate(-2px, -2px) rotate(-1.5deg); box-shadow: 5px 5px 0 var(--tinta); }
.post-link:hover .pg-play { background: var(--eggshell); color: var(--terracota); transform: rotate(360deg) scale(1.08); }
.post-link:hover .pg-min { background: rgba(233, 226, 208, .2); }
.post-link:hover .post-go svg { transform: none; }

/* Photo thumbnail (cover of "Qué es el UGC") */
.th--photo { background: var(--tinta); }
.th-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; z-index: 0; }
.th-shade { position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, transparent 30%, transparent 45%, rgba(10,6,4,.9) 100%); }
.th-tiles { left: auto; width: min(54%, 340px); top: 52px; bottom: auto; justify-content: flex-end; z-index: 2; }
.th:not(.th--big) .th-tiles i { font-size: 10.5px; padding: 4px 8px; }
.th:not(.th--big) .th-word { font-size: clamp(52px, 6vw, 84px); }
.th--photo .th-word { text-shadow: 0 4px 30px rgba(0,0,0,.5); }

/* Phone bubbles, clear of the viewfinder corners */
.bp-bubbles { position: absolute; left: 30px; right: 30px; bottom: 40px; display: grid; justify-items: start; gap: 8px; margin: 0; }
.bp-b { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 14px; background: rgba(255, 255, 255, .94); color: var(--tinta); font-size: 13px; font-weight: 700; box-shadow: 0 10px 20px -12px rgba(0,0,0,.5); animation: bub-in .6s var(--ease-spring) both, bub-float 4s ease-in-out infinite alternate; }
.bp-b b { font-family: var(--display); font-size: 20px; line-height: 1; color: var(--terracota); }
.bp-b--pub { animation-delay: .6s, 1.2s; }
.bp-b--prod { animation-delay: .9s, 1.6s; margin-left: 18px; background: var(--tinta); color: var(--eggshell); }
.bp-b--prod b { color: #f0a17c; }
.bp-cap { position: static; animation-delay: 1.2s, 2s; }
@keyframes bub-in { from { opacity: 0; transform: translateY(14px) scale(.8); } }
@keyframes bub-float { to { translate: 0 -4px; } }

/* Typed titles, like the homepage hero */
.js-type .ch { display: inline-block; }
.js .js-type.is-typing .ch { opacity: 0; }
.js .js-type.is-typing .ch.is-on { opacity: 1; animation: ch-pop .26s var(--ease-out); }
@keyframes ch-pop { from { opacity: 0; transform: translateY(.12em); } }
.js .js-type mark { animation: none !important; background-size: 0% 74% !important; transition: background-size .8s cubic-bezier(.65, 0, .35, 1); }
.js .js-type mark.is-drawn { background-size: 100% 74% !important; }
.js .js-type mark .ch { transition: color .12s linear; color: inherit; }
.js .js-type mark.is-drawn .ch { color: var(--eggshell); }
.js .js-type .bdot { animation: none; opacity: 0; }
.js .js-type.is-landed .bdot { opacity: 1; animation: caret-drop .8s var(--ease-out); }
.js-type mark { color: var(--tinta); }

/* CTAs with a photo of Andy behind */
.incta, .endcta { overflow: hidden; isolation: isolate; }
/* Callout highlight: an Eggshell block, drawn in once the callout is on screen. */
.incta mark, .endcta mark { background-image: linear-gradient(var(--eggshell), var(--eggshell)); background-position: 0 62%; background-size: 0% 86%; color: var(--eggshell); animation: none; transition: background-size .8s cubic-bezier(.65, 0, .35, 1) .2s, color .25s .55s; }
.incta.is-in mark, .endcta.is-in mark { background-size: 100% 86%; color: var(--terracota); }
.cta-photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: 50% 30%; transform: scale(1.04); transition: transform 1.2s var(--ease-out); }
.incta:hover .cta-photo, .endcta:hover .cta-photo { transform: scale(1.1); }
.cta-shade { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(20,16,12,.92) 0%, rgba(20,16,12,.72) 45%, rgba(20,16,12,.2) 100%); }
.endcta .cta-shade { background: linear-gradient(90deg, rgba(81,9,27,.94) 0%, rgba(143,63,35,.78) 50%, rgba(20,16,12,.15) 100%); }
.incta { min-height: 220px; align-content: end; }
.endcta { min-height: 380px; align-content: end; }

/* Article tables, lists, quotes */
.tbl { margin: 20px 0 24px; overflow-x: auto; border: 2px solid var(--tinta); border-radius: 16px; background: var(--white); box-shadow: 4px 4px 0 var(--tinta); }
.tbl table { width: 100%; border-collapse: collapse; font-size: 15px; }
.tbl th { padding: 12px 14px; background: var(--tinta); color: var(--eggshell); text-align: left; font-family: var(--display); font-size: 17px; letter-spacing: .02em; }
.tbl td { padding: 11px 14px; border-top: 1px dashed rgba(42,38,32,.2); vertical-align: top; }
.tbl tr:hover td { background: rgba(143,63,35,.06); }
.tbl td:first-child { font-weight: 800; }
.art-body ul, .art-body ol { margin: 0 0 18px; padding-left: 22px; }
.art-body li { margin-bottom: 6px; }
.art-body li::marker { color: var(--terracota); font-weight: 800; }

/* Checklists: a production card with hand-drawn boxes you can tick
   (js/blog.js wraps the list). Without JS they read as a boxed list. */
.art-body .checklist { margin: 0; padding: 0; list-style: none; counter-reset: chk; }
.checklist > li { counter-increment: chk; }
.chk { position: relative; margin: 24px 0 32px; padding: 22px clamp(18px, 3vw, 30px) 26px; border: 2px solid var(--tinta); border-radius: 18px; background: var(--white); box-shadow: 5px 5px 0 var(--tinta); }
.chk-head { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; margin-bottom: 14px; }
.chk-count { font-family: var(--display); font-weight: 800; font-size: 30px; line-height: 1; color: var(--terracota); }
.chk-count b { display: inline-block; min-width: .6em; text-align: right; }
.chk-bar { flex: 1; min-width: 120px; height: 8px; border-radius: 999px; background: rgba(42, 38, 32, .1); overflow: hidden; }
.chk-bar i { display: block; height: 100%; background: var(--terracota); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-spring); }
.chk-copy { padding: 8px 14px; border-radius: 999px; background: var(--tinta); color: var(--eggshell); font-size: 13px; font-weight: 800; transition: background-color .2s, transform .3s var(--ease-spring); }
.chk-copy:hover { background: var(--terracota); transform: translateY(-2px); }
.art-body .checklist > li { margin: 0; border-top: 1px dashed rgba(42, 38, 32, .18); }
.art-body .checklist > li:first-child { border-top: 0; }
.chk-item { display: grid; grid-template-columns: 28px 1fr; align-items: center; gap: 14px; width: 100%; padding: 12px 4px; text-align: left; line-height: 1.4; }
.chk-box { display: grid; place-items: center; width: 26px; height: 26px; border: 2.5px solid var(--tinta); border-radius: 7px 5px 8px 6px; rotate: var(--tilt, -2deg); transition: background-color .25s, border-color .25s, scale .3s var(--ease-spring); }
.chk-box svg { width: 18px; height: 18px; fill: none; stroke: var(--eggshell); stroke-width: 3.4; stroke-linecap: round; stroke-linejoin: round; stroke-dasharray: 24; stroke-dashoffset: 24; transition: stroke-dashoffset .35s ease-out .1s; }
.chk-text { text-decoration: line-through 2px transparent; transition: color .3s, text-decoration-color .3s; }
.chk-item:hover .chk-box { scale: 1.1; border-color: var(--terracota); }
.is-done .chk-box { background: var(--terracota); border-color: var(--terracota); scale: 1.05; }
.is-done .chk-box svg { stroke-dashoffset: 0; }
.is-done .chk-text { color: rgba(42, 38, 32, .55); }
.checklist:not(.checklist--ask) .is-done .chk-text { text-decoration-color: var(--terracota); }
/* Questions to send a brand: numbered instead of crossed out. */
.checklist--ask .chk-text::before { content: counter(chk) ". "; font-weight: 800; color: var(--terracota); }
/* Every box ticked: the stamp lands. */
.chk-stamp { position: absolute; right: 18px; bottom: -18px; padding: 8px 16px; border: 3px solid var(--bordo); border-radius: 10px; background: var(--eggshell); color: var(--bordo); font-family: var(--display); font-weight: 800; font-size: 20px; letter-spacing: .02em; text-transform: uppercase; opacity: 0; transform: rotate(-8deg) scale(1.6); pointer-events: none; transition: opacity .2s, transform .45s cubic-bezier(.2, 1.6, .4, 1); }
.chk.is-complete .chk-stamp { opacity: 1; transform: rotate(-8deg) scale(1); }
@media (prefers-reduced-motion: reduce) { .chk *, .chk-stamp { transition: none !important; } }
.art-body blockquote { margin: 18px 0 22px; padding: 18px 22px; border-left: 4px solid var(--terracota); border-radius: 0 14px 14px 0; background: var(--white); font-style: italic; }
.art-body blockquote p { margin: 0; }
.blog-page .cf .hl--pen.hl--pen-bordo.is-drawn { color: var(--pen-ink); background-size: 100% 86%; }

/* Footer strip in the same color as its contact block */
.blog-page .site-footer.sf--indigo { background: var(--indigo); }
.blog-page .site-footer.sf--terra { background: var(--terracota); }
.blog-page .site-footer.sf--oliva { background: var(--oliva); }
.blog-page .site-footer.sf--cuero { background: var(--cuero); }
.blog-page .site-footer.sf--tinta { background: var(--tinta); }
.blog-page .cf .hl--pen.is-drawn { color: var(--pen-ink) !important; }
.cf--indigo .hl--pen { --pen-ink: var(--indigo); }
.cf--terra .hl--pen { --pen-ink: var(--terracota); }
.cf--oliva .hl--pen { --pen-ink: var(--oliva); }
.cf--cuero .hl--pen { --pen-ink: var(--cuero); }
.cf--tinta .hl--pen { --pen-ink: var(--tinta); }

/* In production: a film strip that keeps rolling (pauses on hover) */
.reel-strip { position: relative; margin: 0 calc(-1 * max(20px, calc(50vw - 590px))); padding: 18px 0; background: #1d1a16; 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); }
.strip-holes { position: absolute; left: 0; right: 0; top: 4px; height: 10px; background: radial-gradient(circle, transparent 0) 0 0, repeating-linear-gradient(90deg, rgba(233,226,208,.55) 0 12px, transparent 12px 28px); border-radius: 2px; opacity: .55; animation: holes 6s linear infinite; }
.strip-holes--b { top: auto; bottom: 4px; }
@keyframes holes { to { background-position: -280px 0; } }
.reel-strip .drafts { display: flex; width: max-content; gap: 16px; padding: 10px 0; overflow: visible; scroll-snap-type: none; animation: roll var(--roll, 60s) linear infinite; }
.reel-strip .draft { width: 270px; flex: none; }
.reel-strip:hover .drafts, .reel-strip:hover .strip-holes { animation-play-state: paused; }
@keyframes roll { to { transform: translateX(-50%); } }
.bprod-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 28px; margin-top: 26px; }
.bprod-note p { margin: 0; max-width: 34ch; opacity: .85; }
.note-socials { display: flex; flex-wrap: wrap; gap: 12px; margin: 0; padding: 0; list-style: none; }
.ns { --r: -2deg; display: inline-flex; align-items: center; gap: 10px; padding: 6px 16px 6px 6px; border: 2px solid var(--eggshell); border-radius: 16px; background: #35302a; color: var(--eggshell); text-decoration: none; box-shadow: 3px 3px 0 var(--eggshell); transform: rotate(var(--r)); transition: transform .35s var(--ease-spring), box-shadow .25s; }
.note-socials li:nth-child(2) .ns { --r: 2deg; }
.ns:hover { transform: rotate(0) translate(-2px, -3px); box-shadow: 5px 6px 0 var(--eggshell); }
.ns > span:last-child { display: grid; line-height: 1.15; }
.ns b { font-size: 15px; }
.ns small { font-size: 12px; opacity: .75; }
.ns-ico { display: grid; place-items: center; width: 36px; height: 36px; border-radius: 11px; color: var(--eggshell); }
.ns--ig .ns-ico { background: linear-gradient(45deg, var(--cuero), var(--terracota) 45%, var(--bordo)); }
.ns--tt .ns-ico { background: var(--tinta); box-shadow: inset 0 0 0 1.5px rgba(233,226,208,.3); }
.ns--yt .ns-ico { background: var(--bordo); }
.ns:hover .ns-ico svg { animation: ns-pop .5s var(--ease-spring); }
@keyframes ns-pop { 40% { transform: scale(1.25) rotate(-10deg); } }
@media (prefers-reduced-motion: reduce) { .reel-strip .drafts { animation: none; } .reel-strip { overflow-x: auto; } }
.cf--cuero .contact-logo .logo-dot, .cf--terra .contact-logo .logo-dot { fill: var(--eggshell); }
.art-body .endcta a.bcta-ghost { color: var(--eggshell); text-decoration: underline; text-underline-offset: 4px; }
.art-body .endcta a.bcta-btn, .art-body .incta a { text-decoration: none; }
.art-body .incta a { color: var(--eggshell); }
/* Phone bubbles: higher, on a dark fade so they always read. */
.bhero-phone::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 58%; z-index: 1; background: linear-gradient(transparent, rgba(16, 10, 24, .55) 40%, rgba(16, 10, 24, .88)); pointer-events: none; }
.bp-vf, .bp-rec, .bp-bubbles { z-index: 2; }
.bp-bubbles { bottom: 96px; }
.bp-b { background: #fff; box-shadow: 0 14px 26px -10px rgba(0, 0, 0, .75); }
.bp-b--prod { background: var(--tinta); }
.bp-b--prod b { color: var(--eggshell); }
/* Bubbles float on their own rhythm and lift when hovered. */
.bp-b { --tilt: -1.5deg; cursor: default; transition: transform .45s var(--ease-spring), box-shadow .3s; transform: rotate(var(--tilt)); }
.bp-b--prod { --tilt: 1.8deg; }
.bp-cap { --tilt: -.8deg; }
.bp-b--pub { animation: bub-in .6s var(--ease-spring) .6s both, lev-a 3.4s ease-in-out 1.2s infinite alternate; }
.bp-b--prod { animation: bub-in .6s var(--ease-spring) .9s both, lev-b 4.1s ease-in-out 1.5s infinite alternate; }
.bp-cap { animation: bub-in .6s var(--ease-spring) 1.2s both, lev-c 3.8s ease-in-out 1.8s infinite alternate; }
@keyframes lev-a { to { translate: 4px -8px; } }
@keyframes lev-b { to { translate: -5px -6px; } }
@keyframes lev-c { to { translate: 3px -9px; } }
.bp-b:hover { transform: rotate(0deg) scale(1.08) translateY(-6px); box-shadow: 0 22px 34px -12px rgba(0, 0, 0, .8); }
.bp-b:hover b { animation: icon-pop .5s var(--ease-spring); display: inline-block; }
.bp-cap:hover .bp-dots i { animation-duration: .5s; }
@keyframes icon-pop { 40% { transform: scale(1.3) rotate(-8deg); } }

/* Footer CTA: loud pill with shine + ring, color flips on the Terracota footer */
.blog-page .cf .contact-cta { position: relative; overflow: hidden; background: var(--terracota) !important; color: var(--eggshell) !important; font-weight: 800; font-size: 1.08em; animation: cta-breathe 2.8s ease-in-out infinite, foot-ring 2.2s ease-out infinite; }
.blog-page .cf .contact-cta::before { content: ""; position: absolute; inset: 0; background: linear-gradient(105deg, transparent 35%, rgba(233, 226, 208, .45) 50%, transparent 65%); transform: translateX(-120%); animation: foot-shine 3.2s ease-in-out infinite; pointer-events: none; }
.blog-page .cf .contact-cta .cta-dot { background: var(--eggshell); }
.blog-page .cf--terra .contact-cta { background: var(--eggshell) !important; color: var(--terracota) !important; }
.blog-page .cf--terra .contact-cta .cta-dot { background: var(--terracota); }
.blog-page .cf--terra .contact-cta::before { background: linear-gradient(105deg, transparent 35%, rgba(143, 63, 35, .25) 50%, transparent 65%); }
.blog-page .cf .contact-cta:hover { filter: brightness(1.1); }
@keyframes foot-shine { 0%, 55% { transform: translateX(-120%); } 100% { transform: translateX(120%); } }
@keyframes foot-ring { 0% { box-shadow: 0 0 0 0 rgba(233, 226, 208, .55); } 100% { box-shadow: 0 0 0 14px rgba(233, 226, 208, 0); } }
@media (prefers-reduced-motion: reduce) { .blog-page .cf .contact-cta, .blog-page .cf .contact-cta::before { animation: none !important; } }

/* Blog CTAs speak the homepage language: dot + label + arrow */
.bcta-btn .cta-dot, .incta a .cta-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--terracota); animation: cta-dot 1.4s ease-in-out infinite; }
.incta a .cta-dot { background: var(--eggshell); }
.bcta-btn svg, .incta a svg { animation: cta-nudge 1.4s ease-in-out infinite; }

/* Notify bar: question and networks together */
.notify { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; margin-top: 28px; padding: 14px 16px 14px 14px; border-radius: 20px; background: #35302a; width: fit-content; max-width: 100%; }
.notify-bell { position: relative; display: grid; place-items: center; flex: none; width: 46px; height: 46px; border-radius: 14px; background: var(--terracota); color: var(--eggshell); }
.notify-bell svg { transform-origin: 50% 10%; animation: bell 2.6s ease-in-out infinite; }
.notify-bell i { position: absolute; top: 8px; right: 9px; width: 9px; height: 9px; border-radius: 50%; background: var(--eggshell); box-shadow: 0 0 0 2px var(--terracota); animation: blink 1.2s steps(1) infinite; }
@keyframes bell { 0%, 70%, 100% { transform: none; } 75% { transform: rotate(14deg); } 80% { transform: rotate(-12deg); } 85% { transform: rotate(8deg); } 90% { transform: rotate(-4deg); } }
.notify-text { margin: 0; max-width: 40ch; font-size: 15px; line-height: 1.4; color: rgba(233, 226, 208, .85); }
.notify-text b { color: var(--eggshell); }
.notify-links { display: flex; gap: 8px; margin: 0; padding: 0; list-style: none; }
.nl { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: var(--eggshell); text-decoration: none; transition: transform .4s var(--ease-spring); }
.nl--ig { background: linear-gradient(45deg, var(--cuero), var(--terracota) 45%, var(--bordo)); }
.nl--tt { background: var(--tinta); box-shadow: inset 0 0 0 1.5px rgba(233, 226, 208, .35); }
.nl--yt { background: var(--bordo); }
.nl::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 2px solid var(--eggshell); opacity: 0; transform: scale(.85); transition: opacity .3s, transform .4s var(--ease-spring); }
.nl:hover { transform: translateY(-4px) rotate(-8deg); }
.nl:hover::after { opacity: .7; transform: none; }
.nl-tip { position: absolute; bottom: calc(100% + 10px); left: 50%; padding: 4px 9px; border-radius: 8px; background: var(--eggshell); color: var(--tinta); font-size: 12px; font-weight: 800; white-space: nowrap; transform: translate(-50%, 6px) rotate(8deg); opacity: 0; transition: opacity .2s, transform .3s var(--ease-spring); pointer-events: none; }
.nl:hover .nl-tip { opacity: 1; transform: translate(-50%, 0) rotate(8deg); }
@media (max-width: 600px) { .notify { width: 100%; } }
