/* Bloque 3 de 4 de la hoja de la web de DSEO (ver site-base.css para el reparto
   completo). Lleva el resto de services.css +
   services.compartido.css + portfolio.css + portfolio.compartido.css + about.css + las
   primeras líneas de insights.css. */
@media(min-width:768px){
 .services-open{padding-block:76px 60px}
 .services-page h1{font-size:clamp(54px,5.6vw,76px);max-width:15ch}
 .services-lead p{font-size:17px}
 .services-index{margin-top:46px}
 .services-index ol{grid-template-columns:1fr 1fr;gap:0 44px}
 .services-index a{font-size:19px;min-height:60px}
 .service-chapter{padding-block:76px}
 .chapter-inner{grid-template-columns:1.08fr .92fr;gap:56px;align-items:center}
 .chapter-seo .chapter-inner,.chapter-automation .chapter-inner{grid-template-columns:.92fr 1.08fr}
 .chapter-seo .chapter-copy,.chapter-automation .chapter-copy{order:2}
 .chapter-notes{grid-template-columns:1fr 1fr;gap:26px}
 .services-page h2{font-size:clamp(38px,3.8vw,50px)}
 .diagram-web{height:340px}.diagram-seo{height:330px}.diagram-strategy{height:300px}.diagram-automation{height:270px}
 .services-close{padding-block:80px 110px;gap:20px}
}
@media(min-width:1100px){
 .chapter-inner{gap:80px}
 .services-page h1{font-size:clamp(68px,5.6vw,88px)}
 .diagram-web{height:380px}.diagram-seo{height:360px}.diagram-strategy{height:330px}.diagram-automation{height:300px}
}
/* The network stays atmosphere: it must never compete with the reading column. */
.services-page .graph-field{opacity:.78}
.services-page::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(100deg,#06070ad9 0%,#06070a8c 34%,transparent 62%)}
.note-includes ul{list-style:none;margin:0;padding:0;display:grid;gap:9px}
.note-includes li{position:relative;padding-left:16px;font-size:15px;line-height:1.6;color:#a4b7d2}
.note-includes li::before{content:'';position:absolute;left:0;top:.62em;width:5px;height:1px;background:#7fb9a0}
@media(min-width:768px){
 .chapter-notes{gap:30px}
 .note-includes li{font-size:15px}
}
/* Breadcrumb sits in the space above the heading, on the dark field. */
.services-open .breadcrumbs{margin-bottom:18px}
.services-open .breadcrumbs ol{color:#8b9fbd;font-size:11px}
.services-open .breadcrumbs a{color:#a8c1ea}
.services-open .breadcrumbs a:hover{color:#fff}
.services-open .breadcrumbs [aria-current]{color:#d6e3f7}
/* The four services in the order they naturally fall into: shown, not explained. */
.services-order{margin-top:40px;padding-top:24px;border-top:1px solid #8ca7d52e}
.order-title{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8b9fbd;margin:0 0 20px;font-weight:650}
.order-track{list-style:none;margin:0;padding:0;display:grid;gap:14px;position:relative}
.order-track li{position:relative;display:grid;grid-template-columns:auto 1fr;align-items:baseline;gap:0 14px;padding-left:2px}
.order-dot{grid-row:1/3;align-self:center;width:9px;height:9px;border-radius:50%;background:#0b111c;border:1px solid #7ba4ff;position:relative}
.order-dot::after{content:'';position:absolute;inset:2px;border-radius:50%;background:#7ba4ff;opacity:.55}
.order-name{font-size:16px;letter-spacing:-.02em;color:#dbe6f7}
.order-verb{grid-column:2;font:500 12px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f95b5}
.services-index a{align-items:flex-start;gap:14px;padding-block:14px;min-height:0}
.index-text{display:grid;gap:3px;min-width:0}
.index-mark{margin-top:9px}
.index-name{font-size:17px;letter-spacing:-.02em;line-height:1.3}
.index-blurb{font-size:13px;line-height:1.5;color:#8ea4c4}
@media(min-width:768px){
 .services-order{margin-top:52px;padding-top:28px}
 .order-track{grid-template-columns:repeat(4,1fr);gap:0 20px}
 .order-track::before{content:'';position:absolute;left:4px;right:4px;top:4px;height:1px;background:linear-gradient(90deg,#7ba4ff66,#7ba4ff2e 70%,transparent)}
 .order-track li{display:block;padding-left:0;padding-top:20px}
 .order-dot{position:absolute;left:0;top:0;grid-row:auto}
 .order-name{display:block;font-size:17px;margin-bottom:5px}
 .order-verb{display:block;font-size:12px}
 .services-index a{min-height:64px;align-items:center}
 .index-mark{margin-top:0}
 .index-name{font-size:19px}
 .index-blurb{font-size:13.5px}
}
@media(min-width:768px) and (prefers-reduced-motion:no-preference){
 .order-dot::after{animation:order-pulse 4.4s ease-in-out infinite}
 .order-track li:nth-child(2) .order-dot::after{animation-delay:.5s}
 .order-track li:nth-child(3) .order-dot::after{animation-delay:1s}
 .order-track li:nth-child(4) .order-dot::after{animation-delay:1.5s}
}
@keyframes order-pulse{0%,100%{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
/* How it gets built: the four phases, and the three layers they produce. */
.chapter-process{margin:28px 0 6px;border-top:1px solid #8ca7d52e;padding-top:22px}
.process-title{color:#9db3d4!important;margin-bottom:16px!important}
.chapter-process ol{list-style:none;margin:0;padding:0;display:grid;gap:16px;counter-reset:phase}
.chapter-process li{position:relative;display:grid;grid-template-columns:auto 1fr;gap:4px 14px;align-items:baseline}
.step-mark{grid-row:1/3;align-self:start;margin-top:7px;width:7px;height:7px;border-radius:50%;background:#7ba4ff;opacity:.85;flex:none}
.step-name{font-size:15px;font-weight:650;letter-spacing:-.01em;color:#dbe6f7}
.step-text{grid-column:2;font-size:15px;line-height:1.7;color:#a0b3cf}
.layer-stack{margin:26px 0 0;display:grid;gap:10px}
.layer-stack svg{width:100%;height:auto;display:block;max-width:420px}
.layer-face{stroke:#7796c9;stroke-width:1;fill:#0d1524b3}
.layer:nth-child(2) .layer-face{stroke:#8fb0e4}
.layer:nth-child(3) .layer-face{stroke:#a9c4f5;fill:#111c30cc}

.layer-grid path{stroke:#6f8dc0;stroke-width:1;opacity:.55}
.layer-blocks path{stroke:#a9c4f5;stroke-width:2.4;opacity:.7;stroke-linecap:round}
.layer-code path{stroke:#9ad9bd;stroke-width:1.6;opacity:.6;stroke-linecap:round}
.layer-lead{stroke:#7796c9;stroke-width:1;opacity:.45}
.layer-label{fill:#93a8c6;font:500 12px ui-monospace,SFMono-Regular,Consolas,monospace;letter-spacing:.02em}
.layer:nth-child(3) .layer-label{fill:#b9cdea}
@media(min-width:768px){
 .chapter-process{margin:32px 0 8px}
 .chapter-process ol{grid-template-columns:1fr 1fr;gap:22px 30px}
 .layer-stack{margin-top:34px}
 .layer-stack svg{max-width:none}
}
@media(prefers-reduced-motion:no-preference){
 .layer{transform-origin:156px 168px;transform-box:view-box;animation:layer-float 6s ease-in-out infinite}
 .layer.n-0{animation-delay:0s}.layer.n-1{animation-delay:.45s}.layer.n-2{animation-delay:.9s}
}
@keyframes layer-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
/* What the build controls, and what it does not. Sits under the limits note. */
.scope-figure{margin:26px 0 0;display:grid;gap:12px;justify-items:center}
.scope-figure svg{width:100%;max-width:280px;height:auto;display:block}
.scope-out{stroke:#6d84a6;stroke-width:1;stroke-dasharray:4 6;opacity:.65}
.scope-in{stroke:#7ba4ff;stroke-width:1;fill:#0c1422;opacity:.9}
.scope-inside{fill:#cddcf3;font:500 12.5px ui-monospace,SFMono-Regular,Consolas,monospace;text-anchor:middle}
.scope-outside{fill:#93a8c6;font:500 11.5px ui-monospace,SFMono-Regular,Consolas,monospace;text-anchor:middle}
.scope-outside.start{text-anchor:start}
.scope-outside.end{text-anchor:end}
.scope-figure figcaption{font-size:13px;line-height:1.55;color:#8ea4c4;max-width:280px;text-align:center}
@media(prefers-reduced-motion:no-preference){.scope-out{animation:scope-turn 40s linear infinite;transform-origin:150px 150px;transform-box:view-box}}
@keyframes scope-turn{to{transform:rotate(360deg)}}
/* What a crawler extracts from a page. The image is the one thing it never sees. */
.parse-figure{margin:26px 0 0}
.parse-figure svg{width:100%;height:auto;display:block}
.parse-page{stroke:#5f7cb4;stroke-width:1;fill:#0b111ccc}
.parse-line{stroke:#8ea4c4;stroke-width:3;stroke-linecap:round;opacity:.42}
.parse-line.strong{stroke:#cddcf3;stroke-width:5;opacity:.9}
.parse-line.head{stroke:#a9c4f5;stroke-width:4;opacity:.8}
.parse-line.link{stroke:#9ad9bd;opacity:.75}
.parse-image{stroke:#55688a;stroke-width:1;fill:#0e1523}
.parse-image-cross{stroke:#55688a;stroke-width:1;opacity:.55}
.parse-key{fill:#c0aded;font:500 13px ui-monospace,SFMono-Regular,Consolas,monospace}
.parse-tie{stroke:#6f8dc0;stroke-width:1;stroke-dasharray:3 4;opacity:.7}
.parse-dot{fill:#7ba4ff}
.parse-note{fill:#8093ae;font:500 11.5px ui-monospace,SFMono-Regular,Consolas,monospace}
/* Publishing is ours; the wait that follows is not. */
.wait-figure{margin:26px 0 0;display:grid;justify-items:center}
.wait-figure svg{width:100%;max-width:300px;height:auto;display:block}
.wait-line{stroke:#5f7cb4;stroke-width:1}
.wait-dot{fill:#0b111c;stroke:#7ba4ff;stroke-width:1.4}

.wait-label{fill:#a4b7d2;font:500 9.5px ui-monospace,SFMono-Regular,Consolas,monospace;text-anchor:middle}
.wait-label.n-0{text-anchor:start}
.wait-label.n-3{text-anchor:end}
.wait-span{stroke:#8a6f52;stroke-width:1;stroke-dasharray:4 5;opacity:.8}
.wait-span-label{fill:#c79a72;font:500 10.5px ui-monospace,SFMono-Regular,Consolas,monospace;text-anchor:middle}
@media(prefers-reduced-motion:no-preference){
 .parse-tie{animation:globe-travel 4s linear infinite}
 .parse-dot{animation:order-pulse 3.2s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
 .parse-row.n-0 .parse-dot{animation-delay:0s}.parse-row.n-1 .parse-dot{animation-delay:.3s}
 .parse-row.n-2 .parse-dot{animation-delay:.6s}.parse-row.n-3 .parse-dot{animation-delay:.9s}
 .wait-dot{animation:order-pulse 3.6s ease-in-out infinite;transform-box:fill-box;transform-origin:center}
}
/* Six decisions in the order each one constrains the next. */
.chain-figure svg{width:100%;height:auto;display:block}
.chain-node rect{stroke:#7796c9;stroke-width:1;fill:#0c1422cc}
.chain-node text{fill:#cddcf3;font:500 14px var(--font-sans);letter-spacing:-.01em}
.chain-node:last-of-type rect{stroke:#a9c4f5;fill:#111d33}
.chain-node:last-of-type text{fill:#fff}
.chain-tie{stroke:#7ba4ff;stroke-width:1.2;opacity:.75}
.chain-loop{stroke:#6d84a6;stroke-width:1;stroke-dasharray:4 5;opacity:.7}
.chain-loop-label{fill:#8ea4c4;font:500 10.5px ui-monospace,SFMono-Regular,Consolas,monospace;text-anchor:middle;writing-mode:vertical-rl}
/* What a strategy hand-off actually looks like. */
.plan-figure{margin:26px 0 0}
.plan-label{font-size:10px!important;letter-spacing:.14em;text-transform:uppercase;color:#8b9fbd!important;margin:0 0 14px!important;font-weight:650}
.plan-pair{display:grid;gap:18px}
.plan-bad,.plan-good{display:flex;align-items:center;gap:14px;font-size:14px;line-height:1.5}
.plan-bad{color:#7e8ea4}
.plan-good{color:#cddcf3}
.plan-stack{display:grid;gap:2px;flex:none;width:34px}
.plan-stack i{display:block;height:3px;border:1px solid #55688a;border-radius:1px;opacity:.7}
.plan-card{flex:none;width:34px;height:23px;border:1px solid #7ba4ff;border-radius:3px;background:#0c1422;position:relative}
.plan-card::after{content:'';position:absolute;left:7px;top:9px;width:18px;height:1.5px;background:#9ad9bd}
@media(min-width:768px){.plan-pair{gap:20px}.plan-bad,.plan-good{font-size:14.5px}}
@media(prefers-reduced-motion:no-preference){
 .chain-tie{animation:order-pulse 3s ease-in-out infinite}
 .chain-node.n-0 .chain-tie{animation-delay:0s}.chain-node.n-1 .chain-tie{animation-delay:.22s}
 .chain-node.n-2 .chain-tie{animation-delay:.44s}.chain-node.n-3 .chain-tie{animation-delay:.66s}
 .chain-node.n-4 .chain-tie{animation-delay:.88s}
 .chain-loop{animation:globe-travel 6s linear infinite}
}
/* Frequency against risk: the two axes that decide whether to automate at all. */
.gate-figure{margin:26px 0 0;display:grid;justify-items:center}
.gate-figure svg{width:100%;max-width:300px;height:auto;display:block}
.gate-quad{stroke:#42536d;stroke-width:1;fill:#0a1019}
.gate-quad.q-do{stroke:#5f9c80;fill:#0c1a16}
.gate-quad.q-never{stroke:#8a6f52;fill:#1a1310}
.gate-zone{fill:#9fb2ce;font:500 9.5px ui-monospace,SFMono-Regular,Consolas,monospace;text-anchor:middle}
.gate-zone.good{fill:#9ad9bd}
.gate-zone.warn{fill:#d8a98a}
.gate-axis{fill:#7e8ea4;font:500 9.5px ui-monospace,SFMono-Regular,Consolas,monospace}
.gate-axis.end{text-anchor:end}
.gate-axis.rot{writing-mode:vertical-rl;text-anchor:middle}
.gate-axis-line{stroke:#42536d;stroke-width:1;opacity:.8}
@media(prefers-reduced-motion:no-preference){.gate-quad.q-do{animation:order-pulse 4s ease-in-out infinite}}

/* DOS REGLAS QUE ESTA PAGINA USABA SIN TENERLAS.
 *
 * Antes, todas las paginas descargaban un unico bulto de CSS de 94 KB, asi que Servicios se
 * apoyaba en estas dos reglas de `home-r2.css` sin que nadie lo notara. Al dar a cada pagina su
 * propia hoja quedaron fuera, y lo encontro la comparacion clase por clase entre el build anterior
 * y el nuevo -- no el ojo, que no las habria visto hasta que alguien mirase un diagrama.
 *
 * Se copian aqui en vez de moverlas porque la portada tambien las usa, y en vez de cargar
 * `service-diagrams.css` en la portada porque esa hoja y `home-r2.css` ya declaran las mismas
 * clases de diagrama: cargarlas juntas dejaria el aspecto de la portada a merced del orden de la
 * cascada. Esa duplicacion entre las dos hojas es anterior a este cambio y sigue ahi. */
.diagram-caption{position:absolute;bottom:0;left:0;right:0;font-size:11px;color:#aec3e2;letter-spacing:.04em}
.type-13 .type-code{transition-timing-function:steps(13,end)}

/* Reglas de services.css que tambien casan en otras paginas, copiadas aqui cuando el CSS se
 * separo por pagina para que lo que se ve no cambiara (antes todas las hojas viajaban juntas
 * y estas reglas llegaban a paginas que no son la suya). Se mantienen a mano: el guion que
 * las saco entonces no esta en el repo. */
@keyframes order-pulse{0%,100%{opacity:.4;transform:scale(.85)}50%{opacity:1;transform:scale(1)}}
@keyframes layer-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-5px)}}
@keyframes scope-turn{to{transform:rotate(360deg)}}
.note-title{display:flex;align-items:baseline;gap:9px;font-size:11px!important;letter-spacing:.14em;text-transform:uppercase;font-weight:650;margin-bottom:9px!important}
.note-title .c-p{font:500 13px/1 ui-monospace,SFMono-Regular,Consolas,monospace;opacity:.8}
.diagram-web{height:300px}
.diagram-seo{height:300px}
.diagram-strategy{height:280px}
.diagram-automation{height:250px}
.jump-mark{width:6px;height:6px;border-radius:50%;background:#7ba4ff;flex:none;box-shadow:0 0 0 4px #7ba4ff1f;transition:transform .2s}
@media(min-width:768px){
 .services-open{padding-block:76px 60px}
 .services-page h1{font-size:clamp(54px,5.6vw,76px);max-width:15ch}
 .services-lead p{font-size:17px}
 .services-index{margin-top:46px}
 .services-index ol{grid-template-columns:1fr 1fr;gap:0 44px}
 .services-index a{font-size:19px;min-height:60px}
 .service-chapter{padding-block:76px}
 .chapter-inner{grid-template-columns:1.08fr .92fr;gap:56px;align-items:center}
 .chapter-seo .chapter-inner,.chapter-automation .chapter-inner{grid-template-columns:.92fr 1.08fr}
 .chapter-seo .chapter-copy,.chapter-automation .chapter-copy{order:2}
 .chapter-notes{grid-template-columns:1fr 1fr;gap:26px}
 .services-page h2{font-size:clamp(38px,3.8vw,50px)}
 .diagram-web{height:340px}.diagram-seo{height:330px}.diagram-strategy{height:300px}.diagram-automation{height:270px}
 .services-close{padding-block:80px 110px;gap:20px}
}
@media(min-width:1100px){
 .chapter-inner{gap:80px}
 .services-page h1{font-size:clamp(68px,5.6vw,88px)}
 .diagram-web{height:380px}.diagram-seo{height:360px}.diagram-strategy{height:330px}.diagram-automation{height:300px}
}
.diagram-caption{position:absolute;bottom:0;left:0;right:0;font-size:11px;color:#aec3e2;letter-spacing:.04em}
.type-13 .type-code{transition-timing-function:steps(13,end)}

/* Portfolio. Same graphite field as the rest; each project gets a full-width shot,
   its own long-form reasoning and a technical sheet built from measured facts. */
.portfolio-page{position:relative;background:#06070a;color:#eef3fb;isolation:isolate}
.portfolio-page .graph-field-wrap{position:absolute;inset:0;z-index:0;pointer-events:none}
.portfolio-page .graph-field{position:sticky;top:0;display:block;width:100%;height:100svh;opacity:.72}
.portfolio-page::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(100deg,#06070ad9 0%,#06070a8c 34%,transparent 62%)}
.portfolio-page>section{position:relative;z-index:1}

.pf-open{padding-block:56px 44px}
.pf-open .breadcrumbs{margin-bottom:18px}
.pf-open .breadcrumbs ol{color:#8b9fbd;font-size:11px}
.pf-open .breadcrumbs a{color:#a8c1ea}
.pf-open .eyebrow{color:#94a9c9;margin:0 0 18px}
.portfolio-page h1{font-size:clamp(38px,9.6vw,54px);line-height:1.04;letter-spacing:-.045em;font-weight:600;margin:0 0 26px;max-width:15ch;text-wrap:balance}
.portfolio-page h1 em{display:block;font-family:var(--font-serif);font-style:italic;font-weight:400;letter-spacing:-.018em;background:linear-gradient(104deg,#fff 6%,#d4e3ff 36%,#93b4f6 70%,#7593dc 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;line-height:1.14;padding-bottom:.1em}
.pf-lead{display:grid;gap:14px;max-width:60ch}
.pf-lead p{font-size:16px;line-height:1.75;color:#a7b8d3;margin:0}

.pf-stack{display:grid;gap:22px;margin-top:36px;padding-top:24px;border-top:1px solid #8ca7d52e}
.stack-title{font:500 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace;margin:0 0 12px;letter-spacing:.04em}
.stack-out .stack-title{color:#8b7a6a}
.stack-in .stack-title{color:#7fb9a0}
.stack-col ul{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:8px}
.stack-col li{font:500 12.5px ui-monospace,SFMono-Regular,Consolas,monospace;padding:7px 12px;border-radius:999px;border:1px solid #42536d;color:#8093ae}
.stack-out li{text-decoration:line-through;text-decoration-color:#8a6f5299;opacity:.8}
.stack-in li{border-color:#4d7f68;color:#b7e3d0;background:#0c1a1633}

.pf-project{padding-block:52px;border-top:1px solid #8ca7d51f;scroll-margin-top:96px}
.pf-project>.wrap{display:grid;gap:30px}
.pf-shot{position:relative;min-width:0}
.pf-frame{border-radius:12px;overflow:hidden;border:1px solid #2f4a75;background:#0b111c;box-shadow:0 30px 70px #00000085}
.pf-bar{height:26px;display:flex;align-items:center;gap:5px;padding:0 12px;background:#14203a;color:#c1d1e9}
.pf-bar i{width:5px;height:5px;border-radius:50%;background:#8fa4c2}
.pf-bar>span{font:500 9px ui-monospace,SFMono-Regular,Consolas,monospace;margin:auto;letter-spacing:.03em}
.pf-frame img{display:block;width:100%;height:auto}
.pf-phone{position:absolute;right:-4px;bottom:-16px;width:21%;max-width:132px;border:3px solid #22304a;border-radius:14px;overflow:hidden;box-shadow:0 18px 36px #00000094;background:#0b111c}
.pf-phone img{display:block;width:100%;height:auto}
.pf-console{border-radius:12px;overflow:hidden;border:1px solid #2f4a75;background:#0a0f19;box-shadow:0 30px 70px #00000085}
.pf-console-body{padding:20px 18px;display:grid;gap:11px;font:500 13px/1.5 ui-monospace,SFMono-Regular,Consolas,monospace}
.pf-console-body p{margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.c-var{color:#8fb6e8}.c-num{color:#e0b268}.c-key{color:#c49aff}.c-cm{color:#68798f}

.pf-copy{min-width:0}
.pf-copy .eyebrow{color:#9db3d4;margin:0 0 14px}
.portfolio-page h2{font-size:clamp(30px,7.4vw,40px);line-height:1.08;letter-spacing:-.04em;font-weight:600;margin:0 0 18px;max-width:18ch}
.pf-text{font-size:16px;line-height:1.78;color:#adbed6;margin:0 0 14px;max-width:62ch}
.portfolio-page .pf-visit{color:#a8c1ea;font-size:14px;margin-top:4px}

.pf-detail{display:grid;gap:26px;padding-top:24px;border-top:1px solid #8ca7d52e}
.pf-note .note-title{display:flex;align-items:baseline;gap:9px;font-size:11px;letter-spacing:.14em;text-transform:uppercase;font-weight:650;margin:0 0 14px;color:#9db3d4}
.note-spec .note-title{color:#93d6b6}
.note-why .note-title{color:#a9b9d6}
.pf-note .note-title .c-p{font:500 13px/1 ui-monospace,SFMono-Regular,Consolas,monospace;opacity:.75}
.pf-note dl{margin:0;display:grid;gap:13px}
.pf-note dt{font:500 12.5px ui-monospace,SFMono-Regular,Consolas,monospace;color:#8fb6e8;margin-bottom:3px}
.pf-note dd{margin:0;font-size:14.5px;line-height:1.68;color:#a0b3cf}
.pf-note p{font-size:15px;line-height:1.75;color:#a0b3cf;margin:0 0 12px}

.pf-close{padding-block:54px 76px;border-top:1px solid #8ca7d52e}
.pf-close-panel{display:grid;gap:22px;border:1px solid #8ca7d533;border-radius:22px;padding:30px 24px;background:linear-gradient(150deg,#0d1727c4,#080c15b8);box-shadow:0 30px 70px #00000059,inset 0 1px 0 #ffffff0d}
.pf-close-panel>div{display:grid;justify-items:start;gap:14px}
.pf-close-panel .closing-prompt{width:auto;margin:0;font:500 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f95b5}
.pf-close-panel .closing-prompt .code-obj{color:#8fb6e8}
.pf-close-panel .closing-prompt .code-fn{color:#c0aded}
.pf-close-panel h2{margin:0;max-width:14ch}
.pf-close-panel p{font-size:16px;line-height:1.75;color:#a7b8d3;margin:0;max-width:52ch}
.portfolio-page .pf-close-panel .text-link{color:#a8c1ea;font-size:14px}

@media(min-width:768px){
 .pf-open{padding-block:76px 58px}
 .portfolio-page h1{font-size:clamp(54px,5.6vw,76px);max-width:14ch}
 .pf-lead p{font-size:17px}
 .pf-stack{grid-template-columns:1fr 1fr;gap:44px;margin-top:48px}
 .pf-project{padding-block:80px}
 .pf-project>.wrap{grid-template-columns:1.12fr .88fr;gap:44px 54px;align-items:start}
 .pf-shot{grid-column:1/-1}
 .pf-phone{right:2%;bottom:-24px;width:17%}
 .portfolio-page h2{font-size:clamp(38px,3.8vw,50px)}
 .pf-detail{grid-column:2;padding-top:0;border-top:0;border-left:1px solid #8ca7d52e;padding-left:40px;gap:32px}
 .pf-copy{grid-column:1}
 .pf-close{padding-block:80px 106px}
 .pf-close-panel{grid-template-columns:1.1fr auto;align-items:end;gap:0 54px;padding:44px 46px;border-radius:28px}
 .pf-console-body{padding:26px 24px;font-size:14px;gap:13px}
}
@media(min-width:1100px){
 .pf-project>.wrap{gap:50px 72px}
 .portfolio-page h1{font-size:clamp(68px,5.6vw,88px)}
 .pf-detail{padding-left:56px}
}

/* Reglas de portfolio.css que tambien casan en otras paginas, copiadas aqui cuando el CSS se
 * separo por pagina para que lo que se ve no cambiara (antes todas las hojas viajaban juntas
 * y estas reglas llegaban a paginas que no son la suya). Se mantienen a mano: el guion que
 * las saco entonces no esta en el repo. */
.c-var{color:#8fb6e8}
.c-num{color:#e0b268}
.c-cm{color:#68798f}

/* About. Long-form reading with a sticky index, on the same graphite field. */
.about-page{position:relative;background:#06070a;color:#eef3fb;isolation:isolate}
.about-page .graph-field-wrap{position:absolute;inset:0;z-index:0;pointer-events:none}
.about-page .graph-field{position:sticky;top:0;display:block;width:100%;height:100svh;opacity:.72}
.about-page::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(100deg,#06070ad9 0%,#06070a8c 34%,transparent 62%)}
.about-page>section,.about-page>.ab-body{position:relative;z-index:1}

.ab-open{padding-block:56px 44px}
.ab-open .breadcrumbs{margin-bottom:18px}
.ab-open .breadcrumbs ol{color:#8b9fbd;font-size:11px}
.ab-open .breadcrumbs a{color:#a8c1ea}
.ab-open .eyebrow{color:#94a9c9;margin:0 0 18px}
.about-page h1{font-size:clamp(38px,9.6vw,54px);line-height:1.04;letter-spacing:-.045em;font-weight:600;margin:0 0 26px;max-width:15ch;text-wrap:balance}
.about-page h1 em,.ab-close-copy h2 em{display:block;font-family:var(--font-serif);font-style:italic;font-weight:400;letter-spacing:-.018em;background:linear-gradient(104deg,#fff 6%,#d4e3ff 36%,#93b4f6 70%,#7593dc 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;line-height:1.14;padding-bottom:.1em}
.ab-lead{display:grid;gap:14px;max-width:58ch}
.ab-lead p{font-size:16px;line-height:1.75;color:#a7b8d3;margin:0}

.ab-tests{list-style:none;margin:34px 0 0;padding:24px 0 0;border-top:1px solid #8ca7d52e;display:grid;gap:14px}
.ab-tests li{display:grid;grid-template-columns:auto 1fr;gap:2px 13px;align-items:baseline}
.test-mark{grid-row:1/3;align-self:center;width:6px;height:6px;border-radius:50%;background:#7ba4ff;box-shadow:0 0 0 4px #7ba4ff1f}
.test-who{font:500 12.5px ui-monospace,SFMono-Regular,Consolas,monospace;color:#8fb6e8}
.test-what{grid-column:2;font-size:15px;line-height:1.5;color:#a7b8d3}

.ab-body{display:grid;gap:34px;padding-bottom:20px}
.ab-index{border-top:1px solid #8ca7d52e;padding-top:20px}
.ab-index-title{font:500 11px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f95b5;margin:0 0 6px}
.ab-index-title .c-p{color:#7d92ae}
.ab-index ol{list-style:none;margin:0;padding:0;display:grid}
.ab-index a{display:flex;align-items:center;min-height:46px;font-size:14.5px;color:#a4b7d2;border-bottom:1px solid #8ca7d51a;transition:color .18s}
.ab-index a:hover{color:#fff}
.ab-sections{display:grid;gap:44px;min-width:0}
.ab-section{scroll-margin-top:96px}
.about-page h2{font-size:clamp(25px,6.2vw,32px);line-height:1.12;letter-spacing:-.035em;font-weight:600;margin:0 0 16px;max-width:22ch}
.ab-section p{font-size:16px;line-height:1.8;color:#a9bad4;margin:0 0 14px;max-width:64ch}
.ab-section strong{color:#e6eefb;font-weight:650}
.about-page .ab-links{margin-top:4px}
.about-page .ab-links .text-link{color:#a8c1ea;font-size:14px}

.ab-close{padding-block:48px 76px}
.ab-close-panel{display:grid;gap:26px;border:1px solid #8ca7d533;border-radius:22px;padding:30px 24px;background:linear-gradient(150deg,#0d1727c4,#080c15b8);box-shadow:0 30px 70px #00000059,inset 0 1px 0 #ffffff0d;position:relative;overflow:hidden}
.ab-close-panel::before{content:'';position:absolute;inset:auto -10% -60% 20%;height:120%;background:radial-gradient(50% 100% at 50% 100%,#2a54b03d,transparent 70%);pointer-events:none}
.ab-close-copy{display:grid;justify-items:start;gap:14px;position:relative}
.ab-close-copy .closing-prompt{width:auto;margin:0;font:500 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f95b5}
.ab-close-copy .closing-prompt .code-obj{color:#8fb6e8}
.ab-close-copy .closing-prompt .code-fn{color:#c0aded}
.ab-close-copy h2{font-size:clamp(29px,7.2vw,38px);margin:0;max-width:11ch}
.ab-close-copy>p{font-size:16px;line-height:1.75;color:#a7b8d3;margin:0;max-width:46ch}
.ab-close-links{position:relative;border-top:1px solid #8ca7d52e;padding-top:20px}
.ab-close-title{font-size:10px;letter-spacing:.16em;text-transform:uppercase;color:#8b9fbd;margin:0 0 4px;font-weight:650}
.ab-close-links ul{list-style:none;margin:0;padding:0;display:grid}
.ab-close-links a{display:grid;grid-template-columns:auto 1fr;gap:2px 13px;align-items:center;min-height:56px;border-bottom:1px solid #8ca7d51f;font-size:15.5px;letter-spacing:-.02em;color:#d3e0f5;transition:color .18s}
.ab-close-links a:hover{color:#fff}
.ab-close-links .jump-mark{grid-row:1/3;align-self:center}
.ab-close-links small{grid-column:2;font-size:12.5px;line-height:1.4;color:#8ea4c4}

@media(min-width:768px){
 .ab-open{padding-block:76px 56px}
 .about-page h1{font-size:clamp(54px,5.6vw,76px);max-width:14ch}
 .ab-lead p{font-size:17px}
 .ab-tests{grid-template-columns:1fr 1fr;gap:20px 44px;margin-top:46px}
 .ab-body{grid-template-columns:.7fr 2.3fr;gap:0 56px;align-items:start;padding-bottom:30px}
 .ab-index{position:sticky;top:112px;border-top:0;padding-top:4px}
 .ab-sections{gap:56px}
 .about-page h2{font-size:clamp(30px,3vw,38px)}
 .ab-close{padding-block:64px 104px}
 .ab-close-panel{grid-template-columns:1.05fr .95fr;gap:0 54px;padding:44px 46px;border-radius:28px;align-items:center}
 .ab-close-links{border-top:0;border-left:1px solid #8ca7d52e;padding:4px 0 4px 44px}
}
@media(min-width:1100px){.ab-body{gap:0 80px}.ab-close-panel{padding:52px 56px;gap:0 70px}}
/* Teaching subsections inside a section. */
.ab-part{margin-top:30px;padding-left:20px;border-left:1px solid #8ca7d52e}
.ab-part h3{font-size:18px;line-height:1.3;letter-spacing:-.025em;font-weight:650;color:#dbe6f7;margin:0 0 12px}
.ab-part p{font-size:15.5px;line-height:1.78;margin-bottom:12px}
.ab-part p:last-child{margin-bottom:0}
@media(min-width:768px){
 .ab-part{margin-top:34px;padding-left:26px}
 .ab-part h3{font-size:20px}
 .ab-part p{font-size:16px}
}

/* Insights index. One lead piece, three secondary, all on the graphite field. */
.insights-page{position:relative;background:#06070a;color:#eef3fb;isolation:isolate}
.insights-page .graph-field-wrap{position:absolute;inset:0;z-index:0;pointer-events:none}
.insights-page .graph-field{position:sticky;top:0;display:block;width:100%;height:100svh;opacity:.72}
.insights-page::before{content:'';position:absolute;inset:0;z-index:0;pointer-events:none;background:linear-gradient(100deg,#06070ad9 0%,#06070a8c 34%,transparent 62%)}
.insights-page>section{position:relative;z-index:1}

.in-open{padding-block:56px 40px}
.in-open .breadcrumbs{margin-bottom:18px}
.in-open .breadcrumbs ol{color:#8b9fbd;font-size:11px}
.in-open .breadcrumbs a{color:#a8c1ea}
.in-open .eyebrow{color:#94a9c9;margin:0 0 18px}
.insights-page h1{font-size:clamp(38px,9.6vw,54px);line-height:1.04;letter-spacing:-.045em;font-weight:600;margin:0 0 26px;max-width:16ch;text-wrap:balance}
.insights-page h1 em,.in-close-copy h2 em{font-family:var(--font-serif);font-style:italic;font-weight:400;letter-spacing:-.018em;background:linear-gradient(104deg,#fff 6%,#d4e3ff 36%,#93b4f6 70%,#7593dc 100%);-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent}
.in-lead{display:grid;gap:14px;max-width:58ch}
.in-lead p{font-size:16px;line-height:1.75;color:#a7b8d3;margin:0}
.in-prompt{font:500 12px/1 ui-monospace,SFMono-Regular,Consolas,monospace;color:#7f95b5;margin:26px 0 0}
.in-prompt .c-p{color:#7d92ae}.in-prompt .code-obj{color:#8fb6e8}.in-prompt .code-fn{color:#c0aded}.in-prompt .c-num{color:#e0b268}

