.page-main { background: var(--paper); }
.page-hero { position: relative; isolation: isolate; min-height: 520px; padding: clamp(5rem, 9vw, 8rem) max(6vw, 1.25rem); display: grid; place-items: center; overflow: hidden; text-align: center; background: white; }
.page-hero::before, .page-hero::after { content: ""; position: absolute; z-index: 0; aspect-ratio: 1; pointer-events: none; background-repeat: no-repeat; background-position: center; background-size: contain; }
.page-hero::before { width: clamp(430px, 50vw, 760px); right: -12%; top: 50%; background-image: url('assets/isotipo-lila.webp'); opacity: .105; transform: translateY(-50%) rotate(9deg); }
.page-hero::after { width: clamp(260px, 27vw, 430px); left: -7%; bottom: -42%; background-image: url('assets/isotipo-azul.webp'); opacity: .75; transform: rotate(-18deg); }
.page-hero-copy { position: relative; z-index: 2; width: min(100%, 1050px); margin: 0 auto; }
.page-hero h1 { max-width: 1000px; margin: 0 auto; font-size: clamp(3.6rem, 7vw, 7.5rem); line-height: .9; letter-spacing: -.065em; }
.page-hero h1 span { color: var(--violet); }
.page-hero-copy > p:last-child { max-width: 680px; margin: 2rem auto 0; color: var(--ink-soft); font-size: clamp(1.05rem, 1.5vw, 1.25rem); }

@media (min-width: 901px) {
  .services-page-hero .page-hero-copy { width: min(100%, 1240px); }
  .services-page-hero h1 { max-width: none; white-space: nowrap; }
}

.inner-section { position: relative; padding: clamp(4.8rem, 8vw, 8rem) max(6vw, 1.25rem); }
.inner-section-light { background: white; }
.inner-section-tint { background: #eeeefa; }
.inner-section-dark { color: white; background: var(--navy-2); }
.inner-head { max-width: 850px; margin-bottom: 3.5rem; }
.inner-head h2 { margin-bottom: 1rem; font-size: clamp(2.8rem, 5vw, 5.8rem); line-height: .95; letter-spacing: -.055em; }
.inner-head p { max-width: 680px; color: var(--ink-soft); font-size: 1.1rem; }
.inner-section-dark .inner-head p { color: rgba(255,255,255,.66); }

.area-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.area-card { min-height: 500px; display: flex; flex-direction: column; overflow: hidden; background: white; border: 1px solid var(--line); border-radius: var(--radius); }
.area-card-image { height: 260px; overflow: hidden; background: var(--violet); }
.area-card-image img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.76); transition: transform .4s ease, filter .3s ease; }
.area-card:hover img { transform: scale(1.025); filter: saturate(.92); }
.area-card-body { padding: 1.6rem; }
.area-card-body span { color: var(--violet); font-size: .72rem; letter-spacing: .16em; font-weight: 900; }
.area-card h2 { margin: .75rem 0 1rem; font-size: clamp(1.65rem, 2.7vw, 2.6rem); line-height: 1; }
.area-card p { margin: 0; color: var(--ink-soft); }

.wide-intro { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(3rem, 8vw, 8rem); align-items: center; }
.wide-intro h2 { position: sticky; top: 155px; margin: 0; font-size: clamp(3rem, 5.7vw, 6.3rem); line-height: .94; letter-spacing: -.06em; }
.wide-intro h2.wide-intro-title { font-size: clamp(3rem, 4.8vw, 5.7rem); }
.wide-intro h2 span { color: var(--violet); }
.wide-copy { max-width: 760px; }
.wide-copy p { color: var(--ink-soft); font-size: clamp(1.16rem, 1.6vw, 1.38rem); line-height: 1.58; }

.process-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.14); }
.process-card, .process-card:nth-child(even) { position: relative; min-height: 285px; padding: 1.25rem; display: grid; grid-template-columns: minmax(190px, .42fr) minmax(0, .58fr); gap: clamp(1.25rem, 2vw, 2rem); align-items: stretch; overflow: hidden; background: var(--navy-2); }
.process-card:nth-child(even) .process-illustration, .process-card:nth-child(even) .process-copy { grid-column: auto; grid-row: auto; }
.process-copy { align-self: center; padding: .65rem .5rem .65rem 0; }
.process-copy span { color: var(--violet-bright); font-size: .72rem; letter-spacing: .14em; font-weight: 900; }
.process-copy h3 { max-width: 330px; margin: 1rem 0 .8rem; font-size: clamp(1.45rem, 2vw, 2rem); line-height: 1.05; letter-spacing: -.035em; }
.process-copy p { max-width: 360px; margin: 0; color: rgba(255,255,255,.72); font-size: .94rem; line-height: 1.55; }
.process-illustration { width: 100%; height: 100%; min-height: 245px; object-fit: contain; padding: .7rem; background: #f6f7fb; border-radius: .8rem; box-shadow: 0 .7rem 1.7rem rgba(0,0,0,.18); transition: transform .35s ease, box-shadow .35s ease; }
.process-card:hover .process-illustration { transform: scale(1.015); box-shadow: 0 1.1rem 2.5rem rgba(0,0,0,.26); }

.faq-list { max-width: 980px; margin: 0 auto; }
.faq-list details { border-top: 1px solid var(--line); }
.faq-list details:last-child { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 1.5rem 3rem 1.5rem 0; cursor: pointer; list-style: none; font-size: clamp(1.15rem, 2vw, 1.55rem); font-weight: 800; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; float: right; margin-right: -2rem; color: var(--violet); font-size: 1.5rem; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { max-width: 820px; padding: 0 0 1.7rem; color: var(--ink-soft); }

.about-feature { display: grid; grid-template-columns: minmax(320px, .9fr) minmax(0, 1.1fr); gap: clamp(2.5rem, 7vw, 7rem); align-items: center; }
.about-photo { min-height: 520px; overflow: hidden; border-radius: 11rem 1.5rem 1.5rem 1.5rem; background: var(--navy); }
.about-photo img { width: 100%; height: 100%; min-height: 520px; object-fit: cover; filter: saturate(.7); }
.about-text h2 { margin-bottom: 1.6rem; font-size: clamp(2.8rem, 5vw, 5.5rem); line-height: .95; letter-spacing: -.055em; }
.about-text p { color: var(--ink-soft); font-size: 1.06rem; }
.about-text .eyebrow { color: var(--violet); }
.metric-row { margin-top: 2.5rem; padding-top: 2rem; display: grid; grid-template-columns: repeat(2, 1fr); gap: 2rem; border-top: 1px solid var(--line); }
.metric-row strong { display: block; color: var(--violet); font-size: clamp(3.8rem, 6vw, 6rem); line-height: .8; letter-spacing: -.06em; }
.metric-row strong .counter { display: inline; margin: 0; color: inherit; font: inherit; letter-spacing: inherit; text-transform: none; }
.metric-row > div > span { display: block; margin-top: 1rem; color: var(--ink-soft); font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.method-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
.method-card { position: relative; min-height: 310px; padding: 2rem; overflow: hidden; background: linear-gradient(145deg, #403982 0%, #342d70 100%); border: 1px solid rgba(162,161,255,.28); border-radius: var(--radius); box-shadow: 0 1rem 2.6rem rgba(7,5,31,.12); transition: opacity .65s ease, transform .65s cubic-bezier(.22,1,.36,1), background .35s ease, border-color .35s ease, box-shadow .35s ease; }
.method-card::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 4px; background: linear-gradient(90deg, var(--violet-bright), #d6d5ff); transform: scaleX(0); transform-origin: left; transition: transform .7s cubic-bezier(.22,1,.36,1); }
.method-card.visible::before { transform: scaleX(1); }
.method-card:nth-child(2) { transition-delay: .1s; }
.method-card:nth-child(3) { transition-delay: .2s; }
.method-card:hover { transform: translateY(-9px); background: linear-gradient(145deg, #4b438f 0%, #3b347b 100%); border-color: rgba(190,189,255,.58); box-shadow: 0 1.5rem 3.5rem rgba(7,5,31,.28); }
.method-card span { color: var(--violet-bright); font-size: .78rem; font-weight: 900; }
.method-card h3 { margin: 3rem 0 1rem; font-size: 1.7rem; }
.method-card p { color: rgba(255,255,255,.82); }
.statement { position: relative; isolation: isolate; min-height: 330px; padding: 5.5rem max(6vw, 1.25rem); display: grid; place-items: center; overflow: hidden; color: var(--navy); background: #fff; border-block: 1px solid var(--line); text-align: center; }
.statement::before { content: ""; position: absolute; z-index: -1; width: clamp(360px, 42vw, 650px); aspect-ratio: 1; right: -10%; top: 50%; background: url('assets/isotipo-lila.webp') center / contain no-repeat; opacity: .12; transform: translateY(-50%) rotate(8deg); }
.statement p { max-width: 1120px; margin: 0 auto; font-size: clamp(2.1rem, 4.4vw, 4.8rem); line-height: .98; letter-spacing: -.055em; font-weight: 850; }
.statement strong { color: var(--violet); font: inherit; }

.blog-tools { margin-bottom: 2.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.filter-row { display: flex; flex-wrap: wrap; gap: .55rem; }
.filter-row :is(button, a) { padding: .65rem .95rem; color: var(--navy); background: transparent; border: 1px solid var(--line); border-radius: 99px; font: inherit; font-size: .78rem; font-weight: 800; cursor: pointer; }
.filter-row :is(button, a).active, .filter-row :is(button, a):hover { color: white; background: var(--violet); border-color: var(--violet); }
.blog-search { min-width: min(100%, 300px); padding: .8rem 1rem; color: var(--navy); background: white; border: 1px solid var(--line); border-radius: 99px; font: inherit; }
.article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.15rem; overflow-anchor: none; transition: opacity .16s ease; }
.article-grid.is-loading { opacity: .48; pointer-events: none; }
.article-card { min-height: 420px; padding: 1.6rem; display: flex; flex-direction: column; background: white; border: 1px solid var(--line); border-radius: var(--radius); transition: transform .25s ease, box-shadow .25s ease; }
.article-card:hover { transform: translateY(-6px); box-shadow: 0 1.5rem 3rem rgba(32,26,77,.09); }
.article-visual { position: relative; height: 145px; margin: -.4rem -.4rem 1.5rem; overflow: hidden; background: var(--violet); border-radius: calc(var(--radius) - .4rem); }
.article-visual::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: linear-gradient(180deg, transparent 58%, rgba(21,17,58,.12)); }
.article-visual img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease, filter .35s ease; }
.article-card:hover .article-visual img { transform: scale(1.025); filter: saturate(1.05); }
.article-card .meta { width: fit-content; padding: .28rem .55rem .24rem; color: white; background: var(--violet); border-radius: .15rem; font-size: .68rem; line-height: 1; letter-spacing: .08em; font-weight: 900; text-transform: uppercase; }
.article-card .article-card-details { display: flex; align-items: center; flex-wrap: wrap; margin-top: .72rem; color: var(--ink-soft); font-size: .72rem; line-height: 1; letter-spacing: .05em; font-weight: 800; text-transform: uppercase; }
.article-card .article-reading::before { content: "\00b7"; margin: 0 .45rem; }
.article-card h2 { margin: 1rem 0; font-size: 1.55rem; line-height: 1.12; }
.article-card p { color: var(--ink-soft); }
.article-card .read-link { margin-top: auto; font-size: .82rem; font-weight: 900; }

.contact-layout { display: grid; grid-template-columns: .75fr 1.25fr; gap: clamp(3rem, 8vw, 8rem); align-items: start; }
.contact-info h2 { font-size: clamp(2.7rem, 5vw, 5.2rem); line-height: .95; letter-spacing: -.055em; }
.contact-info > p { color: var(--ink-soft); font-size: 1.08rem; }
.contact-links { margin-top: 2.4rem; display: flex; flex-direction: column; gap: 1rem; }
.contact-links span { display: block; margin-bottom: .2rem; color: var(--violet); font-size: .68rem; letter-spacing: .15em; font-weight: 900; text-transform: uppercase; }
.contact-links a { font-size: 1.25rem; font-weight: 800; }
.contact-form { padding: clamp(1.5rem, 4vw, 3.2rem); background: white; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 1.5rem 4rem rgba(32,26,77,.08); }
.field { margin-bottom: 1.15rem; }
.field label { display: block; margin-bottom: .45rem; font-size: .78rem; font-weight: 850; }
.field input, .field textarea { width: 100%; padding: .9rem 1rem; color: var(--navy); background: #f7f7fb; border: 1px solid var(--line); border-radius: .7rem; font: inherit; }
.field textarea { min-height: 160px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 2px solid var(--violet); outline-offset: 2px; }
.privacy-note { margin: 1.4rem 0; padding-left: 1rem; color: var(--ink-soft); border-left: 3px solid var(--violet); font-size: .75rem; }
.form-status { min-height: 1.35rem; margin-top: .9rem; color: var(--navy); font-size: .78rem; font-weight: 750; opacity: 0; transition: opacity .2s ease; }
.form-status.visible { opacity: 1; }
.form-status.success { color: #27613b; }
.form-status.error { color: #a1283d; }
.form-submit:disabled { cursor: wait; opacity: .65; }
.form-honeypot { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }
.article-card[hidden] { display: none; }
.privacy-note strong { color: var(--navy); }
.privacy-check { margin: 1rem 0 1.4rem; display: flex; gap: .7rem; align-items: flex-start; color: var(--ink-soft); font-size: .8rem; }
.privacy-check input { margin-top: .22rem; }
.form-submit { width: 100%; color: white; background: var(--navy); border: 0; cursor: pointer; }

.legal-wrap { position: relative; isolation: isolate; padding: clamp(4rem, 7vw, 7rem) max(6vw, 1.25rem); overflow: hidden; background: white; }
.legal-wrap::before { content: ""; position: absolute; z-index: 0; top: 1.5rem; right: -10%; width: clamp(360px, 45vw, 680px); aspect-ratio: 1; background: url('assets/isotipo-lila.webp') center / contain no-repeat; opacity: .075; transform: rotate(10deg); pointer-events: none; }
.legal-document { position: relative; z-index: 1; max-width: 920px; margin: 0 auto; }
.legal-document h1 { margin-bottom: 3rem; font-size: clamp(2.8rem, 6vw, 6rem); line-height: .95; letter-spacing: -.055em; }
.legal-document h2 { margin: 2.5rem 0 .8rem; padding-top: 1.2rem; border-top: 1px solid var(--line); font-size: 1.2rem; letter-spacing: .04em; text-transform: uppercase; }
.legal-document p, .legal-document li { color: var(--ink-soft); }
.legal-document a { color: var(--violet); text-decoration: underline; }

/* Article prototype */
.post-hero { position: relative; isolation: isolate; padding: clamp(4.5rem, 8vw, 8rem) max(6vw, 1.25rem) clamp(5.5rem, 10vw, 9rem); overflow: hidden; color: white; background: var(--navy-2); }
.post-hero::after { content: ""; position: absolute; z-index: -1; inset: auto 0 0; height: 8px; background: var(--violet); }
.post-hero-mark { position: absolute; z-index: -1; width: min(54vw, 760px); height: auto; right: -12%; top: -34%; opacity: .12; filter: brightness(0) invert(1); transform: rotate(12deg); }
.post-hero-inner { width: min(100%, 1120px); margin: 0 auto; }
.post-back { display: inline-block; margin-bottom: clamp(2.5rem, 5vw, 4.5rem); color: rgba(255,255,255,.7); font-size: .82rem; font-weight: 800; }
.post-back:hover { color: var(--violet-bright); }
.post-category { width: fit-content; margin-bottom: 1.4rem; padding: .38rem .65rem .32rem; color: var(--navy); background: var(--violet-bright); border-radius: .18rem; font-size: .7rem; line-height: 1; letter-spacing: .1em; font-weight: 900; text-transform: uppercase; }
.post-hero h1 { max-width: 980px; margin-bottom: 1.8rem; font-size: clamp(3rem, 6vw, 6.5rem); line-height: .93; }
.post-hero h1 em { color: var(--violet-bright); }
.post-deck { max-width: 760px; margin-bottom: 2rem; color: rgba(255,255,255,.73); font-size: clamp(1.08rem, 1.7vw, 1.35rem); }
.post-meta { display: flex; flex-wrap: wrap; gap: .75rem 2.2rem; color: rgba(255,255,255,.52); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.post-shell { padding: 0 max(6vw, 1.25rem) clamp(5rem, 9vw, 9rem); background: white; }
.post-cover { position: relative; z-index: 2; width: min(100%, 1240px); height: clamp(300px, 49vw, 620px); margin: clamp(-4.5rem, -6vw, -2.5rem) auto clamp(4rem, 7vw, 7rem); overflow: hidden; border-radius: 9rem 1.4rem 1.4rem 1.4rem; box-shadow: 0 2rem 5rem rgba(32,26,77,.16); }
.post-cover img { width: 100%; height: 100%; object-fit: cover; }
.post-layout { width: min(100%, 1120px); margin: 0 auto; display: grid; grid-template-columns: 210px minmax(0, 760px); justify-content: space-between; gap: clamp(3rem, 7vw, 8rem); }
.post-aside { position: sticky; top: 155px; height: fit-content; padding-top: .4rem; }
.post-aside > span { display: block; margin-bottom: 1.2rem; color: var(--violet); font-size: .68rem; letter-spacing: .15em; font-weight: 900; text-transform: uppercase; }
.post-aside nav { display: flex; flex-direction: column; border-top: 1px solid var(--line); }
.post-aside a { padding: .8rem 0; color: var(--ink-soft); border-bottom: 1px solid var(--line); font-size: .82rem; font-weight: 700; transition: color .2s ease, padding .2s ease; }
.post-aside a:hover { color: var(--navy); padding-left: .35rem; }
.post-content { min-width: 0; color: #49495f; font-size: 1.05rem; line-height: 1.75; }
.post-content > section { padding: clamp(2.5rem, 5vw, 4.5rem) 0; border-top: 1px solid var(--line); }
.post-content h2 { margin-bottom: 1.35rem; color: var(--navy); font-size: clamp(2rem, 3.7vw, 3.5rem); line-height: 1.02; letter-spacing: -.045em; }
.post-content p { margin-bottom: 1.25rem; }
.post-intro { margin-bottom: clamp(3rem, 6vw, 5rem); font-size: clamp(1.2rem, 2vw, 1.5rem); line-height: 1.58; color: var(--navy); }
.post-intro p:first-child::first-letter { float: left; margin: .08em .14em 0 0; color: var(--violet); font-size: 4.4rem; line-height: .75; font-weight: 900; }
.post-section-number { margin: 0 0 .8rem !important; color: var(--violet); font-size: .72rem; line-height: 1; letter-spacing: .16em; font-weight: 900; }
.step-grid { margin: 2.2rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; list-style: none; background: rgba(32,26,77,.14); border: 1px solid rgba(32,26,77,.14); }
.step-grid li { min-height: 220px; padding: 1.7rem; background: #f3f3fc; }
.step-grid span { display: block; margin-bottom: 2.1rem; color: var(--violet); font-size: .7rem; font-weight: 900; }
.step-grid strong { display: block; margin-bottom: .6rem; color: var(--navy); font-size: 1.35rem; }
.step-grid p { margin: 0; font-size: .93rem; line-height: 1.55; }
.post-example { margin-top: 2rem; padding: clamp(1.7rem, 4vw, 3rem); display: grid; grid-template-columns: auto 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: center; color: white; background: var(--navy); border-radius: 1.1rem; }
.post-example > span { color: var(--violet-bright); font-size: clamp(2.8rem, 6vw, 5.2rem); line-height: .9; letter-spacing: -.06em; font-weight: 900; white-space: nowrap; }
.post-example p { margin: 0; color: rgba(255,255,255,.78); }
.post-note { margin-top: 1.2rem; padding-left: 1.25rem; border-left: 3px solid var(--violet); color: var(--ink-soft); font-size: .9rem; }
.post-checks, .post-warnings { margin: 2rem 0 0; padding: 0; list-style: none; border-top: 1px solid var(--line); }
.post-checks li, .post-warnings li { position: relative; padding: 1rem .5rem 1rem 2.6rem; border-bottom: 1px solid var(--line); }
.post-checks li::before, .post-warnings li::before { position: absolute; left: .2rem; top: 1rem; display: grid; width: 1.55rem; height: 1.55rem; place-items: center; color: white; background: var(--violet); border-radius: 50%; font-size: .7rem; font-weight: 900; }
.post-checks li::before { content: "✓"; }
.post-warnings li::before { content: "!"; color: var(--navy); background: #ddddfa; }
.post-brand-callout { position: relative; isolation: isolate; margin: clamp(3.5rem, 7vw, 6rem) 0; padding: clamp(2rem, 5vw, 4rem); overflow: hidden; color: white; background: var(--navy-2); border-radius: 1.4rem; }
.post-brand-callout::after { content: ""; position: absolute; z-index: -1; width: 340px; aspect-ratio: 1; right: -15%; bottom: -55%; background: url('assets/isotipo-lila.webp') center / contain no-repeat; opacity: .22; }
.post-brand-callout h2 { color: white; }
.post-brand-callout h2 span { color: var(--violet-bright); }
.post-brand-callout > p:last-child { max-width: 620px; margin-bottom: 0; color: rgba(255,255,255,.72); }
.post-cta { margin: clamp(3.5rem, 7vw, 6rem) 0; padding: clamp(2rem, 5vw, 4rem); display: grid; grid-template-columns: 1fr .8fr; gap: 1.5rem 3rem; align-items: end; background: #eeeeff; border-radius: 1.4rem; }
.post-cta h2 { margin-bottom: 0; font-size: clamp(2rem, 3.5vw, 3.25rem); }
.post-cta > p { margin: 0; color: var(--ink-soft); }
.post-cta .button { width: fit-content; }
.post-sources { font-size: .88rem; }
.post-sources h2 { font-size: 1.7rem; }
.post-sources a { font-weight: 800; text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: .2rem; }
.post-related { padding: clamp(4.5rem, 8vw, 8rem) max(6vw, 1.25rem); color: white; background: var(--violet); }
.post-related > p, .post-related > h2, .post-related > div { width: min(100%, 1120px); margin-inline: auto; }
.post-related .eyebrow { color: var(--navy); }
.post-related h2 { margin-bottom: 2.5rem; font-size: clamp(2.7rem, 5vw, 5.5rem); line-height: .95; letter-spacing: -.055em; }
.post-related > div { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid rgba(32,26,77,.25); border-bottom: 1px solid rgba(32,26,77,.25); }
.post-related a { min-height: 150px; padding: 1.6rem; display: flex; flex-direction: column; justify-content: space-between; border-right: 1px solid rgba(32,26,77,.25); font-size: 1.1rem; font-weight: 850; }
.post-related a:last-child { border-right: 0; }
.post-related a span { align-self: flex-end; }
.post-related a:hover { color: white; background: var(--violet); }

/* Cleaner article treatment */
.post-hero { padding: clamp(3.25rem, 5.5vw, 5rem) max(6vw, 1.25rem) clamp(3.4rem, 5.5vw, 5rem); color: var(--navy); background: white; border-bottom: 1px solid var(--line); }
.post-hero::after { height: 5px; }
.post-hero-mark { width: min(42vw, 600px); right: -13%; top: -38%; opacity: .055; filter: none; }
.post-hero-inner { width: min(100%, 1060px); }
.post-back { margin-bottom: clamp(2.2rem, 4vw, 3.5rem); color: var(--ink-soft); }
.post-back:hover { color: var(--violet); }
.post-category { color: white; background: var(--violet); }
.post-hero h1 { max-width: 1000px; margin-bottom: 1.35rem; color: var(--navy); font-size: clamp(2.45rem, 4.4vw, 4.6rem); line-height: .98; }
.post-hero h1 em { color: var(--violet); }
.post-deck { max-width: 820px; color: var(--ink-soft); font-size: clamp(1.03rem, 1.25vw, 1.18rem); line-height: 1.6; }
.post-meta { color: #858597; }
.post-shell { padding-top: 0; }
.post-cover { width: min(100%, 1180px); height: clamp(280px, 40vw, 540px); margin: clamp(2.5rem, 5vw, 4rem) auto clamp(4rem, 7vw, 6.5rem); border-radius: 1.15rem; box-shadow: 0 1rem 2.8rem rgba(32,26,77,.1); }
.post-layout { width: min(100%, 920px); display: block; }
.post-aside { display: none; }
.post-content { font-size: clamp(1.04rem, 1vw, 1.1rem); line-height: 1.78; }
.post-content p, .post-content li { font-size: inherit; line-height: inherit; }
.post-content > section { padding: clamp(2.3rem, 3.6vw, 3.7rem) 0; }
.post-content h2 { margin-bottom: 1.2rem; font-size: clamp(1.9rem, 2.4vw, 2.5rem); line-height: 1.1; letter-spacing: -.035em; }
.post-content h3 { margin: 2rem 0 .8rem; color: var(--navy); font-size: clamp(1.25rem, 1.7vw, 1.5rem); line-height: 1.22; letter-spacing: -.02em; }
.post-intro { margin-bottom: clamp(2.5rem, 5vw, 4rem); padding-left: 1.5rem; color: #3f4055; border-left: 4px solid var(--violet); font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.65; }
.post-intro p:first-child::first-letter { float: none; margin: 0; color: inherit; font-size: inherit; line-height: inherit; font-weight: inherit; }
.post-section-number { display: none; }
.step-grid { grid-template-columns: 1fr; gap: 0; margin-top: 1.6rem; background: transparent; border: 0; border-top: 1px solid var(--line); }
.step-grid li { min-height: 0; padding: 1.1rem 0; display: grid; grid-template-columns: 46px 110px minmax(0, 1fr); gap: 1rem; align-items: start; background: transparent; border-bottom: 1px solid var(--line); }
.step-grid span, .step-grid strong, .step-grid p { margin: 0; }
.step-grid span { color: var(--violet); line-height: 1.6; }
.step-grid strong { font-size: 1rem; line-height: 1.6; }
.step-grid p { font-size: .98rem; line-height: 1.6; }
.post-example { margin-top: 1.5rem; padding: clamp(1.5rem, 3vw, 2.2rem); color: var(--navy); background: #f0f0fc; border: 1px solid rgba(146,146,245,.22); border-radius: .85rem; }
.post-example > span { color: var(--violet); font-size: clamp(2.4rem, 4vw, 3.6rem); }
.post-example p { color: #55566d; }
.post-checks li::before, .post-warnings li::before { color: var(--violet); background: transparent; border: 1px solid var(--violet); }
.post-warnings li::before { color: var(--navy); border-color: #c5c5db; }
.post-brand-callout { margin: clamp(2.8rem, 5vw, 4.5rem) 0; padding: clamp(2rem, 4vw, 3rem); color: var(--navy); background: #f7f7fb; border: 1px solid var(--line); border-left: 5px solid var(--violet); border-radius: .8rem; }
.post-brand-callout::after { display: none; }
.post-brand-callout h2 { color: var(--navy); font-size: clamp(1.9rem, 2.4vw, 2.5rem); }
.post-brand-callout h2 span { color: var(--violet); }
.post-brand-callout > p:last-child { color: var(--ink-soft); }
.post-cta { margin: clamp(2.8rem, 5vw, 4.5rem) 0; padding: clamp(2rem, 4vw, 3rem); display: block; background: #eeeeff; border-radius: .8rem; }
.post-cta h2 { margin-bottom: 1.2rem; font-size: clamp(1.9rem, 2.4vw, 2.5rem); }
.post-cta > p { margin-bottom: 1.6rem; }
.post-related { padding: clamp(4rem, 7vw, 6rem) max(6vw, 1.25rem); color: var(--navy); background: #f2f2fb; }
.post-related .eyebrow { color: var(--violet); }
.post-related h2 { margin-bottom: 2rem; font-size: clamp(2.5rem, 4.5vw, 4.5rem); }
.post-related > div { gap: clamp(1rem, 2vw, 1.5rem); border: 0; }
.post-related .post-related-card { min-height: 0; padding: 0; display: flex; overflow: hidden; color: var(--navy); background: white; border: 1px solid rgba(32,26,77,.1); border-radius: 1.15rem; box-shadow: 0 .6rem 1.8rem rgba(32,26,77,.07); font-size: 1rem; transition: transform .3s ease, background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease; }
.post-related .post-related-card:last-child { border-right: 1px solid rgba(32,26,77,.1); }
.post-related .post-related-card > .post-related-image, .post-related .post-related-card > .post-related-copy { align-self: stretch; }
.post-related-image { aspect-ratio: 16 / 9; display: block; overflow: hidden; background: #e5e5f5; }
.post-related-image img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .45s ease; }
.post-related-copy { min-height: 190px; padding: 1.35rem 1.4rem 1.5rem; display: flex; flex: 1; flex-direction: column; align-items: flex-start; }
.post-related-category { margin-bottom: .75rem; color: var(--violet); font-size: .68rem; line-height: 1.3; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; transition: color .3s ease; }
.post-related h3 { margin: 0 0 1.5rem; font-size: clamp(1.1rem, 1.5vw, 1.35rem); line-height: 1.22; letter-spacing: -.025em; }
.post-related-link { margin-top: auto; color: var(--violet); font-size: .78rem; font-weight: 850; letter-spacing: .04em; transition: color .3s ease; }
.post-related .post-related-category, .post-related .post-related-link { align-self: flex-start; }
.post-related .post-related-link span { align-self: auto; }
.post-related .post-related-card:hover { color: white; background: var(--violet); border-color: var(--violet); box-shadow: 0 1rem 2.6rem rgba(32,26,77,.16); transform: translateY(-6px); }
.post-related .post-related-card:hover .post-related-image img { transform: scale(1.035); }
.post-related .post-related-card:hover .post-related-category, .post-related .post-related-card:hover .post-related-link { color: white; }
.post-content-generic > h2 { padding-top: clamp(2.2rem, 4vw, 3.6rem); border-top: 1px solid var(--line); }
.post-content-generic > h3 { margin: 2rem 0 .8rem; }
.post-content-generic > p:first-child { margin-bottom: 1.25rem; padding-left: 1.5rem; color: #3f4055; border-left: 4px solid var(--violet); font-size: clamp(1.12rem, 1.7vw, 1.3rem); line-height: 1.65; }
.post-content-generic ul, .post-content-generic ol { margin: 1.5rem 0 2rem; padding-left: 1.35rem; }
.post-content-generic li { margin-bottom: .75rem; padding-left: .35rem; }
.post-content-generic a { font-weight: 800; text-decoration: underline; text-decoration-color: var(--violet); text-underline-offset: .2rem; }
.post-inline-figure { margin: 2rem 0 2.6rem; }
.post-inline-figure img { width: 100%; height: auto; display: block; border: 1px solid var(--line); border-radius: .8rem; box-shadow: 0 .65rem 1.8rem rgba(32,26,77,.08); }
.post-inline-figure.is-narrow img { width: min(100%, 620px); margin-inline: auto; }
.post-inline-figure figcaption { margin-top: .75rem; color: #747487; font-size: .82rem; line-height: 1.5; }
.post-table-wrap { margin: 1.8rem 0 2.5rem; overflow-x: auto; border: 1px solid var(--line); border-radius: .8rem; }
.post-data-table { width: 100%; border-collapse: collapse; color: #49495f; font-size: .93rem; }
.post-data-table caption { padding: 1.1rem 1.2rem; color: var(--navy); background: #f3f3fc; font-weight: 850; text-align: left; }
.post-data-table th, .post-data-table td { padding: .82rem 1rem; border-bottom: 1px solid var(--line); text-align: left; white-space: nowrap; }
.post-data-table th { color: var(--navy); background: #fafafe; font-size: .78rem; letter-spacing: .04em; text-transform: uppercase; }
.post-data-table tbody tr:last-child td { border-bottom: 0; }
.post-data-table tbody tr:last-child { color: var(--navy); background: #f3f3fc; font-weight: 850; }
.post-formula { margin: 1.5rem 0 2rem; padding: 1.25rem 1.4rem; color: var(--navy); background: #eeeeff; border-left: 4px solid var(--violet); font-weight: 800; }

@media (max-width: 900px) {
  .page-hero { min-height: 0; grid-template-columns: 1fr; }
  .area-grid, .article-grid, .method-grid { grid-template-columns: 1fr; }
  .wide-intro, .about-feature, .contact-layout { grid-template-columns: 1fr; }
  .wide-intro h2 { position: static; }
  .process-grid { grid-template-columns: 1fr; }
  .process-card, .process-card:nth-child(even) { min-height: 270px; grid-template-columns: minmax(220px, .42fr) minmax(0, .58fr); gap: 1.5rem; }
  .area-card { min-height: 0; }
  .area-card-image { height: 320px; }
  .post-layout { grid-template-columns: 1fr; }
  .post-aside { position: static; }
  .post-aside nav { display: grid; grid-template-columns: repeat(3, 1fr); }
  .post-aside a { padding-right: 1rem; }
}

@media (max-width: 560px) {
  .page-hero h1 { font-size: clamp(3rem, 14vw, 4.6rem); }
  .page-hero::before { width: 115vw; right: -58%; opacity: .09; }
  .page-hero::after { width: 70vw; left: -35%; bottom: -28%; }
  .inner-section { padding-block: 4.3rem; }
  .area-card-image { height: 230px; }
  .process-card, .process-card:nth-child(even) { min-height: 0; grid-template-columns: 1fr; gap: 0; }
  .process-illustration { min-height: 210px; }
  .process-copy { padding: 1.5rem .7rem 1rem; }
  .metric-row { grid-template-columns: 1fr; }
  .blog-tools { align-items: stretch; flex-direction: column; }
  .filter-row { justify-content: center; }
  .blog-search { width: 100%; }
  .post-hero { padding-top: 2.8rem; }
  .post-hero h1 { font-size: clamp(2.35rem, 11vw, 3.2rem); }
  .post-cover { height: 260px; border-radius: 5rem 1rem 1rem 1rem; }
  .post-aside nav, .step-grid, .post-cta, .post-related > div { grid-template-columns: 1fr; }
  .post-example { grid-template-columns: 1fr; }
  .step-grid li { grid-template-columns: 38px 1fr; gap: .8rem; }
  .step-grid li p { grid-column: 2; }
  .post-related .post-related-card { border-right: 1px solid rgba(32,26,77,.1); border-bottom: 1px solid rgba(32,26,77,.1); }
  .post-related-copy { min-height: 0; }
}
